You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Kaelin Lee <KS...@aethersystems.com> on 2001/10/05 18:17:36 UTC
using the indexId from in
Hi all,
I have some questions on the nested iterate using the indexId from the outer
iterate. Here is the example:
<logic:iterate name="testForm" id="item"
property="configurationParameterList" scope="session" indexId="paraIndex"
type="ConfigurationParameter">
<bean:write name="item" property="description"/>
<html:text name="testForm" indexed="true"
property="parameterValue[paraIndex]"size="50"/>
</logic:iterate>
The exception is Attribute indexd invalid according to the specified TLD.
It looks like the property attribute in <html:text> has to be constant. Any
ideas of passing out the indexId bean from <logic:iterate> would be greatly
appreciated.
--kaelin
Re: using the indexId from in
Posted by ma...@tumbleweed.com.
This is a question better asked on the struts-user list.
----- Original Message -----
From: "Kaelin Lee" <KS...@aethersystems.com>
To: <st...@jakarta.apache.org>
Sent: Friday, October 05, 2001 9:17 AM
Subject: using the indexId from <logic:iterate> in <html:text>
> Hi all,
>
> I have some questions on the nested iterate using the indexId from the
outer
> iterate. Here is the example:
>
> <logic:iterate name="testForm" id="item"
> property="configurationParameterList" scope="session" indexId="paraIndex"
> type="ConfigurationParameter">
> <bean:write name="item" property="description"/>
> <html:text name="testForm" indexed="true"
> property="parameterValue[paraIndex]"size="50"/>
> </logic:iterate>
>
> The exception is Attribute indexd invalid according to the specified TLD.
> It looks like the property attribute in <html:text> has to be constant.
Any
> ideas of passing out the indexId bean from <logic:iterate> would be
greatly
> appreciated.
> --kaelin
>
>