You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Mohan Radhakrishnan <Mo...@hclcomnet.co.in> on 2002/12/16 11:07:19 UTC
Replacement values
Hi,
I am trying to iterate over values in my form bean.
<logic:iterate id="item" name="myForm" property="x">
<bean:message key="somevalue" arg0="item"/>
</logic:iterate>
The above prints the string "item" for the replacement value.
Shouldn't it print the value iterated over the String[] which is the type
of the property in my form bean ?
Even bean:write throws " bean not found in scope null " error.
"myForm" is in the session scope according the config file.
Thanks,
Mohan
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>