RE: Usar tipos de datos como Timestamp, BigDecimal

2003-11-06 Thread Marcos Oliva
Milton, Puedes usar el org.apache.commons.beanutils.BeanUtils.populate metodo o crear tu propio metodo en tu action class donde "mapeas" de string a el type que es correcto. Solamente que tienes que ser un poco cuidadoso con los Timestamp, you uso una conbinacion de BeanUtils popu

RE: Usar tipos de datos como Timestamp, BigDecimal

2003-11-06 Thread Milton Benavides
Esta bien gracias: pero luego como los paso a un Bean que tiene los atributos con los tipos de datos correctos. debido a que luego debo pasar este bean a un EJB que tomará alguna acción.

RE: Usar tipos de datos como Timestamp, BigDecimal

2003-11-06 Thread Marcos Oliva
Milton, Lo major seria declararlos en el actionform como string. Marcos oliva -Original Message- From: Milton Benavides [mailto:[EMAIL PROTECTED] Sent: Thursday, November 06, 2003 8:33 AM To: [EMAIL PROTECTED] Subject: Usar tipos de datos como Timestamp, BigDecimal Deseo usar algunos

Usar tipos de datos como Timestamp, BigDecimal

2003-11-06 Thread Milton Benavides
Deseo usar algunos tiops de datos como Timestamp, BigDecimal en algunos campos. Cuál sería la mejor manera de utilizarlos estos. 1.- Crear la clase ActionForm con todos los atributos como string para luego trasladarlos una vez validados a un Bean??? 2.- Crear los atributos en el ActionForm

Re: validation.xml and Timestamp

2003-03-17 Thread Jeff Kyser
le is like this. datePatternStrict dd/MM/ How can i validate datetime field using the same procedure using format string "dd/MM/yy

validation.xml and Timestamp

2003-03-17 Thread Ferran Parra
can i validate datetime field using the same procedure using format string "dd/MM/yyyy HH:SS" (timeStamp)? --- Ferran Parra [EMAIL PROTECTED] http://www.mubimedia.com MUBIMEDIA S.L. C/ Mallorca, 275, 1r 2a 08008 BCN Tel: 93 215 21 91 / Fa

DateTime,TimeStamp field validations in validation.xml

2003-02-04 Thread Arunachalam Jaisankar
Hi all, I'm using struts validator for all dates and it works fine for simple dates. The entry in validation.xml file is like this. datePatternStrict dd/MM/ How

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 if you are displaying or " /> if you want to create an edit box (you might not even need to use the "value" clause, the html:t

Re: Timestamp

2002-03-15 Thread Fábio Queiroz Barbosa
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

Re: Timestamp

2002-03-15 Thread Otavio C. Decio
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 ? -- E-Consulting® Corp. E

Timestamp

2002-03-15 Thread Fábio Queiroz Barbosa
How to format a Timestamp value for print dd/MM/ using ? -- E-Consulting® Corp. Estratégia - Tecnologia - Comunicação www.e-consultingcorp.com.br

RE: Can BeanUtils support Timestamp datatype? (was: Performance,Reflection, and Object Creation vs. Cacheing)

2001-08-28 Thread Mindaugas Idzelis
e fragment and it works great. However, I noticed the "TODO:" says to let native types through. I would like to help out on this part -- since I have a Timestamp datatype in my beans. Now, are there any plans to make BeanUtils support setting a Timestamp method? How would I go about

Problem to update with Timestamp

2001-07-16 Thread O . CHANTEREAU
Hi everybody I Have some problems with my update's request. In fact, I have two transactions First -- DBUsr old_user = this.findDBUsrByKey(in_num); long l = old_user.jdoGetTimeStamp(); old_user.setUsrNom(in_nom);