I see Hani's suggestion fixed question 1, are you still having problems with question 
2?

Applying field validators for the fields of your Model (or your Action, as they are 
both on the ValueStack) should work. Give me some more detail if it's not.

Jason

> -----Original Message-----
> From: Jan-Peter Hagenmüller [mailto:[EMAIL PROTECTED] 
> Sent: Monday, January 05, 2004 10:04 AM
> To: [EMAIL PROTECTED]
> Subject: Spam:Re: AW: [OS-webwork] Passing model from one 
> action to another
> 
> 
> 
> 
> 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
> 


-------------------------------------------------------
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_id78&alloc_id371&op=click
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to