ICEfaces
  1. ICEfaces
  2. ICE-2918

Deprecate <ice:portlet> in favor of <ice:head> and <ice:body> tags when JSF 2.0 is finalized

    Details

    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Compatibility/Configuration

      Description

      Due to problems like ICE-2016 the <ice:portlet> component was introduced, which works very well and is a good solution.

      However, JSF 2.0 will feature new <h:head> and <h:body> tags, which I would assume will have <ice:head> and <ice:body> equivalents when ICEfaces implements compliance with a finalized spec of JSF 2.0.

      My feature request, is that the <ice:portlet> tag be deprecated, and that the <ice:head> and <ice:body> be used instead.

      If the page was like this:
      <ice:head>
        ...
      </ice:head>
      <ice:body>
        ...
      </ice:body>

      ... then in a portlet environment, the ICEfaces ViewHandler would know to traverse the <ice:head> subtree first and attempt to insert it in the Portal head. Then, it would traverse the <ice:body> and include just the contents of that in the portlet. During navigation, ICEfaces D2D would attempt to replace only the _contents_ of the <ice:body> subtree.

        Activity

        Hide
        Ken Fyten added a comment -

        Neil, is this still relevant?

        Show
        Ken Fyten added a comment - Neil, is this still relevant?
        Hide
        Neil Griffin added a comment -

        During development of the PortletFaces Bridge, I had some communication with Ted and Deryk on this matter. You'll have to double check with them, but I believe the overarching goal is to not require portlet-specific tags like ice:portlet in ICEfaces 2.0, so that you can more easily take an ICEfaces webapp and slide it into a portlet container for deployment as a portlet.

        Show
        Neil Griffin added a comment - During development of the PortletFaces Bridge, I had some communication with Ted and Deryk on this matter. You'll have to double check with them, but I believe the overarching goal is to not require portlet-specific tags like ice:portlet in ICEfaces 2.0, so that you can more easily take an ICEfaces webapp and slide it into a portlet container for deployment as a portlet.
        Hide
        Deryk Sinotte added a comment -

        In ICEfaces 1.8, we required the use of a custom ice:portlet tag to uniquely identify that area of the page that contained a JSF/ICEfaces view. With JSF 2/ICEfaces 2/PortletFaces bridge, this is no longer necessary but for backwards compatibility. Rather than develop a version of the tag that's harmless, we are documenting that it should simply be removed as it is unsupported going forward.

        http://wiki.icefaces.org/display/ICE/Compatibility

        Show
        Deryk Sinotte added a comment - In ICEfaces 1.8, we required the use of a custom ice:portlet tag to uniquely identify that area of the page that contained a JSF/ICEfaces view. With JSF 2/ICEfaces 2/PortletFaces bridge, this is no longer necessary but for backwards compatibility. Rather than develop a version of the tag that's harmless, we are documenting that it should simply be removed as it is unsupported going forward. http://wiki.icefaces.org/display/ICE/Compatibility
        Hide
        Deryk Sinotte added a comment -

        Documented and closing as Won't Fix.

        Show
        Deryk Sinotte added a comment - Documented and closing as Won't Fix.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: