RE: Format Date Question

2004-10-01 Thread Robert Taylor
In JSP2.0 you could use JSTL fn:toUpperCase() after you format the date.

c:set var=upperDate value=${fn:toUpperCase(formattedDate}/

robert

 -Original Message-
 From: CRANFORD, CHRIS [mailto:[EMAIL PROTECTED]
 Sent: Friday, October 01, 2004 2:50 PM
 To: '[EMAIL PROTECTED]'
 Subject: Format Date Question
 
 
 I am using the fmt:formateDate taglib with a pattern in order to present
 dates in a specified format.  Ideally we'd like to output our dates as such
 02-APR-2004 instead of 02-Apr-2004.  Is there any pattern or way I could
 force format date to output the date in uppercase?
 
 ___
 Chris Cranford
 Programmer/Developer
 SETECH Inc.  Companies
 6302 Fairview Rd, Suite 201
 Charlotte, NC  28210
 Phone: (704) 362-9423, Fax: (704) 362-9409, Mobile: (704) 650-1042 
 Email: [EMAIL PROTECTED]
 
 

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



RE: Format Date Question

2004-10-01 Thread CRANFORD, CHRIS
I ended up grabbing the strings taglib and wrapped it as follows:

string:upperCase
  fmt:formatDate value=${transaction.transactionDate}
pattern=dd-MMM-/
/string:upperCase

This works great.  I don't think we're using the JSTL library yet that
includes the fn:toUpperCase functionality...  How can I verify that?

Thanks
Chris

-Original Message-
From: Robert Taylor [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 01, 2004 3:16 PM
To: Struts Users Mailing List
Subject: RE: Format Date Question


In JSP2.0 you could use JSTL fn:toUpperCase() after you format the date.

c:set var=upperDate value=${fn:toUpperCase(formattedDate}/

robert

 -Original Message-
 From: CRANFORD, CHRIS [mailto:[EMAIL PROTECTED]
 Sent: Friday, October 01, 2004 2:50 PM
 To: '[EMAIL PROTECTED]'
 Subject: Format Date Question
 
 
 I am using the fmt:formateDate taglib with a pattern in order to 
 present dates in a specified format.  Ideally we'd like to output our 
 dates as such 02-APR-2004 instead of 02-Apr-2004.  Is there any 
 pattern or way I could force format date to output the date in 
 uppercase?
 
 ___
 Chris Cranford
 Programmer/Developer
 SETECH Inc.  Companies
 6302 Fairview Rd, Suite 201
 Charlotte, NC  28210
 Phone: (704) 362-9423, Fax: (704) 362-9409, Mobile: (704) 650-1042
 Email: [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]



RE: Format Date Question

2004-10-01 Thread Robert Taylor
Well, you could try to use and if it works, then your container
supports it :) else

robert

 -Original Message-
 From: CRANFORD, CHRIS [mailto:[EMAIL PROTECTED]
 Sent: Friday, October 01, 2004 3:21 PM
 To: 'Struts Users Mailing List'
 Subject: RE: Format Date Question
 
 
 I ended up grabbing the strings taglib and wrapped it as follows:
 
 string:upperCase
   fmt:formatDate value=${transaction.transactionDate}
 pattern=dd-MMM-/
 /string:upperCase
 
 This works great.  I don't think we're using the JSTL library yet that
 includes the fn:toUpperCase functionality...  How can I verify that?
 
 Thanks
 Chris
 
 -Original Message-
 From: Robert Taylor [mailto:[EMAIL PROTECTED] 
 Sent: Friday, October 01, 2004 3:16 PM
 To: Struts Users Mailing List
 Subject: RE: Format Date Question
 
 
 In JSP2.0 you could use JSTL fn:toUpperCase() after you format the date.
 
 c:set var=upperDate value=${fn:toUpperCase(formattedDate}/
 
 robert
 
  -Original Message-
  From: CRANFORD, CHRIS [mailto:[EMAIL PROTECTED]
  Sent: Friday, October 01, 2004 2:50 PM
  To: '[EMAIL PROTECTED]'
  Subject: Format Date Question
  
  
  I am using the fmt:formateDate taglib with a pattern in order to 
  present dates in a specified format.  Ideally we'd like to output our 
  dates as such 02-APR-2004 instead of 02-Apr-2004.  Is there any 
  pattern or way I could force format date to output the date in 
  uppercase?
  
  ___
  Chris Cranford
  Programmer/Developer
  SETECH Inc.  Companies
  6302 Fairview Rd, Suite 201
  Charlotte, NC  28210
  Phone: (704) 362-9423, Fax: (704) 362-9409, Mobile: (704) 650-1042
  Email: [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]
 
 

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