Win a copy of Pragmatic AI this week in the Artificial Intelligence forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

Facelets template/composition without name atribute  RSS feed

 
Ranch Hand
Posts: 147
  • 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?
 
Ranch Hand
Posts: 99
Java MyEclipse IDE Ubuntu
  • 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.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!