Now I have the latest version, Struts1.1b. Instead i now get the 
error message:

Unable to find the setter method for attribute 'indexed'

This is my code:
logic:iterate id="fond" name="flyttaFonderForm" property="fonder" 
 indexId="fondnummer">   
   <tr>
        <td><bean:write name="fond"/>
        <html:text indexed="true" name="flyttaFonderForm" 
 property="fonder"></html:text></td>
    </tr>                                               
 </logic:iterate>

What can I do to make it work?

Regards, Ulrika



--- In [EMAIL PROTECTED], "Vaddiyar, Raghuramudu" 
<[EMAIL PROTECTED]> wrote:
> Which version of Struts you are using?.
> 
> The message 'attribute indexed invalid according to the specified
> TLD'---means that
> the tlds you are using does not support this attribute.
> 
> Indexing text fileds will not work with Struts 1.0.2. Use 
Struts1.1b. And
> the value for 
> the property 'indexed' is not yes. instead use "indexed=true".
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:struts@n...]
> Sent: Thursday, April 11, 2002 9:23 AM
> To: [EMAIL PROTECTED]
> Subject: How do I use the indexed attribute in the <html:text> tag?
> 
> 
> Hi,
> 
> I am iterating an array and for each row I want the user to insert 
a value.
> And 
> I want to save the value for each row when the form is submitted. 
> 
> <logic:iterate id="fond" name="flyttaFonderForm" property="fonder" 
> indexId="fondnummer">   
>   <tr>
>       <td><bean:write name="fond"/>
>       <html:text indexed=yes name="flyttaFonderForm" 
> property="fonder"></html:text></td>
>    </tr>
>                                                               
> </logic:iterate>
> 
> If I do like this I will get the following error message: 
> 'attribute indexed invalid according to the specified TLD'
> 
> 
> Trying this instead (no value for 'indexed'):
> <logic:iterate id="fond" name="flyttaFonderForm" property="fonder" 
> indexId="fondnummer">   
>   <tr>
>       <td><bean:write name="fond"/>
>       <html:text indexed name="flyttaFonderForm" 
> property="fonder"></html:text></td>
>    </tr>
>                                                               
> </logic:iterate>
> 
> And if I do like this I will get the following error message: 
> 'attribute indexed has no value'
> 
> I really need some help with this!
> 
> Regards, Ulrika
> 
> 
> --
> To unsubscribe, e-mail:
> <mailto:struts-user-unsubscribe@j...>
> For additional commands, e-mail:
> <mailto:struts-user-help@j...>
> 
> 
> 
**********************************************************************
******
> The content of this e-mail is intended only for the confidential 
use of the
> person addressed. If you have received this message in error, 
please notify
> us immediately by electronic mail, by telephone or by fax at the 
above num-
> bers.
> 
> E-mail communications are not secure and therefore we do not accept 
any res-
> ponsibility for the confidentiality or altered contents of this 
message.
> 
> Please be aware that SIS Group and its subsidiary companies cannot 
accept
> any orders or other legally binding correspondence with a 
participant as
> part of an E-mail. The views expressed above are not necessarily 
those held
> by SIS Group and its subsidiary companies and not binding for them.
> 
**********************************************************************
******
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@j...>
> For additional commands, e-mail: <mailto:struts-user-help@j...>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to