- This topic has 3 replies, 2 voices, and was last updated 16 years, 3 months ago by Loyal Water.
-
AuthorPosts
-
Stephan AnftMemberHi everyone,
I have just figured out a problem in the JSF faces-config editor of MyEclipseIDE 6.5. Using the “gui” editor, it is not possible to define two renderer elements in a renderer kit with an identical renderer type. The wizard denies this by showing the error message that the renderer type has to be unique. In fact, this is not correct. The combination of renderer type and component family has to be unique but not the renderer type itself.
I would be nice if somebody could have a look at this. It may be that I am using the editor in a wrong way. But it also may be that this is a bug in the editor.
Regards,
Stephan
Loyal WaterMemberStephan,
I’ll ask the dev team to look into this issue. Can you please direct me to the JSF documentation where it is specifically mentioned that it is valid for render type not to be unique?
Stephan AnftMemberHi Nipun,
I’ve searched the specification but did not found anything on this. But just have a look at the standard JSF component library. For example:
Component HtmlSelectOneListbox:
– Renderer Type: javax.faces.Listbox
– Component Family: javax.faces.SelectOneComponent HtmlSelectManyListbox:
– Renderer Type: javax.faces.Listbox
– Component Family: javax.faces.SelectManyYou see that both components have the same renderer type but a different component family. Only the combination of both have to be unique because both values are used to find the correct renderer for the component. This is mentioned on the following web site, too: http://www.oracle.com/webapps/online-help/jdeveloper/10.1.3/state/content/navId.4/navSetId._/vtTopicFile.jsf_apps%7Cf1tags%7Cf1_sfcf_renderkit~html/
Regards,
Stephan
Loyal WaterMemberStephan,
Thanks for this information. I’ll add this information to the bug report that I have filed. -
AuthorPosts