File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Facelets template/composition without name atribute

 
Vadim Vararu
Ranch Hand
Posts: 147
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've read that: "A template client (composition in my case) can refrain from using <ui:define> tags in their body. So in this case, it will be injected in any template <ui:insert> without name".

So, i have the template:


and the client:


According to what i've read, the "Hello! I am composition inserted" string should appear three time, cause we have 3 nameless <ui:insert> tag in template, but it's displayed just once. Why?
 
Akaine Harga
Ranch Hand
Posts: 97
Java MyEclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Before we move to conclusions, I'd recommend integrating the last facelets version which is unlike the official page says actually is v1.1.15.B1. Had tons of bugs similar to yours while was using v1.1.14.

Another thing is that you shouldn't be able to see the page at all but an exception for duplicating ids.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic