Monday, July 6, 2009

JICS : ASCX pages

With web controls, you have an .ascx page that defines how things look, and a .dll file that contains the code for the page. The info below is gleaned from JICS Portlet Creation page

Create a different .ascx file for each view.

There are two required views. Default_View, and Main_View. The ascx files for these must be located in Default_View.ascx and Main_View.ascx.

All the .ascx files for the portlet go in their own directory on the server

Every portlet has it's own directory. That directory goes in [Type]\Portal\Portlets\CUS\[Portlet name]. For more info on this directory, see "Naming Conventions"

All the .dll files for all portlets go in one directory

That directory is \Portal\bin

Question : How does the system know where our portlet's .ascx files are located?

Question : Can we build a portlet that has all the web controls defined in the .dll, and doesn't have an .ascx page?

Question : It looks like there are add-ons, such as LMS and CRM, that have their own portal directories. Do LMS portlet dll's go in LMS\Portal\bin, or is there a master \Portal\bin where all the data goes?

No comments: