RE: out tag inside html:text tag

2004-02-04 Thread Slattery, Tim - BLS
Hi...I am facing some problems with using JSTL tags inside struts tags. This is the piece of code I wrote for my application: html:text name=Customer property =Name maxlength=256 size=256 style=c:out value=${styleVar}/ / You can't nest tags, so this syntax just is not

RE: out tag inside html:text tag

2004-02-04 Thread Andy Kriger
Try using the struts-el tag library It's an extension of the struts taglib that allows you to use JSTL EL So you example becomes... html-el:text style=${styleVar} .../ -Original Message- From: Rahul Mohan [mailto:[EMAIL PROTECTED] Sent: Thursday, January 08, 2004 2:48 AM To: struts

RE: out tag inside html:text tag

2004-02-04 Thread Gopalakrishnan, Jayesh
Do you have the %@ taglib uri=struts-html prefix=html % line in the JSP...I guess you do? Don't know why it wouldn't work. I can only suggest using the bean:define %=styleVar% combination ... -jayash -Original Message- From: Rahul Mohan [mailto:[EMAIL PROTECTED] Sent: Wednesday,

RE: out tag inside html:text tag

2004-02-04 Thread Karr, David
As other posters pointed out, just use Struts-EL, and you'll end up with: html:text name=Customer property =Name maxlength=256 size=256 style=${styleVar} / Note that I recommend using the same prefix with Struts-EL as you do with the base library, although my earlier documentation