There seems to be a problem while trying to use
automatically generated subview id in myfaces1.1.1 According to TLD file ID attribute is created automatically
when omitted. At the same time ID attribute is defined as <required>true</required> This causes compile time error when id is omitted on the
<f:subview> tag. Here is the situation:
Am I missing something here or does TLD file need to be
corrected? Thanks, Igor <h:panelGroup
id="std_section_layout_body_inc"> <f:subview
id="std_section_layout_body"> <h:panelGrid
id="section_layout_body_table" styleClass="table"
border="1" cellpadding="0" cellspacing="0"
width="100%" columns="1"> <% … < skip > …. for (int
section_num=0; section_num<list.size(); section_num++) { … < skip > …. %>
<f:subview> --- PROBLEM
<h:panelGroup> <tiles:insert
name="<%=section.getTile()%>" flush="false"
ignore="true" >
<tiles:put name="section_title"
value="<%=section.getTitle()%>" />
<tiles:put name="section_menu" value="<%=section.getMenu()%>"
/>
<tiles:put name="section_body"
value="<%=section.getBody()%>" />
<tiles:put name="section_num"
value="<%=String.valueOf(section_num)%>" />
</tiles:insert>
</h:panelGroup>
</f:subview> <% } … < skip > …. %>
</h:panelGrid> </f:subview> </h:panelGroup> |
- myfaces-core.tld - subview tag Igor Marakov
- Re: myfaces-core.tld - subview tag Simon Kitching
- RE: myfaces-core.tld - subview tag Igor Marakov
- Re: myfaces-core.tld - subview tag Simon Kitching
- Re: myfaces-core.tld - subview tag Dennis Byrne
- Re: myfaces-core.tld - subview tag Simon Kitching
- Re: myfaces-core.tld - subview tag Dennis Byrne