aspose file tools*
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
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?
 
 
subject: Facelets custom component does not insert ui:repeat or c:forEach