struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pavan reddy <pavanredd...@yahoo.co.in>
Subject Re: how do we pass in bean property to html attribute
Date Tue, 11 Sep 2007 13:57:51 GMT
well i tried it either ways it says bean has  no value

P

----- Original Message ----
From: Antonio Petrelli <antonio.petrelli@gmail.com>
To: Struts Users Mailing List <user@struts.apache.org>
Sent: Tuesday, 11 September, 2007 9:49:29 AM
Subject: Re: how do we pass in bean property to html attribute


2007/9/11, pavan reddy <pavanreddyat@yahoo.co.in>:
>
> an html attribute should be passed  in quotes, removing doesnt really help


In your example there are both single and double quotes: the double ones
interfere with the ones that you use in <bean:write> tag.
HTML attributes can have either single or double quotes: you can choose
among them.
BTW did you try removing the double quotes?

Antonio


      Unlimited freedom, unlimited storage. Get it now, on http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message