You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Johan Compagner (JIRA)" <ji...@apache.org> on 2007/06/15 00:32:26 UTC

[jira] Commented: (WICKET-659) Null form fields are converted to empty strings

    [ https://issues.apache.org/jira/browse/WICKET-659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12504948 ] 

Johan Compagner commented on WICKET-659:
----------------------------------------

rawInput will be an empty string yes. Because that is what is comming in.
null would be if the input tag would be disabled.

the converted input or the model data should become null (at least by default: setConvertEmptyInputStringToNull(true);)

> Null form fields are converted to empty strings
> -----------------------------------------------
>
>                 Key: WICKET-659
>                 URL: https://issues.apache.org/jira/browse/WICKET-659
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.0-beta1
>         Environment: Wicket 1.3.0 snapshot.  
>            Reporter: Nick Heudecker
>             Fix For: 1.3.0-beta2
>
>
> When form fields are submitted with no data the raw input is converted to a zero-length string.  This causes odd behavior for the EmailAddressValidator.  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.