Note that this only works in a JSP 2.0 container, with the EL enabled.
If you're using Tomcat 4, or you haven't enabled the Servlet 2.4 version
of web.xml, or other hand-waving, then this won't work.  However, this
is the best way to do it, if you can get it.

> -----Original Message-----
> From: Helios Alonso [mailto:[EMAIL PROTECTED] 
> 
> Try
> <custom:shipping state="${state}"/>
> 
> The ${state} is the var you want to "write" with bean:write.
> 
> At 11:48 27/09/2004 +0530, you wrote:
> >It is a parameter to be passed.
> >
> >rgds
> >Anto Paul
> >
> >
> >On Sun, 26 Sep 2004 22:27:22 -0700, Martin Cooper 
> <[EMAIL PROTECTED]> 
> >wrote:
> > > On Mon, 27 Sep 2004 10:22:16 +0530, Anto Paul 
> <[EMAIL PROTECTED]> 
> > > wrote:
> > > > Hi all,
> > > >  Is it possible to put a custom tag inside another custom tag.
> > >
> > > No, it's not. It is not legal JSP syntax, and is also not 
> legal XML 
> > > syntax. You'll need to use something like:
> > >
> > > <custom:shipping>
> > >    <bean:write name="state"/>
> > > </custom:shipping>
> > >
> > > --
> > > Martin Cooper
> > >
> > >
> > > > Both
> > > > tags rtexprvalue is true. I tried
> > > > <custom:shipping state='<bean:write name="state"/>'/>
> > > >
> > > > But it prints as <bean:write name="state"/>.
> > > >
> > > > Thanks in advance.
> > > > Anto Paul
> > > >
> > > > --
> > > > To strive,to seek,to find and not to yield
> > > >
> > > > 
> ------------------------------------------------------------------
> > > > ---
> > > > To unsubscribe, e-mail: 
> [EMAIL PROTECTED]
> > > > For additional commands, e-mail: 
> [EMAIL PROTECTED]
> > > >
> > > >
> > >
> >
> >
> >
> >--
> >To strive,to seek,to find and not to yield
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to