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=17430>.
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=17430

bug in nested text

           Summary: bug in nested text
           Product: Struts
           Version: 1.1 Beta 3
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Custom Tags
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Hello,
we have got a problem with struts 1.1b3/nested taglibs.

The following code sample works :
<nested:iterate property="list.currentPage" name="SearchForm">
                
                        <nested:write property="surname" />
                
                        <nested:write property="name" />
                
                        <nested:write property="age" />
                
</nested:iterate>

This one as well :
<html:form action="/searchresults.do?method=first">
<nested:iterate property="list.currentPage">
                
                        <nested:text property="surname" />
                
                        <nested:text property="name" />
                
                        <nested:text property="age" />
                
</nested:iterate>
</html:form>

So we don't understand why the following one doesn't :
<nested:iterate property="list.currentPage" name="SearchForm">
                
                        <nested:text property="surname" />
                
                        <nested:text property="name" />
                
                        <nested:text property="age" />
                
</nested:iterate>
We get this error message : Cannot find bean org.apache.struts.taglib.html.BEAN 
in any scope 

We guess it is because the method release() in TextTag set the name attribute 
to Constants.BEAN_KEY.
It should probably be set to null.

Can you help us, please ?

Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to