[ http://issues.apache.org/jira/browse/MYFACES-706?page=comments#action_12356931 ]
Grant Smith commented on MYFACES-706: ------------------------------------- It would be great if we could just copy the RI, but I think we came to the conclusion (in a previous dev-list discussion on copying the API docs) that we simply cannot do this. I guess I could start adding some properties with wording "loosely based" on the RI ;) I'll wait for some feedback before doing that though... > MyFaces FacesConfig Component Elements Do Not Contain Property Elements So > Tools Do Not Work As well > ---------------------------------------------------------------------------------------------------- > > Key: MYFACES-706 > URL: http://issues.apache.org/jira/browse/MYFACES-706 > Project: MyFaces > Type: Bug > Components: General > Versions: 1.1.0 > Reporter: Rod Magnuson > > The component elements look like the following: > <component> > <component-type>org.apache.myfaces.HtmlCommandButton</component-type> > > <component-class>org.apache.myfaces.component.html.ext.HtmlCommandButton</component-class> > </component> > In the RI, they are much more flushed out and include property elements like: > <property> > <description> > MethodBinding representing the application action to invoke when > this component is activated by the user. The expression must > evaluate to a public method that takes no parameters, and returns > a String (the logical outcome) which is passed to the > NavigationHandler for this application. > </description> > <display-name>Application Action</display-name> > <icon></icon> > <property-name>action</property-name> > <property-class>javax.faces.el.MethodBinding</property-class> > </property> > Note the property-class of javax.faces.el.MethodBinding. This allows tools to > know what properties are method bindings. This allows more VB like > interactions with the components. For example, in jdeveloper if you dbl-click > a button it will automatically bind the action component to a method for you. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
