my dog learned polymorphism*
The moose likes JSF and the fly likes Facelets custom component does not insert ui:repeat or c:forEach Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Facelets custom component does not insert ui:repeat or c:forEach" Watch "Facelets custom component does not insert ui:repeat or c:forEach" New topic
Author

Facelets custom component does not insert ui:repeat or c:forEach

Amy N. Snow
Greenhorn

Joined: Apr 09, 2008
Posts: 20
Hello,

I have a custom facelets component called "selectRow" it is a simple h:selectOneMenu with an ui:insert inside it:

Then on my page I try to use it:


But it doesn't work. If I see the source code I see a <c:forEach> evaluated on top of the select html tag and an empty option. I tried use ui:repeat but then I only get an empty option.

What is the problem?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Facelets custom component does not insert ui:repeat or c:forEach
 
Similar Threads
Iterating tags in Seam (ui:repeat and c:forEach)
ui:repeat, c:foreach in JSF 2.0
Reusable composite component with children.
Linking selectItem in loop with list not from backing bean
Iterating tags in Seam (ui:repeat and c:forEach)