struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Tiernay (JIRA)" <j...@apache.org>
Subject [jira] Commented: (WW-3033) s:form tag generates markup with id attribute values containing hypens '-' replaced with underscores '_'
Date Thu, 12 Mar 2009 11:52:02 GMT

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

Bob Tiernay commented on WW-3033:
---------------------------------

I have just updated my app from 2.0.11 and this broke all my jquery javascript that relies
on the preservation of id attributes as specified in the tag invocation. I'm sure I'm not
alone in my situation. The other tags seem to generate markup correctly. Is there a way to
disable this functionality? If not, perhaps there should be a struts property that affects
this behavior and certainly updated documentation and added to the migration guide.

Thanks in advance,

Bob 

> s:form tag generates markup with id attribute values containing hypens '-' replaced with
underscores '_'
> --------------------------------------------------------------------------------------------------------
>
>                 Key: WW-3033
>                 URL: https://issues.apache.org/struts/browse/WW-3033
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Tags
>    Affects Versions: 2.1.6
>            Reporter: Bob Tiernay
>
> <s:form id="order-details-form" ...
> produces:
> <form id="order_details_form" ...

-- 
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