hi, maybe someone can help me out with this.
I use an action in a jsp that give me schoolClasses (Vector) for a school. Next I iterate through the schoolClasses to print out the classNames for the classes of this school. Then I want to send the userId for the first user in a schoolClass to another action called "GetModulesForUser" (a schoolClass has a getter getUsers()) that returns a Vector with users. Here the jsp-code: <webwork:action name="'GetClassesForSchool'" id="classes" /> <webwork:iterator value="@classes/schoolClasses"> <webwork:property value="className"/> <webwork:action name="'GetModulesForUser'" id="modules" > <webwork:param name="'userId'" value="users/firstElement/userId"/> </webwork:action> </webwork:iterator> The strange thing happening now is that in the GetModulesForUser-action I see that the userId is set in setUserId(String id), but then in doExecute() the value 0. Here is the debug output: DEBUG [GetModulesForUser]: setUserId(String v): 3 DEBUG [GetModulesForUser]: Action executing.. DEBUG [GetModulesForUser]: entering execute() DEBUG [GetModulesForUser]: userId: 0 Even more strange is that when I hardcode the value for a userId in the param tag the value is set and does not change in doExecute: Like this: <webwork:action name="'watnou.modules.GetModulesForUser'" id="modules" > <webwork:param name="'userId'" value="'999'"/> </webwork:action> This output: DEBUG [GetModulesForUser]: setUserId(String v): 999 DEBUG [GetModulesForUser]: Action executing.. DEBUG [GetModulesForUser]: entering execute() DEBUG [GetModulesForUser]: userId: 999 I really don't know what I'm missing, maybe someone can put me on the right track? I'm using webwork-1.2 on Tomcat-4.03. The operating system is Debian Linux thanks, Hans ------------------------------------------------------- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork