Is there any difference between ui:fragment and s:fragment?
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 val开发者_开发问答id attribute for ui:fragment)
Thanks
Yes rendered
is the only difference.
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.
精彩评论