[richfaces-planning-issues] [JBoss JIRA] Issue Comment Edited: (RFPL-1437) Document dynamic creation of components

Richard Kennard (JIRA) jira-events at lists.jboss.org
Tue May 31 17:20:00 EDT 2011


    [ https://issues.jboss.org/browse/RFPL-1437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12605622#comment-12605622 ] 

Richard Kennard edited comment on RFPL-1437 at 5/31/11 5:18 PM:
----------------------------------------------------------------

Jay,

> I would guess this would not be until 3.0 though. We are already working on JSF 2.2

If I may just clear up any confusion:

A robust facility for 'dynamic creation of components' has *already* been specified in JSF 2.0. It is an advanced use case, and the Mojarra team are having a hard time getting their implementation working (http://java.net/jira/browse/JAVASERVERFACES-1826). This seems to have led them to believe it needs to be better documented in the spec (http://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-1007), which is fair enough.

But that does not change the fact that it *is* in the 2.0 spec, and works fine in MyFaces (https://issues.apache.org/jira/browse/MYFACES-2935). I don't wanting people thinking this needs to be a new feature in JSF 2.2 or 3.0 or anything.

> Your RichFaces 4 dynamic component creation tests need to be looked at more
> I think. I'd like to see what you've done there

I want to stress it's not some tricky hack I've done. I've just followed the JSF 2.0 spec, and it works great under MyFaces. Just not under Mojarra yet.

I commend what Lukas is proposing because this whole area *does* need more documentation. But please document it in line with the existing spec. This link may help:

http://kennardconsulting.blogspot.com/2010/10/safely-manipulating-component-tree-with.html

Richard.

      was (Author: kennardconsulting):
    Jay,

> I would guess this would not be until 3.0 though. We are already working on JSF 2.2

If I may just clear up any confusion:

A robust facility for 'dynamic creation of components' has *already* been specified in JSF 2.0. It is an advanced use case, and the Mojarra team are having a hard time getting their implementation working (http://java.net/jira/browse/JAVASERVERFACES-1826). This seems to have led them to believe it needs to be better documented in the spec (http://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-1007), which is fair enough.

But that does not change the fact that it *is* in the 2.0 spec, and works fine in MyFaces (https://issues.apache.org/jira/browse/MYFACES-2935). I don't wanting people thinking this needs to be a new feature in JSF 2.2 or 3.0 or anything.

> Your RichFaces 4 dynamic component creation tests need to be looked at more
> I think. I'd like to see what you've done there

I want to stress it's not some tricky hack I've done. I've just followed the JSF 2.0 spec, and it works great under MyFaces. Just not under Mojarra yet.

Richard.
  
> Document dynamic creation of components
> ---------------------------------------
>
>                 Key: RFPL-1437
>                 URL: https://issues.jboss.org/browse/RFPL-1437
>             Project: RichFaces Planning
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>          Components: doc
>    Affects Versions: 4.0.0.Final
>            Reporter: Lukáš Fryč
>            Assignee: Lukáš Fryč
>
> There are currently lack of documentation in this space leading to questions and concerns in discussions.
> We would like to test dynamic creation and document it.
> References:
> https://issues.jboss.org/browse/RF-10951
> http://community.jboss.org/message/521749

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the richfaces-planning-issues mailing list