You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Gunnar Hillert (JIRA)" <ji...@apache.org> on 2007/10/24 17:51:39 UTC

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

s:param tag should allow values to be set in the body-content area
------------------------------------------------------------------

                 Key: WW-2273
                 URL: https://issues.apache.org/struts/browse/WW-2273
             Project: Struts 2
          Issue Type: Improvement
          Components: Views
            Reporter: Gunnar Hillert


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.


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

Posted by "Don Brown (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-2273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Don Brown updated WW-2273:
--------------------------

    Fix Version/s:     (was: 2.1.4)
                   Future

> s:param tag should allow values to be set in the body-content area
> ------------------------------------------------------------------
>
>                 Key: WW-2273
>                 URL: https://issues.apache.org/struts/browse/WW-2273
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Plugin - Tags
>            Reporter: Gunnar Hillert
>             Fix For: Future
>
>
> 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.


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

Posted by "Musachy Barroso (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-2273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Musachy Barroso updated WW-2273:
--------------------------------

    Fix Version/s:     (was: Future)
                   2.1.9

> s:param tag should allow values to be set in the body-content area
> ------------------------------------------------------------------
>
>                 Key: WW-2273
>                 URL: https://issues.apache.org/struts/browse/WW-2273
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Plugin - Tags
>            Reporter: Gunnar Hillert
>             Fix For: 2.1.9
>
>
> 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.