You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Michel Van Asten <mi...@projections.be> on 2007/02/19 13:01:50 UTC

expression evaluation

Hi,

I have a list of user... 
I want to display some details and add two input images near each of
them with edit and delete action associated...
I planned to add a javascript to store the name of the clicked image in
an hidden field.

The "problem" I have is that the name I will get back is an expression
users[0].uid Is there a standard or clean way to evaluate such
expression at server side ?



<nested:iterate property="users" >
	<tr>
	<td align="left" width="15%"><nested:write property="uid"/></td>
	<td align="left" width="25%"><nested:write
property="name"/></td>
	<td align="left" width="50%"><nested:write
property="email"/></td>
	<td align="left" width="10%">
	<nested:image property="uid" src="img/iconedit2.gif" >
	</nested:image>
	<nested:image src="img/icondelete.gif" >
	</nested:image>
	</td>
	</tr>
</nested:iterate>

Regards,

Michel Van Asten


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