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}/
/
the problem is that it is getting traslated to
html:text
the %@ taglib % thingy for the html taglib in your JSP?
-Max
- Original Message -
From: Rahul Mohan [EMAIL PROTECTED]
To: struts [EMAIL PROTECTED]
Sent: Wednesday, January 07, 2004 11:47 PM
Subject: c:out tag inside html:text tag
Hi...I am facing some problems with using JSTL tags inside struts
Cooper [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]; Rahul
Mohan [EMAIL PROTECTED]
Sent: Wednesday, February 04, 2004 1:45 PM
Subject: Re: c:out tag inside html:text tag
Two issues may be at work here:
1. It isn't valid to have a JSP tag render an attribute value
List
Subject: Re: c:out tag inside html:text tag
Hi Max,
Thanks for the reply...
I have found a work around for the problem...but it looks wierd!!
These are the steps I performed:
1. I am setting the styleVar as follows:
c:set var=styleVar
c:choose
: Wednesday, February 04, 2004 2:42 PM
Subject: RE: c:out tag inside html:text tag
Might be your nested quotes . try using different quote characters to
define the nested string ie.
style='%=pageContext.findAttribute(styleVar).toString()%'
S.
-Original Message-
From: Rahul Mohan
PROTECTED]
Sent: Wednesday, February 04, 2004 2:42 PM
Subject: RE: c:out tag inside html:text tag
Might be your nested quotes . try using different quote characters to
define the nested string ie.
style='%=pageContext.findAttribute(styleVar).toString()%'
S.
-Original
any idea?
- Original Message -
From: Glenn, Scott [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Wednesday, February 04, 2004 2:42 PM
Subject: RE: c:out tag inside html:text tag
Might be your nested quotes . try using different
' [EMAIL PROTECTED]
Sent: Wednesday, February 04, 2004 2:42 PM
Subject: RE: c:out tag inside html:text tag
Might be your nested quotes . try using different quote characters
to
define the nested string ie.
style='%=pageContext.findAttribute(styleVar).toString()%'
S
8 matches
Mail list logo