You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Muhammad Gelbana (JIRA)" <ji...@apache.org> on 2013/06/05 11:46:23 UTC

[jira] [Commented] (TAP5-1948) NullFieldStrategy interface should have a reference to client\server provided value

    [ https://issues.apache.org/jira/browse/TAP5-1948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13675755#comment-13675755 ] 

Muhammad Gelbana commented on TAP5-1948:
----------------------------------------

Since you are working on 5.4. I guess this could be remedied by checking a configuration option, whether to tolerate the blank (null, "", "    ") input or not. So there will be no need to change the API.
                
> NullFieldStrategy interface should have a reference to client\server provided value
> -----------------------------------------------------------------------------------
>
>                 Key: TAP5-1948
>                 URL: https://issues.apache.org/jira/browse/TAP5-1948
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.3.3, 5.3.4, 5.4
>            Reporter: Muhammad Gelbana
>              Labels: NullFieldStrategy, blank, input
>
> And it affects all previous versions. My case is that I should accept blank inputs from the client through text fields. By blank inputs I mean "nothing" and one or more spaces.
> Now the NullFieldStrategy interface doesn't provide a clue about the value considered by tapestry to be blank. Like in my case, I actually need to know if the user provided a space or more or even nothing at all ? I just need the value as it is.
> Thank you.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira