[ 
https://issues.apache.org/jira/browse/OFBIZ-1999?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bruno Busco updated OFBIZ-1999:
-------------------------------

    Attachment: portalPageCreateColumnWithPage.patch

David, Hans,
please find attached the portalPageCreateColumnWithPage.patch that now creates 
one column when a new page is created.

David,
I have found and removed a little bug that caused that the list of user's 
available pages (portalPages) was not correctly set. This was why the drop-down 
to select about available user's pages and the "move portlet to page..." was 
not shown.

About the PageColumn services I will soon add the "addColumnToPortalPage" 
service. This is what we really need more than the "createPortalColumn". I 
think it will not be a auto but a simple service because the column needs to be 
linked to the existing Page.

Hans,
about the separation of the header with the page editing commands. I am quite 
OK with you but may be it is better to wait until we introduce the permission 
to edit a Page.
It a user has no Permission to edit a Page but only to view it, than the 
editing controls will not be shown (#if in the portalPage.ftl).
In any case, I think the header will still be usefull to show the page name and 
the drop-down do switch to a different page.

> A portal/portlet implementation
> -------------------------------
>
>                 Key: OFBIZ-1999
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1999
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: ALL COMPONENTS
>            Reporter: Bruno Busco
>            Assignee: David E. Jones
>            Priority: Minor
>         Attachments: portalPage-configure-off.jpg, 
> portalPage-configure-on.jpg, portalPageCreateColumnWithPage.patch, 
> portalPageImages.zip, portalPages.patch, portalPages.patch, 
> portalPages.patch, portalPages.patch, portalPages.patch, portalPages.patch, 
> portalPages.patch, portalPages.patch, portalPages.patch, portalPages.patch, 
> portalPages.patch
>
>
> Hi devs,
> I am trying to set up a portal/portlet model similar to what is implemented 
> into JIRA user interface.
> The Idea is that every component can "register" its selected screens as 
> system portlets using something like:
> <Portlet portletId="WELCOME" name="Welcome" description="Welcome message" 
> screenPath="component://portal/widget/CommonScreens.xml#welcome" />
> In this case the portal component has registered a welcome screen as 
> "WELCOME" portlet.
> The portlets can later be "mounted" into portals with the entity:
>     <PortalPortletAppl portalId="DEFAULT" portletId="WELCOME"      
> columnNum="1" sequenceNum="1" />
>     <PortalPortletAppl portalId="DEFAULT" portletId="LOGIN"        
> columnNum="2" sequenceNum="2" />
>     <PortalPortletAppl portalId="DEFAULT" portletId="PORTLET001"   
> columnNum="1" sequenceNum="2" />
>     <PortalPortletAppl portalId="DEFAULT" portletId="PORTLET002"   
> columnNum="3" sequenceNum="2" />
>     <PortalPortletAppl portalId="DEFAULT" portletId="PORTLET003"   
> columnNum="1" sequenceNum="2" />
> In this case the portlets WELCOME, LOGIN, PORTLET001, PORTLET002 and 
> PORTLET003 are mounted into the DEFAULT portal into the indicated solumns and 
> with the indicated order.
> Every portal is defined by the entity:
> <Portal portalId="DEFAULT" name="Default home portal" description="The 
> default OFBiz portal" owner="admin" />
> And is related to a specific user. So every user can have as many portals he 
> needs and a DEFAULT portal can be defined by the admin.
> In the attached zip file there is a very draft implementation of this that I 
> would like so submit to your attention to share ideas about it and eventually 
> develop together.
> Many thanks for your feedbacks,
> Bruno

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to