for most if not all attributes you need to use single quotes to pass strings in or else the tags try and evaluate the attributes, this was done to make it compatible to the way ww1.x tags work

Mark Woon wrote:

My original e-mail didn't seem to make it to the list the first time. My apologies if anyone gets duplicates.

I seem to need single quotes around all parameters passed into WebWork2's tags or they are completely ignored.

I have to do this:

<ww:form action="'/test.action'" method="'POST'">
<ww:textfield label="'Name'" name="'name'" />
<ww:submit value="'Submit'" />
</ww:form>

Instead of this:

<ww:form action="/test.action" method="POST">
<ww:textfield label="Name" name="name" />
<ww:submit value="Submit" />
</ww:form>


This is with WW2 beta2, and I'm fairly convinced that I must have missed something. Any ideas?



Thanks, -Mark





-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork






------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to