Hi all!
I got two questions:
- is there a way to use german vowels like ' � ' ( ü )
in xxx-validation.xml files for field validations
both spellings '�' and ü seem not to be valid
- i want to use modeldriven action implementation and field validation
- 1. i implement the interface ModelDriven, initiating my model bean and returning
it in getModel() ... ok
- but how must the fields be called in xxx-validation.xml file and in my jsp ??
i tried both variations in both files:
- <input... name = "model.attribute" value="<ww:property
value="model.attribute"/>">
- <input... name = "attribute" value="<ww:property value="attribute"/>">
=> it does not work as expection....
may i need special interceptor refs in action mappings?
- i got it as usual yet:
- initiationg the model and have get/setter methods for it
- an actionXXX-validation.xml file holding the field 'model' with
field-validator type "visitor"
- an model-validation.xml holding models attributes with e.g. requiredstring
type
- using <input... name = "model.attribute" value="<ww:property
value="model.attribute"/>"> in jsp
=> it works well
but what for do i use this ModelDriven mechanism ... if not to reduce this coding
efforts ? :-)
so i would be pleased if anyone could help out
thanks
jp
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork