You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Robert Zeigler (JIRA)" <ji...@apache.org> on 2011/04/02 07:29:05 UTC
[jira] [Created] (TAP5-1494) PageRenderLinkSource should provide an
"addParameter(String, Object)" method that uses ValueEncoder to coerce the
Object to string automatically
PageRenderLinkSource should provide an "addParameter(String, Object)" method that uses ValueEncoder to coerce the Object to string automatically
------------------------------------------------------------------------------------------------------------------------------------------------
Key: TAP5-1494
URL: https://issues.apache.org/jira/browse/TAP5-1494
Project: Tapestry 5
Issue Type: Improvement
Components: tapestry-core
Affects Versions: 5.3
Reporter: Robert Zeigler
Priority: Minor
Currently, PageRenderLinkSource provides an "addParameter(String, String)" object. This is nice for allowing the fullest control over what ultimately is placed into the URL, but it is not uncommon to have something along the lines of:
ValueEncoderSource encoderSource;
...
link.addParameter("myparam", encoderSource.getValueEncoder(MyClass.class).toClient(myvalue));
It would be nice for PageRenderLinkSource to have an "addParameter(String, Object)" method in addition to the addParameter(String, String) method. Users needing absolute control of the way parameters appear would retain that control, and the rest of us can write less code.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (TAP5-1494) PageRenderLinkSource should provide
an "addParameter(String, Object)" method that uses ValueEncoder to coerce
the Object to string automatically
Posted by "Robert Zeigler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Zeigler reassigned TAP5-1494:
------------------------------------
Assignee: Robert Zeigler
> PageRenderLinkSource should provide an "addParameter(String, Object)" method that uses ValueEncoder to coerce the Object to string automatically
> ------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: TAP5-1494
> URL: https://issues.apache.org/jira/browse/TAP5-1494
> Project: Tapestry 5
> Issue Type: Improvement
> Components: tapestry-core
> Affects Versions: 5.3
> Reporter: Robert Zeigler
> Assignee: Robert Zeigler
> Priority: Minor
>
> Currently, PageRenderLinkSource provides an "addParameter(String, String)" object. This is nice for allowing the fullest control over what ultimately is placed into the URL, but it is not uncommon to have something along the lines of:
> ValueEncoderSource encoderSource;
> ...
> link.addParameter("myparam", encoderSource.getValueEncoder(MyClass.class).toClient(myvalue));
> It would be nice for PageRenderLinkSource to have an "addParameter(String, Object)" method in addition to the addParameter(String, String) method. Users needing absolute control of the way parameters appear would retain that control, and the rest of us can write less code.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (TAP5-1494) PageRenderLinkSource should provide
an "addParameter(String, Object)" method that uses ValueEncoder to coerce
the Object to string automatically
Posted by "Robert Zeigler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13015037#comment-13015037 ]
Robert Zeigler commented on TAP5-1494:
--------------------------------------
Heh. Nice. My bad... I noticed the gap while working on a Tapestry 5.1 project. That'll learn me to double check the current source!
> PageRenderLinkSource should provide an "addParameter(String, Object)" method that uses ValueEncoder to coerce the Object to string automatically
> ------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: TAP5-1494
> URL: https://issues.apache.org/jira/browse/TAP5-1494
> Project: Tapestry 5
> Issue Type: Improvement
> Components: tapestry-core
> Affects Versions: 5.3
> Reporter: Robert Zeigler
> Assignee: Robert Zeigler
> Priority: Minor
>
> Currently, PageRenderLinkSource provides an "addParameter(String, String)" object. This is nice for allowing the fullest control over what ultimately is placed into the URL, but it is not uncommon to have something along the lines of:
> ValueEncoderSource encoderSource;
> ...
> link.addParameter("myparam", encoderSource.getValueEncoder(MyClass.class).toClient(myvalue));
> It would be nice for PageRenderLinkSource to have an "addParameter(String, Object)" method in addition to the addParameter(String, String) method. Users needing absolute control of the way parameters appear would retain that control, and the rest of us can write less code.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (TAP5-1494) PageRenderLinkSource should provide an
"addParameter(String, Object)" method that uses ValueEncoder to coerce the
Object to string automatically
Posted by "Igor Drobiazko (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Drobiazko closed TAP5-1494.
--------------------------------
Resolution: Invalid
Check this out:
http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/Link.html#addParameterValue%28java.lang.String,%20java.lang.Object%29
> PageRenderLinkSource should provide an "addParameter(String, Object)" method that uses ValueEncoder to coerce the Object to string automatically
> ------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: TAP5-1494
> URL: https://issues.apache.org/jira/browse/TAP5-1494
> Project: Tapestry 5
> Issue Type: Improvement
> Components: tapestry-core
> Affects Versions: 5.3
> Reporter: Robert Zeigler
> Assignee: Robert Zeigler
> Priority: Minor
>
> Currently, PageRenderLinkSource provides an "addParameter(String, String)" object. This is nice for allowing the fullest control over what ultimately is placed into the URL, but it is not uncommon to have something along the lines of:
> ValueEncoderSource encoderSource;
> ...
> link.addParameter("myparam", encoderSource.getValueEncoder(MyClass.class).toClient(myvalue));
> It would be nice for PageRenderLinkSource to have an "addParameter(String, Object)" method in addition to the addParameter(String, String) method. Users needing absolute control of the way parameters appear would retain that control, and the rest of us can write less code.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (TAP5-1494) PageRenderLinkSource should provide an
"addParameter(String, Object)" method that uses ValueEncoder to coerce the
Object to string automatically
Posted by "Igor Drobiazko (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Drobiazko closed TAP5-1494.
--------------------------------
Resolution: Invalid
Check this out:
http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/Link.html#addParameterValue%28java.lang.String,%20java.lang.Object%29
> PageRenderLinkSource should provide an "addParameter(String, Object)" method that uses ValueEncoder to coerce the Object to string automatically
> ------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: TAP5-1494
> URL: https://issues.apache.org/jira/browse/TAP5-1494
> Project: Tapestry 5
> Issue Type: Improvement
> Components: tapestry-core
> Affects Versions: 5.3
> Reporter: Robert Zeigler
> Assignee: Robert Zeigler
> Priority: Minor
>
> Currently, PageRenderLinkSource provides an "addParameter(String, String)" object. This is nice for allowing the fullest control over what ultimately is placed into the URL, but it is not uncommon to have something along the lines of:
> ValueEncoderSource encoderSource;
> ...
> link.addParameter("myparam", encoderSource.getValueEncoder(MyClass.class).toClient(myvalue));
> It would be nice for PageRenderLinkSource to have an "addParameter(String, Object)" method in addition to the addParameter(String, String) method. Users needing absolute control of the way parameters appear would retain that control, and the rest of us can write less code.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (TAP5-1494) PageRenderLinkSource should provide
an "addParameter(String, Object)" method that uses ValueEncoder to coerce
the Object to string automatically
Posted by "Robert Zeigler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Zeigler reassigned TAP5-1494:
------------------------------------
Assignee: Robert Zeigler
> PageRenderLinkSource should provide an "addParameter(String, Object)" method that uses ValueEncoder to coerce the Object to string automatically
> ------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: TAP5-1494
> URL: https://issues.apache.org/jira/browse/TAP5-1494
> Project: Tapestry 5
> Issue Type: Improvement
> Components: tapestry-core
> Affects Versions: 5.3
> Reporter: Robert Zeigler
> Assignee: Robert Zeigler
> Priority: Minor
>
> Currently, PageRenderLinkSource provides an "addParameter(String, String)" object. This is nice for allowing the fullest control over what ultimately is placed into the URL, but it is not uncommon to have something along the lines of:
> ValueEncoderSource encoderSource;
> ...
> link.addParameter("myparam", encoderSource.getValueEncoder(MyClass.class).toClient(myvalue));
> It would be nice for PageRenderLinkSource to have an "addParameter(String, Object)" method in addition to the addParameter(String, String) method. Users needing absolute control of the way parameters appear would retain that control, and the rest of us can write less code.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (TAP5-1494) PageRenderLinkSource should provide
an "addParameter(String, Object)" method that uses ValueEncoder to coerce
the Object to string automatically
Posted by "Robert Zeigler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13015037#comment-13015037 ]
Robert Zeigler commented on TAP5-1494:
--------------------------------------
Heh. Nice. My bad... I noticed the gap while working on a Tapestry 5.1 project. That'll learn me to double check the current source!
> PageRenderLinkSource should provide an "addParameter(String, Object)" method that uses ValueEncoder to coerce the Object to string automatically
> ------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: TAP5-1494
> URL: https://issues.apache.org/jira/browse/TAP5-1494
> Project: Tapestry 5
> Issue Type: Improvement
> Components: tapestry-core
> Affects Versions: 5.3
> Reporter: Robert Zeigler
> Assignee: Robert Zeigler
> Priority: Minor
>
> Currently, PageRenderLinkSource provides an "addParameter(String, String)" object. This is nice for allowing the fullest control over what ultimately is placed into the URL, but it is not uncommon to have something along the lines of:
> ValueEncoderSource encoderSource;
> ...
> link.addParameter("myparam", encoderSource.getValueEncoder(MyClass.class).toClient(myvalue));
> It would be nice for PageRenderLinkSource to have an "addParameter(String, Object)" method in addition to the addParameter(String, String) method. Users needing absolute control of the way parameters appear would retain that control, and the rest of us can write less code.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira