How can I declare property as variable element?,
September 20, 2010 at 5:18 PM
Hello everybody, I would like to set the 'property' attribute with a variable element. Ex: * this works well (but hard coded) <bean:define id="blocAR6" name="hmp" property="TDV136" /> * I would like to use a retrievd from bean value as 'property' attribute. ( <nested:define id="idAR" property="idBlocAR" /> this line is OK) but I can not set it nor by ...property="idAR"... neither by ...property="<nested:write name="idAR" />"... neither ...property="${idAR}"...
Which grammar can I use ? I would like avoid Java inclusion (<%=...%>) in JSP. This is a struts1 project.