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

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, 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 populate y mis

validation.xml and Timestamp

2003-03-17 Thread Ferran Parra
var-namedatePatternStrict/var-name var-valuedd/MM/ /var-value /var /field How can i validate datetime field using the same procedure using format string dd/MM/ HH:SS (timeStamp

Re: validation.xml and Timestamp

2003-03-17 Thread Jeff Kyser
i validate datetime field using the same procedure using format string dd/MM/ 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 / Fax: 93 215 41

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. fieldproperty=eventDate depends=required,date arg0 key=eventForm.eventDate.displayname/ var

Timestamp

2002-03-15 Thread Fbio Queiroz Barbosa
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

Re: Timestamp

2002-03-15 Thread Otavio C. Decio
] 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

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

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

2001-08-28 Thread Mindaugas Idzelis
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 writing an extension

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);