You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by elyes sallem <el...@gmail.com> on 2009/02/04 16:03:15 UTC
property in the parent level
hello,
i wanna call a javacsript function only if a property in th form is equal to
a value
so , in th form, i have these properties , ajustContrat, currentPeriod
any one know how can i access the currentPeriod inside the
nested:iterate,i.e: how get a property in the parent level ?
here is the nested and the link where i call the javascript function
<nested:iterate indexId="index" id="ajustContrat"
property="ajustContrat">
<td colspan="1"
style="height: 23px; text-align:
center; background-color: <%= couleur %>
inactivecaptiontext;"
valign="middle"> <a href="#"
onclick="popitup(<%=((AjustContrat)ajustContrat).getAjustcontId()
%>)"><nested:write
property="CAjustComment"
/></a> </td>
Regards
Elyes.