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

Yasser Zamani commented on WW-5130:
-----------------------------------

I think it's known and expected [1]. In your case, Struts tries to evaluate 
NOT_WORKING_ID against value stack and finds nothing. To avoid evaluation as 
Object as per [1] please try:
{code:java}
<s:param name="id">SHOULD_WORKING_ID</s:param>
{code}
Please reopen if not so

[1] https://struts.apache.org/tag-developers/param-tag.html

> ID param not being set
> ----------------------
>
>                 Key: WW-5130
>                 URL: https://issues.apache.org/jira/browse/WW-5130
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Tags
>         Environment: Here you have a repo that reproduce this:
> [https://github.com/dfliess/struts2-tagpooling-bug]
>            Reporter: Diego Alejandro Fliess
>            Priority: Major
>
> Id parameter is ignored when set by struts2 param tag.
>  
> {code:xml}
> <s:checkbox key="check" id="workingId">
>     <s:param name="title">Title works</s:param>
> </s:checkbox>
> <s:checkbox key="check">
>     <s:param name="id" value="NOT_WORKING_ID"></s:param>
>     <s:param name="title">Title is working but id is'nt</s:param>
> </s:checkbox>
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to