Question

What's the difference between <ui:fragment> and <s:fragment> ? I use these two tag libraries interchangeably for conditional rendering (using the rendered attribute although I can't find any documentation that states "rendered" is a valid attribute for ui:fragment)

Thanks

Was it helpful?

Solution

Yes rendered is the only difference.

OTHER TIPS

Sorry to be late to the party. I agree with Shervin. The "rendered" attribute on ui:fragment isn't documented, but seems to work. I'm using JSF 1.2 on JBoss 4.2.3.

I think you should use the Seam tag if you're using Seam. I'm just working with plain JSF though, so I don't have a choice.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top