Kirk... I'll try to duplicate the error you are giving... though it seems
very strange. I'm using 1.3 (latest from CVS) with no trouble at all. If you
want to see what has changed, check out the changelog on
http://jira.opensymphony.com

The main change you'd have to worry about is:

- action chaining when you didn't mean to (you must use the Redirect.action
if you don't want to chain from foo.success=bar.action)
- commons-logging used

-Pat

----- Original Message -----
From: "Kirk Rasmussen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 19, 2002 10:24 AM
Subject: [OS-webwork] WW 1.2.1 webwork:checkbox taglib bug?


> Hello,
>
> The following form results in a blank value in the field value for the
second checkbox:
>
> <form action="<webwork:url page="base.action"/>" method="POST">
>
> <table width="100%">
> <tr>
> <!-- start cell with webwork components -->
> <td width="350" valign="top">
> <table align="left" width="100%">
> <ui:checkbox label="'Check here to receive newsletter'"
name="'newsletter'" fieldValue="'foobar'"/>
> <ui:checkbox label="'Check here to receive promotions'" name="'promotion'"
fieldValue="'foobar'"/>
> <!-- end cell with webwork components -->
> </tr>
> </table>
> </form>
>
> Results in the following:
>
>                 <input type="checkbox"
>                        name="newsletter"
>                        value="foobar"/>
>
>                 <input type="checkbox"
>                        name="promotion"
>                        value=""
>
>
> If the checkboxes have different field values then it works:
>
> <ui:checkbox label="'Check here to receive newsletter'"
name="'newsletter'" fieldValue="'foobar'"/>
> <ui:checkbox label="'Check here to receive promotions'" name="'promotion'"
fieldValue="'barfoo'"/>
>
> Results in the following:
>
>                 <input type="checkbox"
>                        name="newsletter"
>                        value="foobar"/>
>
>                 <input type="checkbox"
>                        name="promotion"
>                        value="barfoo"
>
>
> This became a problem for me when using the field value of "true" in
multiple checkboxes.  I imagine this must be a common problem.  I noticed
that 1.3 version of this code has been refactored.  Was it to address this
problem?  I haven't tried 1.3 but I'm a little concerned about using a
release candidate build at this time.
>
> What have other developer's experience been with 1.2.1 version 1.3 RC1?
What are the key differences?  The most obvious one is that the logging has
been redone to use Jakarta's common logging interface.
>
> Thanks,
> Kirk Rasmussen
> Lucasfilm Ltd.
>
>
> -------------------------------------------------------
> This SF.NET email is sponsored by: Geek Gift Procrastinating?
> Get the perfect geek gift now!  Before the Holidays pass you by.
> T H I N K G E E K . C O M      http://www.thinkgeek.com/sf/
> _______________________________________________
> Opensymphony-webwork mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to