Hi Devs I got following notification in reply to - Aayush's - "how does showPortalPage.ftl works" mail. I send it two times at user mailing list but failed, do any one know what's wrong here?
---------- Forwarded message ---------- From: Mail Delivery Subsystem <mailer-dae...@googlemail.com> Date: Tue, Sep 14, 2010 at 11:11 AM Subject: Delivery Status Notification (Failure) To: meetsumit...@gmail.com Delivery to the following recipient failed permanently: u...@ofbiz.apache.org Technical details of permanent failure: Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 552 552 spam score (5.7) exceeded threshold (state 18). ----- Original message ----- MIME-Version: 1.0 Received: by 10.229.212.11 with SMTP id gq11mr4093310qcb.78.1284442858244; Mon, 13 Sep 2010 22:40:58 -0700 (PDT) Received: by 10.229.74.73 with HTTP; Mon, 13 Sep 2010 22:40:58 -0700 (PDT) In-Reply-To: <1284119760032-2534284.p...@n4.nabble.com> References: <1284119760032-2534284.p...@n4.nabble.com> Date: Tue, 14 Sep 2010 11:10:58 +0530 Message-ID: <aanlkti=+thpjuejimbvrjqo9dhgcqrjue7os8eelo...@mail.gmail.com> Subject: Re: how does showPortalPage.ftl works From: sumit pandit <meetsumit...@gmail.com> To: u...@ofbiz.apache.org, aayush...@gmail.com Content-Type: multipart/alternative; boundary=00163630f2eb4ccc45049031a857 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"/> -- Thanks and Regards Sumit Pandit