struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jon Moores (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-3804) tag s:radio does not support dynamic attributes
Date Mon, 25 Jun 2012 13:49:43 GMT

    [ https://issues.apache.org/jira/browse/WW-3804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13400478#comment-13400478
] 

Jon Moores commented on WW-3804:
--------------------------------

I havent run the test locally but I updated my struts jars to the new version and added the
html below to my page:

<tr>
    <td class="tdLabel"><label for="myname" class="label">mylabel:</label></td>
    <td>
        <s:radio name="myname" id="mynamehello" value="hello" list="#{'ALL': 'All Instructions'}"
dojo="checked:hello"/><label for="mynamehello">world</label>
        <s:radio name="myname" id="mynamefoo" list="#{'ALL': 'All Instructions'}" value="foo"
dojo="checked:foo"/><label for="mynamefoo">bar</label>
    </td>
</tr>

and I get the error. Also the docs for 2.3.4 explicitly say 'dynamic attributes allowed: false'

Error Message:
JSPG0227E: Exception caught while translating /tradingCentre/fund_orders.jsp:  /tradingCentre/fund_orders.jsp(54,9)
--> JSPG0123E: Unable to locate tag attribute info for tag attribute dojo.
                
> tag s:radio does not support dynamic attributes
> -----------------------------------------------
>
>                 Key: WW-3804
>                 URL: https://issues.apache.org/jira/browse/WW-3804
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Plugin - Tags
>    Affects Versions: 2.3.3
>            Reporter: Jose L Martinez-Avial
>            Assignee: Lukasz Lenart
>            Priority: Minor
>              Labels: dynamic, tag
>             Fix For: 2.3.4
>
>
> The tag s:radio does not support dynamic attributes. As a result, integration with javascript
frameworks like Dojo does not work (it's not possible to setup the attribute dojoType or data-dojo-type)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message