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
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
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
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
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
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
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
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
8 matches
Mail list logo