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

nested:messages Tag does not work as expected





------- Additional Comments From [EMAIL PROTECTED]  2003-09-08 17:16 -------
It's a little different to normal tags though, because the <nested:messages> tag
wouldn't actually be providing a nesting level. The iterate tag adds a level.

eg:
<nested:iterate property="something">
  <nested:write property="hello" />
</nested:iterate>

will make the inner property "something[i].hello"

Where as the messages tag, iterates through a collection, and simply offers up a
bean reference, not an actual nested property. The "this/" doesn't actually look
for a bean reference, it's just an indicator not to add another dot notation
level to the nested property.

It wouldn't be an issue if it was just manipulating nested properties, but it
doesn't seem to be the case. It may just seem like the easy way out, but I'd
just recommend using the original tags. The nested tags aren't meant to replace
the original tags, just make it easier to nest beans to those tags that can make
use of them.

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

Reply via email to