Sending mail to user list. in plain text format. On Tue, Sep 14, 2010 at 11:10 AM, sumit pandit <[email protected]> wrote: > > Hi Aayush, > > I guess if you wondered how UI is render then following might help you - > > Look at showPortalPage.ftl's code, where > portalPageColumns is coming from entity - PortalPageColumn represent number > of columns that need to render under a portalPageId > then portalPagePortlets is coming from entity - PortalPagePortletView where > it contains screen location which need to be render under certain block of > matrix(row,column). You can call your own screen at this point. > > Now if you want to know how this data is prepared please look at following - > > <PortalPage portalPageId="ABC" sequenceNum="0" portalPageName="ABC Portal > Page" description="ABC" ownerUserLoginId="_NA_"/> > <PortalPageColumn portalPageId="ABC" columnSeqId="00001" > columnWidthPercentage="100"/> > > <PortletCategory portletCategoryId="ABC" description="ABC"/> > <PortalPortlet portalPortletId="ABCHeader" > portletName="ABC header" > screenName="ABCHeader" > screenLocation="component://ABC/widget/ABC/CommonScreens.xml" > description="ABC Header Portlet" > screenshot=""/> > <PortletPortletCategory portalPortletId="ABCHeader" > portletCategoryId="ABC"/> > > <PortalPortlet portalPortletId="ABCBody" > portletName="ABC body" > screenName="ABCBody" > screenLocation="component://ABC/widget/ABC/CommonScreens.xml" > description="ABC Body Portlet" > screenshot=""/> > <PortletPortletCategory portalPortletId="ABCBody" > portletCategoryId="ABC"/> > > <PortalPortlet portalPortletId="ABCFooter" > portletName="ABC footer" > screenName="ABCFooter" > screenLocation="component://ABC/widget/ABC/CommonScreens.xml" > description="ABC Footer Portlet" > screenshot=""/> > <PortletPortletCategory portalPortletId="ABCFooter" > portletCategoryId="ABC"/> > > <!-- Associating portlet with portal --> > <PortalPagePortlet portalPageId="ABC" portalPortletId="ABCHeader" > portletSeqId="00001" columnSeqId="00001" sequenceNum="0"/> > <PortalPagePortlet portalPageId="ABC" portalPortletId="ABCBody" > portletSeqId="00002" columnSeqId="00001" sequenceNum="0"/> > <PortalPagePortlet portalPageId="ABC" portalPortletId="ABCFooter" > portletSeqId="00003" columnSeqId="00001" sequenceNum="0"/> > > > Where PortalPage represent a page, and here it contains one column (number of > PortalPageColumn records represent number of columns, if you want more column > add more record). PortalPortlet represent single block of matrix. Here it > contains 3 block. (That means Matrix contain 1 row and 3 column). Now > PortalPagePortlet used to fix position of PortalPortlet, by assigning row and > columns, where portletSeqId is row. > > Now if there is anything else you want to know, please be specific and ask > with little more detail. > > > > -- > Thanks and Regards > Sumit Pandit > > > On Fri, Sep 10, 2010 at 5:26 PM, Aayush <[email protected]> wrote: >> >> The view profile page of Party component shows so many divisions >> and it is generated from showPortalPage.ftl .. >> but i am not able to understand how it works .... >> so can anyone can give some links or idea so that I can understand it .... >> Thanx ... >> -- >> View this message in context: >> http://ofbiz.135035.n4.nabble.com/how-does-showPortalPage-ftl-works-tp2534284p2534284.html >> Sent from the OFBiz - Dev mailing list archive at Nabble.com. > > >
-- Thanks and Regards Sumit Pandit
