Trying to wrap my brain around interators, value stack, etc. The code listed
below outputs the following:
        my.class.Name
        true
        ---------------
        hi
        bye
        [my.class.Name, my.action.class.Name]

when I expected something like:
        my.class.Name
        true
        ---------------
        hi
        bye
        my.class.Name

Why does [0].toString() give me the the toString() of one object when it is
apparently a stack? How do I achieve the expected output?
Thanks,
-RD

        <ww:set name="test" value="{'hi','bye'}" scope="webwork"/>
        <ww:iterator value="model.Pages()">
                <ww:property value="[0].toString()"/><br>
                <ww:property value="#test.add([0])"/><br>
        </ww:iterator>
        <hr>
        <ww:iterator value="#test" >
                <ww:property/><br>
        </ww:iterator>



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to