You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Hugo Palma (JIRA)" <ji...@apache.org> on 2009/04/09 13:33:13 UTC
[jira] Created: (TAP5-637) There should be a javascript counterpart
for the URLE
There should be a javascript counterpart for the URLE
-----------------------------------------------------
Key: TAP5-637
URL: https://issues.apache.org/jira/browse/TAP5-637
Project: Tapestry 5
Issue Type: New Feature
Reporter: Hugo Palma
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (TAP5-637) There should be a javascript counterpart
for the URLEncoder service
Posted by "Hugo Palma (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hugo Palma updated TAP5-637:
----------------------------
Attachment: url-encoder.js
This is my implementation of the URLEncoder service. Feel free to use and/or change it and incorporate in the framework.
> There should be a javascript counterpart for the URLEncoder service
> -------------------------------------------------------------------
>
> Key: TAP5-637
> URL: https://issues.apache.org/jira/browse/TAP5-637
> Project: Tapestry 5
> Issue Type: New Feature
> Components: tapestry-core
> Reporter: Hugo Palma
> Priority: Minor
> Attachments: url-encoder.js
>
>
> This is very useful if you want to build event urls in javascript.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TAP5-637) There should be a javascript
counterpart for the URLEncoder service
Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12698253#action_12698253 ]
Howard M. Lewis Ship commented on TAP5-637:
-------------------------------------------
Of course, the client-side URL encoding will break if someone overrides the server-side URL encoding.
> There should be a javascript counterpart for the URLEncoder service
> -------------------------------------------------------------------
>
> Key: TAP5-637
> URL: https://issues.apache.org/jira/browse/TAP5-637
> Project: Tapestry 5
> Issue Type: New Feature
> Components: tapestry-core
> Reporter: Hugo Palma
> Priority: Minor
> Attachments: url-encoder.js
>
>
> This is very useful if you want to build event urls in javascript.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TAP5-637) There should be a javascript
counterpart for the URLEncoder service
Posted by "Hugo Palma (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12698350#action_12698350 ]
Hugo Palma commented on TAP5-637:
---------------------------------
True, that fact should be added as a comment to the javascript counter part if it gets included in the framework.
> There should be a javascript counterpart for the URLEncoder service
> -------------------------------------------------------------------
>
> Key: TAP5-637
> URL: https://issues.apache.org/jira/browse/TAP5-637
> Project: Tapestry 5
> Issue Type: New Feature
> Components: tapestry-core
> Reporter: Hugo Palma
> Priority: Minor
> Attachments: url-encoder.js
>
>
> This is very useful if you want to build event urls in javascript.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TAP5-637) There should be a javascript
counterpart for the URLEncoder service
Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12703738#action_12703738 ]
Howard M. Lewis Ship commented on TAP5-637:
-------------------------------------------
A comment in the JS won't really help when the application stops working. I don't see me using this as is. The client shouldn't be building URLs ... at most, it should be tacking query parameters onto framework-generated URLs. In extereme cases, you should provide your own Dispatcher and build a URL to the Dispatcher, not to a page or component.
> There should be a javascript counterpart for the URLEncoder service
> -------------------------------------------------------------------
>
> Key: TAP5-637
> URL: https://issues.apache.org/jira/browse/TAP5-637
> Project: Tapestry 5
> Issue Type: New Feature
> Components: tapestry-core
> Reporter: Hugo Palma
> Priority: Minor
> Attachments: url-encoder.js
>
>
> This is very useful if you want to build event urls in javascript.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TAP5-637) There should be a javascript
counterpart for the URLEncoder service
Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12703738#action_12703738 ]
Howard M. Lewis Ship commented on TAP5-637:
-------------------------------------------
A comment in the JS won't really help when the application stops working. I don't see me using this as is. The client shouldn't be building URLs ... at most, it should be tacking query parameters onto framework-generated URLs. In extereme cases, you should provide your own Dispatcher and build a URL to the Dispatcher, not to a page or component.
> There should be a javascript counterpart for the URLEncoder service
> -------------------------------------------------------------------
>
> Key: TAP5-637
> URL: https://issues.apache.org/jira/browse/TAP5-637
> Project: Tapestry 5
> Issue Type: New Feature
> Components: tapestry-core
> Reporter: Hugo Palma
> Priority: Minor
> Attachments: url-encoder.js
>
>
> This is very useful if you want to build event urls in javascript.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TAP5-637) There should be a javascript
counterpart for the URLEncoder service
Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12698253#action_12698253 ]
Howard M. Lewis Ship commented on TAP5-637:
-------------------------------------------
Of course, the client-side URL encoding will break if someone overrides the server-side URL encoding.
> There should be a javascript counterpart for the URLEncoder service
> -------------------------------------------------------------------
>
> Key: TAP5-637
> URL: https://issues.apache.org/jira/browse/TAP5-637
> Project: Tapestry 5
> Issue Type: New Feature
> Components: tapestry-core
> Reporter: Hugo Palma
> Priority: Minor
> Attachments: url-encoder.js
>
>
> This is very useful if you want to build event urls in javascript.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (TAP5-637) There should be a javascript counterpart
for the URLEncoder service
Posted by "Hugo Palma (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hugo Palma updated TAP5-637:
----------------------------
Component/s: tapestry-core
Priority: Minor (was: Major)
Description: This is very useful if you want to build event urls in javascript.
Summary: There should be a javascript counterpart for the URLEncoder service (was: There should be a javascript counterpart for the URLE)
> There should be a javascript counterpart for the URLEncoder service
> -------------------------------------------------------------------
>
> Key: TAP5-637
> URL: https://issues.apache.org/jira/browse/TAP5-637
> Project: Tapestry 5
> Issue Type: New Feature
> Components: tapestry-core
> Reporter: Hugo Palma
> Priority: Minor
> Attachments: url-encoder.js
>
>
> This is very useful if you want to build event urls in javascript.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (TAP5-637) There should be a javascript counterpart
for the URLEncoder service
Posted by "Hugo Palma (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hugo Palma updated TAP5-637:
----------------------------
Attachment: url-encoder.js
This is my implementation of the URLEncoder service. Feel free to use and/or change it and incorporate in the framework.
> There should be a javascript counterpart for the URLEncoder service
> -------------------------------------------------------------------
>
> Key: TAP5-637
> URL: https://issues.apache.org/jira/browse/TAP5-637
> Project: Tapestry 5
> Issue Type: New Feature
> Components: tapestry-core
> Reporter: Hugo Palma
> Priority: Minor
> Attachments: url-encoder.js
>
>
> This is very useful if you want to build event urls in javascript.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TAP5-637) There should be a javascript
counterpart for the URLEncoder service
Posted by "Hugo Palma (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12698350#action_12698350 ]
Hugo Palma commented on TAP5-637:
---------------------------------
True, that fact should be added as a comment to the javascript counter part if it gets included in the framework.
> There should be a javascript counterpart for the URLEncoder service
> -------------------------------------------------------------------
>
> Key: TAP5-637
> URL: https://issues.apache.org/jira/browse/TAP5-637
> Project: Tapestry 5
> Issue Type: New Feature
> Components: tapestry-core
> Reporter: Hugo Palma
> Priority: Minor
> Attachments: url-encoder.js
>
>
> This is very useful if you want to build event urls in javascript.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (TAP5-637) There should be a javascript counterpart
for the URLEncoder service
Posted by "Hugo Palma (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hugo Palma updated TAP5-637:
----------------------------
Component/s: tapestry-core
Priority: Minor (was: Major)
Description: This is very useful if you want to build event urls in javascript.
Summary: There should be a javascript counterpart for the URLEncoder service (was: There should be a javascript counterpart for the URLE)
> There should be a javascript counterpart for the URLEncoder service
> -------------------------------------------------------------------
>
> Key: TAP5-637
> URL: https://issues.apache.org/jira/browse/TAP5-637
> Project: Tapestry 5
> Issue Type: New Feature
> Components: tapestry-core
> Reporter: Hugo Palma
> Priority: Minor
> Attachments: url-encoder.js
>
>
> This is very useful if you want to build event urls in javascript.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.