thanks
________________________
Rodolfo Garc�a Esteban
Canal Isabel II
Divisi�n de Aplicaciones T�cnicas
C/ Santa Engracia, 125
Edificio 8
Tel. 91 545 10 00 - Ext. 2128
Fax. 91 545 14 41
_______________________
"Marsh-Bourdon, Christopher" <[EMAIL PROTECTED]>
28/04/2005 15:35
Por favor, responda a "Struts Users Mailing List"
Para: 'Struts Users Mailing List' <[email protected]>
cc: (cco: Rodolfo Garc�a Esteban/CYII)
Asunto: RE: The best place for output formats
Well can you use Struts Bean Tags? If so, this would be your option:
<bean:write name="{bean}" property="{property}" format="dd/MM/yy HH:mm" />
Not really a custom tag as such.
Christopher Marsh-Bourdon
www.marsh-bourdon.com
-----Original Message-----
From: Rodolfo Garc�a Esteban/CYII [mailto:[EMAIL PROTECTED]
Sent: 28 April 2005 14:28
To: [email protected]
Subject: Re: The best place for output formats
Hi,
This is my first idea doing it in the jsp. But in this project we can't
use jstl neither custom tags neither <% java code %> which could be the
solution?
Thanks
________________________
Rodolfo Garc�a Esteban
Canal Isabel II
Divisi�n de Aplicaciones T�cnicas
C/ Santa Engracia, 125
Edificio 8
Tel. 91 545 10 00 - Ext. 2128
Fax. 91 545 14 41
_______________________
----- Remitido por Rodolfo Garc�a Esteban/CYII con fecha 28/04/2005 15:26
-----
Tom Ziemer <[EMAIL PROTECTED]>
28/04/2005 15:27
Por favor, responda a "Struts Users Mailing List"
Para: Struts Users Mailing List <[email protected]>
cc: (cco: Rodolfo Garc�a Esteban/CYII)
Asunto: Re: The best place for output formats
Hi,
imho the jsp (view), because the action is just the controller and each
view component should be able to decide how to format data. Maybe the
fmt tags (jstl) or a custom tag could take care of formatting the output.
Regards,
Tom
Leon Rosenberg wrote:
> imho the action, because the neither the jsp nor the beans/forms should
> know anything about a query. But I'm often very alone with this
> opinion :-)
>
> regards
> Leon
>
>
> On Thu, 2005-04-28 at 14:41 +0200, Rodolfo Garc�a Esteban/CYII wrote:
>
>>Hi,
>>
>>I have a screen with the results of a query. this screen shows dates,
and
>>I need to format it. Which is the proper place to do this? the action,
the
>>form, the jsp.
>>
>>Thanks
>>________________________
>>Rodolfo Garc�a Esteban
>>Canal Isabel II
>>Divisi�n de Aplicaciones T�cnicas
>>C/ Santa Engracia, 125
>>Edificio 8
>>Tel. 91 545 10 00 - Ext. 2128
>>Fax. 91 545 14 41
>>_______________________
>
>
>
>
> ---------------------------------------------------------------------
> 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]
------
--------------------------------------------------------------------------------
The information contained herein is confidential and is intended solely
for the
addressee. Access by any other party is unauthorised without the express
written permission of the sender. If you are not the intended recipient,
please
contact the sender either via the company switchboard on +44 (0)20 7623
8000, or
via e-mail return. If you have received this e-mail in error or wish to
read our
e-mail disclaimer statement and monitoring policy, please refer to
http://www.drkw.com/disc/email/ or contact the sender. 3166
--------------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]