Yep.

Webwork pulls values from the stack, so you don't need property tags:

<ui:hidden name="userId" value="users.get(0).id" />

Should work.

Cheers,
Scott

Rachel McConnell wrote:
I may be wrong, but I don't believe you can nest jsp tags in such a
manner.  I'd expect that the tag parser takes only one pass through the
code to pull out jsp tags and handle them, and the first example you
give would require 2 passes: one for the interior ww:property tag, and a
second run for the ui:hidden tag.  the second example of course has only
one taglib tag to worry about.

rachel

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Bernardinus
Sent: Sunday, June 22, 2003 7:28 PM
To: [EMAIL PROTECTED]
Subject: [OS-webwork] WW-2 Hidden Tag not setting value


Hi all,


Recently I run into hidden tag peculiarity. The following tag does set
'userId' field of type String (instead it's set to "")
<ui:hidden name="userId" value='<ww:property
value="users.get(0).id" />' /> However, changing to plain HTML input tag, things are fine
<input name="userId" type="hidden" value='<ww:property
value="users.get(0).id" />'>


On my other jsp page I have similar setting, but instead setting 'id'
field, and it works OK, only this time the validation field is turned
on.

Thnaks,
/bernard




------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork




------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork


--


ATLASSIAN - http://www.atlassian.com
Expert J2EE Software, Services and Support
-------------------------------------------------------
Need a simple, powerful way to track and manage issues?
Try JIRA - http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to