ICEfaces
  1. ICEfaces
  2. ICE-2122

Create a new ice:portlet (UINamingContainer) JSF component for wrapping ICEfaces portlets.

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.1
    • Fix Version/s: 1.7DR#1, 1.7
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      Portal

      Description

      In D2D rendering, we frequently climb the DOM tree looking for a parent container to consolidate a number of changes. In JSF, this parent container is typically a sub-class of UINamingContainer. Most of the time, this duty is handled by using <ice:form>. However, particularly in portlet environments, it would be useful to have a NamingContainer component that is simply a container (as opposed to something like a form which has lots of other complex behaviour) that can be used to wrap the entire contents of the portlet. The component could be very generic so that it can be used in many different scenarios (i.e. non-portlet) or it could be specifically for portlets only. Or there could be both: a generic container with a more specific portlet container. Other than taking the basic JSF attributes (like id, styleClass, etc) it doesn't need to have any special behaviour other then inheriting from UINamingContainer.

        Activity

        Deryk Sinotte created issue -
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #14843 Thu Sep 20 16:58:50 MDT 2007 yip.ng ICE-2122
        Initial check-in of new portlet component.
        Files Changed
        Commit graph ADD /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/portlet
        Commit graph ADD /icefaces/trunk/icefaces/component-metadata/src/main/resources/conf/ice_cust_properties/cust-portlet-props.xml
        Commit graph ADD /icefaces/trunk/icefaces/component-metadata/src/main/resources/conf/custom/portlet-component.xml
        Commit graph MODIFY /icefaces/trunk/icefaces/component-metadata/src/main/resources/conf/extended-faces-config.xml
        Commit graph ADD /icefaces/trunk/icefaces/component-metadata/src/main/resources/conf/custom/portlet-renderer.xml
        Commit graph MODIFY /icefaces/trunk/icefaces/component/conf/META-INF/facelet/icefaces.taglib.xml
        Commit graph MODIFY /icefaces/trunk/icefaces/component/conf/META-INF/faces-config.xml
        Commit graph ADD /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/portlet/PortletRenderer.java
        Commit graph ADD /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/portlet/Portlet.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #14847 Fri Sep 21 13:29:36 MDT 2007 yip.ng ICE-2122
        Added style and styleClass attributes.
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/component-metadata/src/main/resources/conf/ice_cust_properties/cust-portlet-props.xml
        Commit graph MODIFY /icefaces/trunk/icefaces/component-metadata/src/main/resources/conf/custom/portlet-renderer.xml
        Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/portlet/PortletRenderer.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #14850 Fri Sep 21 13:57:30 MDT 2007 deryk.sinotte ICE-2122 removed System.out and unused code
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/portlet/PortletRenderer.java
        Hide
        Deryk Sinotte added a comment -

        Assigning to Yip (since he did all the hard work) and then marking as fixed. I've successfully used this in a couple of test portlets now and it appears to have helped with ICE-2016 where navigation works much better now. I changed the logic in the component so that the getClientID now uses the portlet namespace which allowed us to get rid of the NamespacingViewRoot.

        Show
        Deryk Sinotte added a comment - Assigning to Yip (since he did all the hard work) and then marking as fixed. I've successfully used this in a couple of test portlets now and it appears to have helped with ICE-2016 where navigation works much better now. I changed the logic in the component so that the getClientID now uses the portlet namespace which allowed us to get rid of the NamespacingViewRoot.
        Deryk Sinotte made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.7DR#1 [ 10100 ]
        Resolution Fixed [ 1 ]
        Assignee Yip Ng [ yip.ng ]
        Ken Fyten made changes -
        Summary Create a plain container (UINamingContainer) JSF component for wrapping ICEfaces portlets. Create a new ice:portlet (UINamingContainer) JSF component for wrapping ICEfaces portlets.
        Ken Fyten made changes -
        Fix Version/s 1.7 [ 10080 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Yip Ng [ yip.ng ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Deryk Sinotte
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: