struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Thiel" <>
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:
Part II:

Maybe this’ll help you!

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:
> For additional commands, e-mail:

+++ GMX - die erste Adresse für Mail, Message, More +++
Neu: Preissenkung für MMS und FreeMMS!

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message