While it's dirty, you can use a scriptlet variable to specify the dynamic value in a struts html tag.
<% Object isEditable = "false"; %> <html:text property="myproperty" readonly="<%= isEditable %>"/> It gets even dirtier when the variable you wish to expose already exists in some scope. Hopefully you know the scope. Assuming it's In the request scope: <% Object isEditable = request.getAttribute("isEditable"); %> <html:text property="myproperty" readonly="<%= isEditable %>"/> Did I mention this is a very dirty approach? -----Original Message----- From: D'Ottavio Alessandro [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2008 10:18 AM To: Struts Users Mailing List Subject: R: R: TAG embeded inside TAG struts 1 IBM WebSphere 5 No good for JSP 2.0 and Servlet 2.4 That mean if I want to set particulars attribute about the input field of forms like disabled, maxlength, readonly, with a EL expression I can't use the <html:text> tag, but normal HTML. That mean that with my Application Server version I can't set any attribute dynamically inside the STRUTS TAG? Ing. Alessandro D'Ottavio Elsag Datamat S.p.A. - Banking & Finance Division Financing Systems Area Department - Tadawul Via Naide 43 - 00155 - Rome Italy Fax Number : +39 06 22796324 Office : +39 06 22724617 Mobile : +39 3349067696 e-mail : [EMAIL PROTECTED] -----Messaggio originale----- Da: Antonio [mailto:[EMAIL PROTECTED] Inviato: giovedì 23 ottobre 2008 16.01 A: Struts Users Mailing List Oggetto: Re: R: TAG embeded inside TAG struts 1 Il 23 ottobre 2008 15.54, D'Ottavio Alessandro <[EMAIL PROTECTED]> ha scritto: > I'm using struts 1.3.8 and JSTL 1.0.6 JSP 1.2 This is the problem, you need at least JSP 2.0 and Servlet 2.4 (and JSTL 1.1.x). What application server are you using? Antonio --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] "Questo messaggio ed ogni suo allegato sono confidenziali e possono essere riservati o, comunque, protetti dall'essere diffusi. Se il ricevente non é il destinatario diretto del presente messaggio, é pregato di contattare l'originario mittente e di cancellare questo messaggio ed ogni suo allegato dal sistema di posta. Se il ricevente non é il destinatario diretto del presente messaggio, sono vietati l'uso, la riproduzione e la stampa di questo messaggio e di ogni suo allegato, nonché la diffusione del loro contenuto a qualsiasi altro soggetto" ***** "This message and any attachment are confidential and may be privileged or otherwise protected from disclosure. If you are not the intended recipient, please contact the sender and delete this message and any attachment from your system. If you are not the intended recipient you must not use, copy or print this message or attachment or disclose the contents to any other person." --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Notice: This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, New Jersey, USA 08889), and/or its affiliates (which may be known outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD and in Japan, as Banyu - direct contact information for affiliates is available at http://www.merck.com/contact/contacts.html) that may be confidential, proprietary copyrighted and/or legally privileged. It is intended solely for the use of the individual or entity named on this message. If you are not the intended recipient, and have received this message in error, please notify us immediately by reply e-mail and then delete it from your system. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]