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/02/26 14:43:48 UTC

DO NOT REPLY [Bug 17430] New: - bug in nested text

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: struts-dev@jakarta.apache.org
        ReportedBy: ikar76@caramail.com


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: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org