struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enrique Medina" <oscache...@hotmail.com>
Subject Struts Validator & Date Patterns
Date Fri, 04 Jun 2004 07:35:43 GMT
Hi,

I would like to know if it's possible to indicate a validation of
type "date" indicating as a dattePatern/datePatternStrict a key from
an application resource message file. I mean, instead of:

<field property="fechaCierre" depends="date">
<arg0 key="field.mantdimensionescg.fechaCierre" />
<arg1 name="date" key="${var:datePatternStrict}" resource="false"/>
<var><var-name>datePatternStrict</var-name><var-value>yyyyMMdd</var-value></var>
</field>

to be able to indicate the "yyyyMMdd" dynamically (to be found
through a key in a resource bundle).

Thanks in advance,
Enrique Medina.

_________________________________________________________________
Reparaciones, servicios a domicilio, empresas, profesionales... Todo en la 
guía telefónica de QDQ. http://qdq.msn.es/msn.cfm


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


Mime
View raw message