tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kris Schneider <k...@dotech.com>
Subject RE: formatDate with session
Date Wed, 28 Jan 2004 18:12:11 GMT
No. You need to provide one if you want it to be used. Otherwise, it will just
perform default processing based on the formatting locale.

Quoting Zsolt Koppany <zkoppanylist@intland.com>:

> Hi Martin,
> 
> I understand that, but I mean that fmt:formatDate automatically checks a
> session variable.
> 
> Zsolt
> 
> > -----Original Message-----
> > From: Martin van Dijken [mailto:sunspam@windgazer.nl]
> > Sent: Wednesday, January 28, 2004 10:21 AM
> > To: 'Tag Libraries Users List'
> > Subject: RE: formatDate with session
> >
> >
> > Hey zsolt,
> >
> > Yes it can. Try:
> >
> > <fmt:formatDate pattern="${session_variable_name}"/>
> >
> > Where you replace session_variable_name by the attributename in the
> > session under which you placed the pattern.
> >
> > Grtz,
> >
> > Martin
> >
> > > -----Original Message-----
> > > From: Zsolt Koppany [mailto:zkoppanylist@intland.com]
> > > Sent: woensdag 28 januari 2004 9:28
> > > To: Tag Libraries Users List
> > > Subject: fmt:formatDate with session
> > >
> > >
> > > Hi,
> > >
> > > can fmt:formatDate take the pattern from a session variable?
> > > In the case I could make it user dependent.
> > >
> > > Zsolt

-- 
Kris Schneider <mailto:kris@dotech.com>
D.O.Tech       <http://www.dotech.com/>

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


Mime
View raw message