click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Naoki Takezoe (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CLK-399) Adding URL encoding method to Format
Date Mon, 27 Apr 2009 03:02:30 GMT

    [ https://issues.apache.org/jira/browse/CLK-399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12702973#action_12702973
] 

Naoki Takezoe commented on CLK-399:
-----------------------------------

Hi Malcolm,

I don't have permission to assign this issue to me...
Could you assign this issue to me?

> Adding URL encoding method to Format
> ------------------------------------
>
>                 Key: CLK-399
>                 URL: https://issues.apache.org/jira/browse/CLK-399
>             Project: Click
>          Issue Type: Improvement
>          Components: core
>            Reporter: Naoki Takezoe
>            Assignee: Malcolm Edgar
>            Priority: Minor
>
> I propose adding URL encoding method which invokes ClickUtils#encodeUrl() to net.sf.click.util.Format.
> This method is useful to assemble link URLs in the HTML template.
> ========
> public String encodeUrl(Object object){
>   return ClickUtils.encodeUrl(object, Context.getThreadLocalContext());
> }
> ========
> <a href="test.htm?name=$format.encodeUrl($name)">Link</a>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message