[ 
https://issues.apache.org/jira/browse/MYFACES-1225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12563984#action_12563984
 ] 

Simon Kitching commented on MYFACES-1225:
-----------------------------------------

Hmm. Did you mean method UIData.createDataModel, or UIData.getDataModel?

This issue report was raised about the getDataModel method, and the spec link 
is also about getDataModel. That is the method which is private in 1.1, and 
protected in 1.2.

But in your comment you mention "createDataModel", which is not part of the 
spec at all, and is therefore private in both versions. If you really mean you 
want access to the myfaces internal method "createDataModel" then that will 
definitely not be possible, as that would break spec compliance.


Re the source code repository, this is the JSF-1.1 code:
  http://svn.apache.org/repos/asf/myfaces/core/trunk/

This is the JSF 1.2 code:
  https://svn.apache.org/repos/asf/myfaces/core/trunk_1.2.x/

In the 1.2 branch, a lot of component,validator and converter classes are 
actually generated from metadata, so you will not see any source for these in 
the normal places. The reason code-generation is done is that JSP taglibs, 
faces-config files, facelets config files, etc all need to be consistent. In 
the old code this was done by hand, and many errors resulted.

You will find the new UIData here, as a "template" that is modified during 
build:
 
https://svn.apache.org/repos/asf/myfaces/core/trunk_1.2.x/api/src/main/java-templates/javax/faces/component/UIDataTemplate.java


> JSR-252 Issue #58: Enabled "protected" access to internal "DataModel" in 
> UIData
> -------------------------------------------------------------------------------
>
>                 Key: MYFACES-1225
>                 URL: https://issues.apache.org/jira/browse/MYFACES-1225
>             Project: MyFaces Core
>          Issue Type: Improvement
>          Components: JSR-252
>            Reporter: Stan Silvert
>            Assignee: Dennis Byrne
>
> Enabled "protected" access to internal "DataModel" in UIData
> See  
> https://javaserverfaces-spec-public.dev.java.net/issues/show_bug.cgi?id=58

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to