Lukasz Lenart created WW-5302:
---------------------------------
Summary: Autogenerated html ID bases on unevaluated value of the
name sttribute
Key: WW-5302
URL: https://issues.apache.org/jira/browse/WW-5302
Project: Struts 2
Issue Type: Bug
Components: Core
Reporter: Lukasz Lenart
Fix For: 6.2.0
Using tag like this
{code:html}
<s:set var="mainAction">entryEdit</s:set>
<s:submit cssClass="btn btn-warning"
value="%{getText('weblogEdit.save')}"
action="%{#mainAction}!saveDraft"/>
{code}
renders:
{code:html}
<input type="submit" value="Save as Draft"
id="entry____mainAction__saveDraft" name="action:entryAdd!saveDraft"
class="btn btn-warning">
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)