Hi,

A subview tag is recommended when using jsp:include, but it isn't
mandatory. All it does is establish a new "namespace", so that any ids
used in components in the included page can't conflict with ids in the
including page. In this case, none of the components in the alphabet.jsp
page have explicit "id" attributes so there's no danger of that.

Regards,

Simon



On Mon, 2006-01-16 at 12:37 +0200, Michael Ageeb wrote:
> What about the subview tag ?! is it here.
> <f:subview id="MyID">
>                   <jsp:include flush="true" page="alphabet.jsp"/>
> </f:subview>
> 
> On 1/16/06, Marco <[EMAIL PROTECTED]> wrote:
>         Here is the code it's in a file called alphabet.jsp
>         
>         <h:panelGrid align="center">            
>             <x:dataList
>                 styleClass="standardList"
>                 var="alphabet"
>                 value="#{alphabetGenerator.alphabetList}"
>                 rowCountVar="rowCount"
>                 rowIndexVar="rowIndex">                   
>                 
>                 <h:commandLink value="#{ alphabet.value}"
>         action="#{bean.method}">
>                     <f:param name="alphabetValue"
>         value="#{alphabet.value}" />
>                 </h:commandLink>
>         
>                 <h:outputText value="|" rendered="#{rowIndex + 1 <
>         rowCount}" />        
>         
>             </x:dataList>
>         </h:panelGrid> 
>         
>         And i include it
>                                     
>         <jsp:include flush="true"
>         page="alphabet.jsp"/>                               
>         
> 
> 
> 
> -- 
> Michael Ageeb Fakhry
> Software Developer OpenCraft
> Experience is the comb that life gives you when you lose all your hair
> To know more about Egypt visit http://eternalegypt.org

Reply via email to