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 2012/06/06 09:53:22 UTC
[jira] [Created] (TAP5-1948) NullFieldStrategy interface should
have a reference to client\server provided value
Muhammad Gelbana created TAP5-1948:
--------------------------------------
Summary: 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
Reporter: Muhammad Gelbana
And it affects all previous version. My case is that I'm 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (TAP5-1948) NullFieldStrategy interface should
have a reference to client\server provided value
Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Updated] (TAP5-1948) NullFieldStrategy interface should
have a reference to client\server provided value
Posted by "Muhammad Gelbana (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Muhammad Gelbana updated TAP5-1948:
-----------------------------------
Affects Version/s: 5.4
5.3.4
> 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 version. 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (TAP5-1948) NullFieldStrategy interface should
have a reference to client\server provided value
Posted by "Muhammad Gelbana (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Muhammad Gelbana updated TAP5-1948:
-----------------------------------
Description:
And it affects all previous version. 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.
was:
And it affects all previous version. My case is that I'm 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.
> 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
> Reporter: Muhammad Gelbana
> Labels: NullFieldStrategy, blank, input
>
> And it affects all previous version. 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (TAP5-1948) NullFieldStrategy interface should
have a reference to client\server provided value
Posted by "Muhammad Gelbana (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Muhammad Gelbana updated TAP5-1948:
-----------------------------------
Description:
And it affects all previous version. 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.
was:
And it affects all previous version. My case is that I'm 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.
> 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
> Reporter: Muhammad Gelbana
> Labels: NullFieldStrategy, blank, input
>
> And it affects all previous version. 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (TAP5-1948) NullFieldStrategy interface should
have a reference to client\server provided value
Posted by "Muhammad Gelbana (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Muhammad Gelbana updated TAP5-1948:
-----------------------------------
Description:
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.
was:
And it affects all previous version. 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.
> 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
[jira] [Commented] (TAP5-1948) NullFieldStrategy interface should
have a reference to client\server provided value
Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Commented] (TAP5-1948) NullFieldStrategy interface should
have a reference to client\server provided value
Posted by "Muhammad Gelbana (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13472603#comment-13472603 ]
Muhammad Gelbana commented on TAP5-1948:
----------------------------------------
http://tapestry.1045711.n5.nabble.com/t5-3-1-TextField-not-handling-a-single-space-td5713625.html
I remember trying that but it didn't work. Can't precisely remember how it went. Would the translator behavior have changed by v5.3.5 ?
> 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
[jira] [Updated] (TAP5-1948) NullFieldStrategy interface should
have a reference to client\server provided value
Posted by "Muhammad Gelbana (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Muhammad Gelbana updated TAP5-1948:
-----------------------------------
Affects Version/s: 5.4
5.3.4
> 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 version. 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (TAP5-1948) NullFieldStrategy interface should
have a reference to client\server provided value
Posted by "Muhammad Gelbana (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Muhammad Gelbana updated TAP5-1948:
-----------------------------------
Description:
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.
was:
And it affects all previous version. 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.
> 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
[jira] [Commented] (TAP5-1948) NullFieldStrategy interface should
have a reference to client\server provided value
Posted by "Muhammad Gelbana (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13472603#comment-13472603 ]
Muhammad Gelbana commented on TAP5-1948:
----------------------------------------
http://tapestry.1045711.n5.nabble.com/t5-3-1-TextField-not-handling-a-single-space-td5713625.html
I remember trying that but it didn't work. Can't precisely remember how it went. Would the translator behavior have changed by v5.3.5 ?
> 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