You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (JIRA)" <ji...@apache.org> on 2010/03/16 15:42:27 UTC

[jira] Closed: (WW-2273) s:param tag should allow values to be set in the body-content area

     [ https://issues.apache.org/jira/browse/WW-2273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukasz Lenart closed WW-2273.
-----------------------------

    Resolution: Not A Problem
      Assignee: Lukasz Lenart

> s:param tag should allow values to be set in the body-content area
> ------------------------------------------------------------------
>
>                 Key: WW-2273
>                 URL: https://issues.apache.org/jira/browse/WW-2273
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Plugin - Tags
>            Reporter: Gunnar Hillert
>            Assignee: Lukasz Lenart
>             Fix For: 2.1.9
>
>         Attachments: paramtag.patch.zip
>
>
> Right now the content tag only works this way:
> <s:param value="22"></s:param>
> However, it would be nice if I could specify the value using the following syntax as well:
> <s:param>22</s:param>
> That would also make it behave similar to the JSTL tag equivalent:
> (From the spec, jstl-1_0-fr-spec.pdf, page: 7-75)
>     Syntax 1: Parameter value specified in attribute "value"
>         <c:param name="name" value="value"/>
>     Syntax 2: Parameter value specified in the body content
>         <c:param name="name">
>             parameter value
>         </c:param>
> </c:param>

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