Hi,
  Ok I found solution In struts apidoc..

I have to define the message like this 
{0,time,HH:mm}  
in application resources

regards
        marco
-----Original Message-----
From: Marco Mistroni [mailto:[EMAIL PROTECTED] 
Sent: 22 April 2004 12:48
To: 'Struts Users Mailing List'
Subject: Formatting date and time


Hi all, 
 2day in reading struts in action I came across section that was talking
about message formatting..
I have a date message that should be like   'time now is 11:00'
internationalized.
Following what book say, I should use something like  
Mymsg=time now is {0,time,'style'}

Problem is that if I use style short, I got 'time now is 11:00 AM',
while I want to be able to define my own format for the time

Can anyone suggest me how to do that?

Regards
        marco


-----Original Message-----
From: Marco Mistroni [mailto:[EMAIL PROTECTED] 
Sent: 22 April 2004 10:38
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: toUpperCase() with format attribute of <bean:write> tag

HI,
 Has been any replies to this message? I could have lost it,
But I m facing same problem.
Has anyone given any solutions?

Regards
        marco

-----Original Message-----
From: Franz-Josef Herpers [mailto:[EMAIL PROTECTED] 
Sent: 13 April 2004 19:49
To: [EMAIL PROTECTED]
Subject: toUpperCase() with format attribute of <bean:write> tag

Hi *,

is it possible to use the format attribute of the <bean:write> tag to do

something like the Java method String#toUpperCase() does with strings? 
If yes, i would appreciate any hints how to force this behaviour.

Thanks in advance.

Regards
Franz


---------------------------------------------------------------------
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]


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

Reply via email to