myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leonardo Uribe <lu4...@gmail.com>
Subject Re: jsf subview: required?
Date Tue, 16 Jun 2009 05:22:08 GMT
Hi

Use f:subview to wrap jsp:include is preferred, because prevent duplicate id
exceptions. But if you just include a page once in a view it is safe to use
jsp:include without it. See
http://issues.apache.org/jira/browse/MYFACES-1834 for more details.

regards

Leonardo Uribe

2009/6/15 Dave <javaone9@yahoo.com>

>  <f:subview id="page1" >
>       <jsp:include page="page1.jsp" />
>  </f:subview>
>
>
> Is subview required?  or  simply use
>
> <jsp:include page="page1.jsp" />
>
> Subview is a naming container. Can I just use <jsp:include page="page1.jsp"
> /> to reduce id length if there is no id conflict? any other difference?
>
> Thanks
> Dave
>
>

Mime
View raw message