struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Thiel" <thiel.oli...@gmx.de>
Subject Re: Possible to add or change Validatorrules at runtime?
Date Thu, 18 Dec 2003 16:19:00 GMT
Hi Martin,

I try achieve something comparable. But I did not use the
xml validation, cause as far as I know you have to reload 
the xml files - which means you have to change the web.xml 
timestamp so that the server is aware of the change and 
reloads ..... bla bla. 


Here you are two articles dealing with dynamic forms:

Torsten Wünsch:
Javamagazin 10.2003 - Mit Struts 1.1 dynamische Eingabefelder erstellen

Sharad Acharya:
Part I:
http://www.fawcette.com/javapro/2003_11/online/dynamic_sacharya_11_11_03/
Part II:
http://www.fawcette.com/javapro/2003_11/online/dynamic_sacharya_11_17_03/


Maybe this’ll help you!
Oliver



PS Both only have a week validation. So if you have a good idea how 
     to improve it, please let me know


> Hi all,
> 
> I will write a application with fully dynamic htmlforms
> which i can configure at runtime. For each of the fields 
> of such a form I will define a type (String,Number...) and
> Constraints like in the validator.xml (range etc.).
> 
> My question is, is it possible to add form and fielddefinitions 
> to the validator at runtime?
>  
> greetings,
> Martin
>  
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 

-- 
+++ GMX - die erste Adresse für Mail, Message, More +++
Neu: Preissenkung für MMS und FreeMMS! http://www.gmx.net



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


Mime
View raw message