Re: how do we pass in bean property to html attribute

2007-09-11 Thread Dave Newton
From: pavan reddy <[EMAIL PROTECTED]> > when i use it normally it works , bean has no values > arises only when i pass in the value to another tags > attribute. > > attribute="''" Then my original comment still stands: you cannot nest JSP tags (although Antonio is correct that you have an unn

Re: how do we pass in bean property to html attribute

2007-09-11 Thread pavan reddy
eptember, 2007 10:01:30 AM Subject: Re: how do we pass in bean property to html attribute From: pavan reddy <[EMAIL PROTECTED]> >well i tried it either ways it says bean has no value Does the bean have a value? Have you put it in to scope? Have you checked to see if the

Re: how do we pass in bean property to html attribute

2007-09-11 Thread Dave Newton
From: pavan reddy <[EMAIL PROTECTED]> >well i tried it either ways it says bean has no value Does the bean have a value? Have you put it in to scope? Have you checked to see if the bean has a value in your action? d. - To u

Re: how do we pass in bean property to html attribute

2007-09-11 Thread Dave Newton
Isn't the issue nesting tags? Unfortunately I was not able to see the entire example from the original post, but if you put a inside another JSP tag it's going to break because you can't nest tags like that. I wouldn't think the extra quotes would stop the tag from executing. d. --- Antonio Pet

Re: how do we pass in bean property to html attribute

2007-09-11 Thread pavan reddy
well i tried it either ways it says bean has no value P - Original Message From: Antonio Petrelli <[EMAIL PROTECTED]> To: Struts Users Mailing List 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

Re: how do we pass in bean property to html attribute

2007-09-11 Thread Antonio Petrelli
2007/9/11, pavan reddy <[EMAIL PROTECTED]>: > > 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 tag. HTML attributes can have either single or double quotes

Re: how do we pass in bean property to html attribute

2007-09-11 Thread pavan reddy
an html attribute should be passed in quotes, removing doesnt really help Thanks, P - Original Message From: Antonio Petrelli <[EMAIL PROTECTED]> To: Struts Users Mailing List Sent: Tuesday, 11 September, 2007 9:35:48 AM Subject: Re: how do we pass in bean property to html att

Re: how do we pass in bean property to html attribute

2007-09-11 Thread Antonio Petrelli
2007/9/11, pavan reddy <[EMAIL PROTECTED]>: > > attribute=" '' " > > this isn't really working for me ! am i missing something ? You have too many quotes :-) Try to remove some: attribute= '' Antonio