You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "zhouyanming (JIRA)" <ji...@apache.org> on 2009/07/02 09:39:59 UTC
[jira] Created: (WW-3174) Update UI tags in freemarker to allow
custom html tag attributes
Update UI tags in freemarker to allow custom html tag attributes
----------------------------------------------------------------
Key: WW-3174
URL: https://issues.apache.org/struts/browse/WW-3174
Project: Struts 2
Issue Type: Improvement
Affects Versions: 2.1.7
Reporter: zhouyanming
Assignee: James Holmes
please see https://issues.apache.org/struts/browse/WW-2092
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (WW-3174) Update UI tags in freemarker to allow
custom html tag attributes
Posted by "Musachy Barroso (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-3174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47095#action_47095 ]
Musachy Barroso commented on WW-3174:
-------------------------------------
dont we already have this?
> Update UI tags in freemarker to allow custom html tag attributes
> ----------------------------------------------------------------
>
> Key: WW-3174
> URL: https://issues.apache.org/struts/browse/WW-3174
> Project: Struts 2
> Issue Type: Improvement
> Affects Versions: 2.1.8
> Reporter: zhouyanming
> Assignee: Musachy Barroso
>
> please see https://issues.apache.org/struts/browse/WW-2092
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (WW-3174) Update UI tags in freemarker to allow
custom html tag attributes
Posted by "zhouyanming (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-3174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47103#action_47103 ]
zhouyanming commented on WW-3174:
---------------------------------
http://freemarker.sourceforge.net/docs/ref_directive_macro.html
<#macro img src extra...>
<img src="/context${src?html}"
<#list extra?keys as attr>
${attr}="${extra[attr]?html}"
</#list>
>
</#macro>
<@img src="/images/test.png" width=100 height=50 alt="Test"/>
> Update UI tags in freemarker to allow custom html tag attributes
> ----------------------------------------------------------------
>
> Key: WW-3174
> URL: https://issues.apache.org/struts/browse/WW-3174
> Project: Struts 2
> Issue Type: Improvement
> Affects Versions: 2.1.8
> Reporter: zhouyanming
> Assignee: Musachy Barroso
>
> please see https://issues.apache.org/struts/browse/WW-2092
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (WW-3174) Update UI tags in freemarker to allow
custom html tag attributes
Posted by "zhouyanming (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-3174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
zhouyanming reassigned WW-3174:
-------------------------------
Assignee: Musachy Barroso (was: James Holmes)
seems only you are active this time
> Update UI tags in freemarker to allow custom html tag attributes
> ----------------------------------------------------------------
>
> Key: WW-3174
> URL: https://issues.apache.org/struts/browse/WW-3174
> Project: Struts 2
> Issue Type: Improvement
> Affects Versions: 2.1.8
> Reporter: zhouyanming
> Assignee: Musachy Barroso
>
> please see https://issues.apache.org/struts/browse/WW-2092
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (WW-3174) Update UI tags in freemarker to allow
custom html tag attributes
Posted by "Wes Wannemacher (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-3174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47097#action_47097 ]
Wes Wannemacher commented on WW-3174:
-------------------------------------
Yeah, as far as I know most of the tags already do this... Is there a particular tag that isn't doing what you want?
> Update UI tags in freemarker to allow custom html tag attributes
> ----------------------------------------------------------------
>
> Key: WW-3174
> URL: https://issues.apache.org/struts/browse/WW-3174
> Project: Struts 2
> Issue Type: Improvement
> Affects Versions: 2.1.8
> Reporter: zhouyanming
> Assignee: Musachy Barroso
>
> please see https://issues.apache.org/struts/browse/WW-2092
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (WW-3174) Update UI tags in freemarker to allow
custom html tag attributes
Posted by "Musachy Barroso (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-3174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47102#action_47102 ]
Musachy Barroso commented on WW-3174:
-------------------------------------
I am not sure this can be done with freemarker, unless we create a super attribute that will take a map of the dynamic attributes, like
<@s.a dyn="%{'key', 'value', 'key2', 'val2'}" ../>
> Update UI tags in freemarker to allow custom html tag attributes
> ----------------------------------------------------------------
>
> Key: WW-3174
> URL: https://issues.apache.org/struts/browse/WW-3174
> Project: Struts 2
> Issue Type: Improvement
> Affects Versions: 2.1.8
> Reporter: zhouyanming
> Assignee: Musachy Barroso
>
> please see https://issues.apache.org/struts/browse/WW-2092
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (WW-3174) Update UI tags in freemarker to allow
custom html tag attributes
Posted by "zhouyanming (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-3174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47101#action_47101 ]
zhouyanming commented on WW-3174:
---------------------------------
done with jsp not freemarker
> Update UI tags in freemarker to allow custom html tag attributes
> ----------------------------------------------------------------
>
> Key: WW-3174
> URL: https://issues.apache.org/struts/browse/WW-3174
> Project: Struts 2
> Issue Type: Improvement
> Affects Versions: 2.1.8
> Reporter: zhouyanming
> Assignee: Musachy Barroso
>
> please see https://issues.apache.org/struts/browse/WW-2092
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (WW-3174) Update UI tags in freemarker to allow
custom html tag attributes
Posted by "Jasper Rosenberg (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-3174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47100#action_47100 ]
Jasper Rosenberg commented on WW-3174:
--------------------------------------
I need it form elements (so I can pass in some random facebook form attribute extensions.) It has been a while since I entered this issue, but my memory is that it doesn't work with freemarker.
> Update UI tags in freemarker to allow custom html tag attributes
> ----------------------------------------------------------------
>
> Key: WW-3174
> URL: https://issues.apache.org/struts/browse/WW-3174
> Project: Struts 2
> Issue Type: Improvement
> Affects Versions: 2.1.8
> Reporter: zhouyanming
> Assignee: Musachy Barroso
>
> please see https://issues.apache.org/struts/browse/WW-2092
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.