Johannes Geppert wrote:
> 
> Try it with this:
> 
>       <s:url id="url" action="get-ccf-data" method="getParameterList">
>       <s:param name="displayGroup"<s:property/></s:param>
>       </s:url>
> 
> 

When I try this, it fails because the <s:param> tag is not closed properly.
In an attempt to go back to basics I've hard coded the value attribute of
the <s:param> tag and I've now got;

<s:iterator status="stat" value="config.groupList" >
<s:url id="url1" action="get-ccf-data">
        <s:param name="displayGroup" value="Test"/>
      </s:url>
 
  ${url1} <s:property/> <br />     
 <s:a href="%{url1}"><s:property/></s:a><br />
  <s:property value= "><s:property /> <br />
</s:iterator>

When I view the generated html I see

/genesis/get-ccf-data Group 1 <br />     
/genesis/get-ccf-data Group 1 <br />
/genesis/get-ccf-data Group 1 <br />

The <s:param> tag seems to be being ignored. I've tried with
includeParams="none", "all" and "get" with the same results. Is there some
global property I've got to set to get the URL tag to recognise the param
tag. This is with Struts 2.1.8

Regards

-- 
View this message in context: 
http://old.nabble.com/How-to-nest-Struts-Tags-tp27062761p27073372.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to