remove logic present. it works. by the way how can you get that list(hmUserPrijenosList) back in action from the request.i have that problem. is there any way to get that in the action class.
cheers. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 28 November 2005 10:20 To: user@struts.apache.org Subject: [Maybe Spam] html:select and logic:iterate I have problem with this part of code: <td class="Podaci" align="right"> <html:select property="vrstaKredita" styleClass="Podaci"> <html:option value=""></html:option> <html:option value="-">------------------------------------------------------------------ -----------------</html:option> <logic:present name="hmUserPrijenosList"> <logic:iterate id="hmUserPrijenos" name="hmUserPrijenosList"> <html:option value="<bean:write name='hmUserPrijenos' property='user-podatak-2-0'/>"><bean:write name='hmUserPrijenos' property='user-podatak-1-0'/></html:option> </logic:iterate> </logic:present> </html:select> </td> When I'm hiting submit button and having error in validation, in drop down box i get last value from hmUserPrijenosList and when submit button do not trigger validation error value that i pick from action with: request.setAttribute("vrstaKredita",otvaranjeOsnovniPodaciForm.getVrstaKredi ta()); i don't get any good value's. But when i'm working with just option and select tag (not struts html:select/option) everything is great, but when i get validion error i lose information from drop-down box. What is wrong? Stanislav --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail (and any attachments) may contain privileged and/or confidential information. If you are not the intended recipient please do not disclose, copy, distribute, disseminate or take any action in reliance on it. If you have received this message in error please reply and tell us and then delete it. Should you wish to communicate with us by e-mail we cannot guarantee the security of any data outside our own computer systems. For the protection of Legal & General's systems and staff, incoming emails will be automatically scanned. Any information contained in this message may be subject to applicable terms and conditions and must not be construed as giving investment advice within or outside the United Kingdom. The following companies are subsidiary companies of the Legal & General Group Plc which are authorised and regulated by the Financial Services Authority for advising and arranging the products shown: Legal & General Partnership Services Limited (insurance and mortgages), Legal & General Insurance Limited (insurance), Legal & General Assurance Society Limited (life assurance, pensions and investments), Legal & General Unit Trust Managers Limited and Legal & General Portfolio Management Services Limited (investments). They are registered in England under numbers shown. The registered office is Temple Court, 11 Queen Victoria Street, London EC4N 4TP. Legal & General Partnership Services Limited: 5045000 Legal & General Assurance Society Limited: 166055 Legal & General (Unit Trust Managers) Limited: 1009418 Legal & General (Portfolio Management Services) Limited: 2457525 Legal & General Insurance Limited: 423930 They are registered with the Financial Services Authority under numbers shown. You can check this at www.fsa.gov.uk/register Legal & General Partnership Services Limited: 300792 Legal & General Assurance Society Limited: 117659 Legal & General (Unit Trust Managers) Limited: 119273 Legal & General (Portfolio Management Services) Limited: 146786 Legal & General Insurance Limited: 202050 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]