javaserverfaces-spec-public
  1. javaserverfaces-spec-public
  2. JAVASERVERFACES_SPEC_PUBLIC-599

Application.createComponent(): compcomp via namespace+compname

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.2
    • Component/s: Components/Renderers
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: Sun

    • Issuezilla Id:
      599
    • Status Whiteboard:
      Hide

      cat2 frame size_medium importance_large

      Show
      cat2 frame size_medium importance_large

      Description

      >> I feel there is value in the ability to instantiate an EzComp object
      >> in Java so that a component tree can be built in a backing bean (or
      >> other Class). JSF must be doing this in the background through
      >> Facelets, so providing this ability in Java should not be too difficult.
      >>
      >> Referencing an object by its namespace should be sufficient:
      >>
      >> UIComponent comp = Application.createComponent(FacesContext,
      >> "http://java.sun.com/jsf/composite/mynamespace:component" ) .
      >>
      >> Attributes would be assigned via the normal method:
      >>
      >> comp.getAttributes().put("rendered", false);
      >>
      >> This would greatly extend the reach of EzComp objects.

        Issue Links

          Activity

          Hide
          Ed Burns added a comment -

          triage

          Show
          Ed Burns added a comment - triage
          Hide
          Ed Burns added a comment -

          GlassFish 3.1 M6 at the latest.

          Show
          Ed Burns added a comment - GlassFish 3.1 M6 at the latest.
          Hide
          Ed Burns added a comment -

          Move these to 2.2

          Show
          Ed Burns added a comment - Move these to 2.2
          Hide
          Ed Burns added a comment -

          Sending build.xml
          Sending jsf-api/doc/web-facelettaglibrary_2_2.xsd
          Sending jsf-api/src/main/java/javax/faces/render/ResponseStateManager.java
          Sending jsf-api/src/main/java/javax/faces/view/facelets/ComponentHandler.java
          Sending jsf-demo/build.xml
          Sending jsf-demo/sandbox/custom-tag/pom.xml
          Sending jsf-ri/conf/share/composite.taglib.xml
          Sending jsf-ri/conf/share/facelets_jsf_core.taglib.xml
          Sending jsf-ri/conf/share/html_basic.taglib.xml
          Sending jsf-ri/conf/share/jstl-core.taglib.xml
          Sending jsf-ri/conf/share/jstl-fn.taglib.xml
          Sending jsf-ri/conf/share/ui.taglib.xml
          Sending jsf-ri/conf/xslt/facelets1_0-2_0toSchema.xsl
          Sending jsf-ri/src/main/java/com/sun/faces/facelets/tag/TagLibraryImpl.java
          Sending jsf-ri/src/main/java/com/sun/faces/facelets/tag/jsf/ComponentTagHandlerDelegateImpl.java
          Sending jsf-ri/src/main/java/com/sun/faces/facelets/tag/ui/SchemaCompliantRemoveHandler.java
          Sending jsf-ri/systest/web/WEB-INF/composite-behavior.taglib.xml
          Sending jsf-ri/systest/web/WEB-INF/formlayout.taglib.xml
          Sending jsf-ri/systest/web/WEB-INF/source1.taglib.xml
          Sending jsf-ri/systest/web/WEB-INF/testcomponent.taglib.xml
          Sending jsf-ri/systest-per-webapp/process-as-jspx/web/WEB-INF/jspx.taglib.xml
          Sending jsf-test/JAVASERVERFACES-1655/i_jsf_1655/src/main/webapp/WEB-INF/groovy-taglib.xml
          Sending jsf-test/JAVASERVERFACES_SPEC_PUBLIC-997/i_spec_997_jar/src/main/resources/META-INF/i_jsf_1948.taglib.xml
          Transmitting file data .......................
          Committed revision 9398.

          Show
          Ed Burns added a comment - Sending build.xml Sending jsf-api/doc/web-facelettaglibrary_2_2.xsd Sending jsf-api/src/main/java/javax/faces/render/ResponseStateManager.java Sending jsf-api/src/main/java/javax/faces/view/facelets/ComponentHandler.java Sending jsf-demo/build.xml Sending jsf-demo/sandbox/custom-tag/pom.xml Sending jsf-ri/conf/share/composite.taglib.xml Sending jsf-ri/conf/share/facelets_jsf_core.taglib.xml Sending jsf-ri/conf/share/html_basic.taglib.xml Sending jsf-ri/conf/share/jstl-core.taglib.xml Sending jsf-ri/conf/share/jstl-fn.taglib.xml Sending jsf-ri/conf/share/ui.taglib.xml Sending jsf-ri/conf/xslt/facelets1_0-2_0toSchema.xsl Sending jsf-ri/src/main/java/com/sun/faces/facelets/tag/TagLibraryImpl.java Sending jsf-ri/src/main/java/com/sun/faces/facelets/tag/jsf/ComponentTagHandlerDelegateImpl.java Sending jsf-ri/src/main/java/com/sun/faces/facelets/tag/ui/SchemaCompliantRemoveHandler.java Sending jsf-ri/systest/web/WEB-INF/composite-behavior.taglib.xml Sending jsf-ri/systest/web/WEB-INF/formlayout.taglib.xml Sending jsf-ri/systest/web/WEB-INF/source1.taglib.xml Sending jsf-ri/systest/web/WEB-INF/testcomponent.taglib.xml Sending jsf-ri/systest-per-webapp/process-as-jspx/web/WEB-INF/jspx.taglib.xml Sending jsf-test/ JAVASERVERFACES-1655 /i_jsf_1655/src/main/webapp/WEB-INF/groovy-taglib.xml Sending jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-997 /i_spec_997_jar/src/main/resources/META-INF/i_jsf_1948.taglib.xml Transmitting file data ....................... Committed revision 9398.
          Hide
          Ed Burns added a comment -

          Sending jsf-api/src/main/java/javax/faces/view/facelets/FaceletFactory.java
          Sending jsf-api/src/main/java/javax/faces/view/facelets/FaceletFactoryWrapper.java
          Sending jsf-ri/src/main/java/com/sun/faces/facelets/impl/DefaultFaceletFactory.java
          Sending jsf-ri/systest/build-tests.xml
          Adding jsf-ri/systest/src/com/sun/faces/systest/component
          Adding jsf-ri/systest/src/com/sun/faces/systest/component/Issue599Bean.java
          Adding jsf-ri/systest/web/WEB-INF/i_spec_599_composite_taglib.taglib.xml
          Sending jsf-ri/systest/web/WEB-INF/web.xml.template
          Adding jsf-ri/systest/web/facelets/i_spec_599.xhtml
          Adding jsf-ri/systest/web/resources/i_spec_599_composite
          Adding jsf-ri/systest/web/resources/i_spec_599_composite/i_spec_599_composite.xhtml
          Adding jsf-ri/systest/web/resources/i_spec_599_composite_taglib
          Adding jsf-ri/systest/web/resources/i_spec_599_composite_taglib/i_spec_599_composite_taglib.xhtml
          Transmitting file data ..........
          Committed revision 9399.

          Show
          Ed Burns added a comment - Sending jsf-api/src/main/java/javax/faces/view/facelets/FaceletFactory.java Sending jsf-api/src/main/java/javax/faces/view/facelets/FaceletFactoryWrapper.java Sending jsf-ri/src/main/java/com/sun/faces/facelets/impl/DefaultFaceletFactory.java Sending jsf-ri/systest/build-tests.xml Adding jsf-ri/systest/src/com/sun/faces/systest/component Adding jsf-ri/systest/src/com/sun/faces/systest/component/Issue599Bean.java Adding jsf-ri/systest/web/WEB-INF/i_spec_599_composite_taglib.taglib.xml Sending jsf-ri/systest/web/WEB-INF/web.xml.template Adding jsf-ri/systest/web/facelets/i_spec_599.xhtml Adding jsf-ri/systest/web/resources/i_spec_599_composite Adding jsf-ri/systest/web/resources/i_spec_599_composite/i_spec_599_composite.xhtml Adding jsf-ri/systest/web/resources/i_spec_599_composite_taglib Adding jsf-ri/systest/web/resources/i_spec_599_composite_taglib/i_spec_599_composite_taglib.xhtml Transmitting file data .......... Committed revision 9399.

            People

            • Assignee:
              Ed Burns
              Reporter:
              Ed Burns
            • Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 10 minutes
                1h 10m