Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Amy N. Snow
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic