Re: Timestamp

2002-03-15 Thread Otavio C. Decio

You should download the latest nightly Struts build and use

org.apache.struts.taglib.bean.format.sql.timestamp=dd/MM/

in your ApplicationResource.properties file.

Abracos,

Otavio



- Original Message -
From: Fábio Queiroz Barbosa [EMAIL PROTECTED]
To: Struts User [EMAIL PROTECTED]
Sent: Friday, March 15, 2002 9:20 AM
Subject: Timestamp


How to format a Timestamp value for print dd/MM/ using html:text ?

--
E-Consulting® Corp.
Estratégia - Tecnologia - Comunicação
www.e-consultingcorp.com.br

--
Fábio Queiroz Barbosa
Tecnologia
E-Mail: [EMAIL PROTECTED]
Tel.: (55 11) 3048-0764
Fax: (55 11) 3048-0766

---



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




Re: Timestamp

2002-03-15 Thread Otavio C. Decio

For this to work you must have a property of type Timestamp in your Form
bean, for example dt_changed and access it normally either through

tdbean:write property=dt_changed //td

if you are displaying or

tdhtml:text property=dt_changed value=bean:write
property=dt_changed / //td

if you want to create an edit box (you might not even need to use the
value clause, the html:text element should probably get it with the right
format but I didn't try). Probably other people in this list can confirm or
deny that. You can see how this is done looking into the bean.WriteTag
source code.

Ate',

Otavio


- Original Message -
From: Fábio Queiroz Barbosa [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, March 15, 2002 10:55 AM
Subject: Re: Timestamp


 How to associate? You have a example?

 - Original Message -
 From: Otavio C. Decio [EMAIL PROTECTED]
 To: Struts Users Mailing List [EMAIL PROTECTED]
 Sent: Friday, March 15, 2002 11:41 AM
 Subject: Re: Timestamp


  You should download the latest nightly Struts build and use
 
  org.apache.struts.taglib.bean.format.sql.timestamp=dd/MM/
 
  in your ApplicationResource.properties file.
 
  Abracos,
 
  Otavio
 
 
 
  - Original Message -
  From: Fábio Queiroz Barbosa [EMAIL PROTECTED]
  To: Struts User [EMAIL PROTECTED]
  Sent: Friday, March 15, 2002 9:20 AM
  Subject: Timestamp
 
 
  How to format a Timestamp value for print dd/MM/ using html:text ?



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



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