Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.2
    • Component/s: Facelets/VDL
    • Labels:
      None

      Description

      The following issues/inconsistencies exist today w/r/t the "template" attribute for
      ui:decorate and ui:composition tags.

      1. vdl docs say that ui:composition / ui:decorate "template" attribute is not required.
      The Mojarra implementation implements ui:decoreate as required but does nothing for
      ui:composition if "template" attribute is not specified.
      http://java.net/jira/browse/JAVASERVERFACES-2023

      Does it make sense to use these tags without a "template" attribute?
      If not we should specify it as required for both tags.

      2. What should be the behavior if a page author specifies this:
      ui:decorate template="" or ui:composition template=""

      Does it make sense to use these tags without a value for "template" attribute?
      If not we should specify a TagAttributeException.

        Activity

        Hide
        rogerk added a comment -

        Actually it does not make sense to make "template" attribute required for
        ui:composition, as it is perfectly feasible to author something like this:

        <ui:composition>
        ....
        </ui:composition>

        But the vdldocs should specify "template" as required attribute for ui:decorate

        Show
        rogerk added a comment - Actually it does not make sense to make "template" attribute required for ui:composition, as it is perfectly feasible to author something like this: <ui:composition> .... </ui:composition> But the vdldocs should specify "template" as required attribute for ui:decorate
        Hide
        Ed Burns added a comment -

        Sending jsf-ri/conf/share/tlddoc-resources/stylesheet.css
        Sending jsf-ri/conf/share/ui.tld
        Transmitting file data ..
        Committed revision 9024.

        Show
        Ed Burns added a comment - Sending jsf-ri/conf/share/tlddoc-resources/stylesheet.css Sending jsf-ri/conf/share/ui.tld Transmitting file data .. Committed revision 9024.
        Hide
        Manfred Riem added a comment -

        Closing resolved issue out

        Show
        Manfred Riem added a comment - Closing resolved issue out

          People

          • Assignee:
            Ed Burns
            Reporter:
            rogerk
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: