[prev in list] [next in list] [prev in thread] [next in thread] 

List:       struts-user
Subject:    RE: Using "bean:write" as a tag's value atrribute
From:       Mailing List <mailinglist () pdpsoft ! com>
Date:       2004-01-31 14:24:20
Message-ID: 605C30FF35D20248809F09932799F43239CC20 () MAIL ! pdpsoft ! com
[Download RAW message or body]



Thank you very much 
Bean:define solved the problem



-----Original Message-----
From: Nicolas De Loof [mailto:nicolas.deloof@cgey.com] 
Sent: Thursday, January 29, 2004 3:45 PM
To: Struts Users Mailing List
Subject: Re: Using "bean:write" as a tag's value atrribute


<bean:define id="value" name="myBeanName" property="its property">
<someTag value="<%= value %>">

Nico.



> 
> Dear All;
> 
> Using <bean:write name="myBeanName" property="its property"> works
properly
> in my jsp page body. But when I want to use it in a tag to fill its
> attribute, it fails.
>  Actually I don't know the syntax of using bean:write, obviously the below
> way is wrong:
> 
> <someTag value="<bean:write name="myBeanName" property="its property">">
> 
> Using expression is wrong, too:
> 
> <someTag 
>      value="<%=<bean:write name="myBeanName" property="its property">%>">
> 
> So how could I use bean:write in my tags?!
> 
> Any help would be greatly appreciated
> Nafise
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic