struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laurie Harper <lau...@holoweb.net>
Subject Re: How to do the following in S@
Date Tue, 22 May 2007 21:58:30 GMT
Did you try this?

   <s:url id="url" action="%{testID.actionName}"/>

L.

tom tom wrote:
> Hi,
> 
> One page we got a Iterator containing the Action
> Names, which means Actions names are not known
> earlier,
> 
> How can we retrieve the value inside the URL tag.
> 
> How can we retrieve the dynamic action names like this
> in S2
> 
> that is in <s:url tag how to give a dynamic action
> value from the iterator
> 
> <s:iterator id="testID" value="#session.xxxxxxx">
>         <tr>
>           <td valign="middle" bgcolor="white" >
> 			
> <s:url id="url" action="<NEED TO GET FROM testID e.g
> testID.actionName >">
> 
> <s:param name="subjectYear" value="year" id="course"
> />
> <s:param name="courseId" value="courseId"
> id="course"/>
> 			</s:url>
>             
> 	        <s:a href="%{url}">
> 			         <span id="blue">
> 		           		 Subjects
> 		           	 </span>
> 	        </s:a>
>           </td>
>  </s:iterator>
> 
> 
>        
> ____________________________________________________________________________________Boardwalk
for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo!
Games.
> http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow  


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


Mime
View raw message