Yes. In that case, "aux" will be a page-scoped variable whose value is the
result of trimming the string produced by the <thevaluetag/> tag.

Quoting Helios Alonso <[EMAIL PROTECTED]>:

> Would it work?
> 
> <c:set var="aux"><thevaluetag/></c:set>
> <othertag attibute="${aux}"/>
> 
> At 08:18 24/08/2004 -0400, you wrote:
> >You can't use one tag as an attribute value for another tag...
> >
> >Quoting kalyan inuganti <[EMAIL PROTECTED]>:
> >
> > > Hi,
> > > I have some thing like -
> > >
> > > <c:choose>
> > >                               <c:when test='${registrationForm.dobYear
> !=
> > > ""}'>
> > >                                   <date:complete monthName="dobMonth"
> > > dayName="dobDay" yearName="dobYear" dayValue="<c:out
> > > value='${registrationForm.dobDay}'/>"
> > > monthValue="<c:out
> > > value='${registrationForm.dobMonth}'/>"
> > > yearValue="<c:out
> > > value='${registrationForm.dobYear}'/>" />
> > >                               </c:when>
> > >                              <c:otherwise>
> > >                                   <date:complete monthName="dobMonth"
> > > dayName="dobDay" yearName="dobYear" />
> > >                              </c:otherwise>
> > >                           </c:choose>
> > > However, the value that is being passed to the
> > > date:complete tag for dayValue, monthValue, and
> > > yearValue are the exact strings eg. <c:out
> > > value='${registrationForm.dobMonth}'/>. If i print the
> > > same thing out on the page it prints the value. It
> > > looks pretty obvious to me that nesting the tags is
> > > blocking interpretation of the inner tag. Any
> > > suggestions please?
> > >
> > > Thanks,
> > > -kalyan
> >
> >--
> >Kris Schneider <mailto:[EMAIL PROTECTED]>
> >D.O.Tech       <http://www.dotech.com/>

-- 
Kris Schneider <mailto:[EMAIL PROTECTED]>
D.O.Tech       <http://www.dotech.com/>

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

Reply via email to