You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ta...@jakarta.apache.org> on 2005/01/25 01:10:18 UTC

[jira] Closed: (TAPESTRY-236) Can we have a ValidRadioGroup in Tapestry

     [ http://issues.apache.org/jira/browse/TAPESTRY-236?page=history ]
     
Howard M. Lewis Ship closed TAPESTRY-236:
-----------------------------------------

    Resolution: Duplicate

> Can we have a ValidRadioGroup in Tapestry
> -----------------------------------------
>
>          Key: TAPESTRY-236
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-236
>      Project: Tapestry
>         Type: Improvement
>   Components: Framework
>     Versions: 3.0.1
>  Environment: mixed. Application runs on RedHat Linux 9.0
> Development on Windows XP.
>     Reporter: Jay Drummond

>
> When adding this feature, the validator needs to support required field and type conversion just like the validators that you can add to Text Fields do.
> At first you might not think that a RadioGroup needs to be a required field. But the way I want to use it is.... 
> The user is presented a form that has no checked value. I want them to check the value and not have my code or html set a default for them. That way I know they made the choice. 
> Validators also do type conversions. So if the java page has a property like:
> Boolean getProcessFiles();
> void setProcessFiles(Boolean newProcessFiles);
> I'd want the validator to get a string of "true" or "false" from the form and have it converted to Boolean.TRUE and Boolean.FALSE;

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org