You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2003/01/14 09:09:21 UTC

DO NOT REPLY [Bug 16054] New: - logic:iteate can't not work when nested

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16054>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16054

logic:iteate can't not work when nested 

           Summary: logic:iteate can't not work when nested
           Product: Struts
           Version: 1.1 Beta 2
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Custom Tags
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: zzeric@163.com


<logic:iterate id="PartList" name="PartInfos" scope="request">
    <tr>
      <td><img></td>
      <td colspan="13">
         <bean:write name="PartList" property="PartName" scope="page"/>
      </td>
    </tr>
    <logc:iterate id="UseFiles" name="PartList" 
                  property="arrUsePdfList" scope="page">
      <tr>
	<td><bean:write name="UseFiles" property="FileName"/></td>		
      </tr>
    </logic:iterate>
</logic:iterate>

Then, An exception "Cannot find bean UsePDF in any scope" would be thrown .

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>