tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jay Drummond (JIRA)" <tapestry-...@jakarta.apache.org>
Subject [jira] Created: (TAPESTRY-236) Can we have a ValidRadioGroup in Tapestry
Date Tue, 07 Dec 2004 13:09:11 GMT
Can we have a ValidRadioGroup in Tapestry
-----------------------------------------

         Key: TAPESTRY-236
         URL: http://nagoya.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://nagoya.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


Mime
View raw message