struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marco Mistroni" <mmistr...@waersystems.com>
Subject RE: Formatting date and time/solved
Date Thu, 22 Apr 2004 12:41:13 GMT
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:mmistroni@waersystems.com] 
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:mmistroni@waersystems.com] 
Sent: 22 April 2004 10:38
To: fjhPost@netscape.net; struts-user@jakarta.apache.org
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:fjhPost@netscape.net] 
Sent: 13 April 2004 19:49
To: struts-user@jakarta.apache.org
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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


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


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


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


Mime
View raw message