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)" <ji...@apache.org> on 2012/10/09 17:01:04 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=13472445#comment-13472445 ]
Howard M. Lewis Ship commented on TAP5-1948:
--------------------------------------------
It is very disruptive to change an interface after it has been out for a long time, especially in terms of changing the parameters to a method described by the interface.
On the other hand, the Translator interface appears to do what you need ... it gets the actual server-side value and the actual client-provided string.
> 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