Re: Model Driven Tutorial/Howto

2008-09-02 Thread Roger
On Tuesday 02 September 2008 00:08:40 Dave Newton wrote: --- On Mon, 9/1/08, Roger wrote: One of the (many) messages I'm seeing is; 02-Sep-2008 00:03:39 com.opensymphony.xwork2.interceptor.ParametersInterceptor setParameters SEVERE: ParametersInterceptor - [setParameters]: Unexpected

Re: Model Driven Tutorial/Howto

2008-09-02 Thread Dave Newton
--- On Tue, 9/2/08, Roger wrote: Here is a stripped down version that shows the error message appearing in the Tomcat logs. Do you mean if you submit addressLine1 on a model that doesn't have that property? Yeah, that'll log an ERROR. If you don't care that you're sending a parameter you know

Re: Model Driven Tutorial/Howto

2008-09-02 Thread Roger
On Tuesday 02 September 2008 15:42:53 Dave Newton wrote: --- On Tue, 9/2/08, Roger wrote: Here is a stripped down version that shows the error message appearing in the Tomcat logs. Do you mean if you submit addressLine1 on a model that doesn't have that property? Yeah, that'll log an

Re: Model Driven Tutorial/Howto Here is one

2008-09-02 Thread Ashlon
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Model-Driven-Tutorial-Howto-tp19259604p19270141.html Sent from the Struts - User mailing list archive at Nabble.com

Re: Model Driven Tutorial/Howto

2008-09-02 Thread Dave Newton
--- On Tue, 9/2/08, Roger wrote: The parameter name in the test case exists in the model (TestQuotation) but not in the action (TestAction) and Struts2 bleats in the Tomcat logs. It's definitely being set in the model Like I said, it can be ignored, and the link I provided seems to

Re: Model Driven Tutorial/Howto Here is one

2008-09-02 Thread Dave Newton
--- On Tue, 9/2/08, Ashlon wrote: I haven't completed this tutorial but this one looks like a good one http://www.java-tips.org/java-tutorials/tutorials/ I don't see anything about Struts 2 there, let alone ModelDriven. Could you provide a direct link to the relevant tutorial? Dave

Re: Model Driven Tutorial/Howto

2008-09-02 Thread Roger
On Tuesday 02 September 2008 16:33:35 Dave Newton wrote: --- On Tue, 9/2/08, Roger wrote: The parameter name in the test case exists in the model (TestQuotation) but not in the action (TestAction) and Struts2 bleats in the Tomcat logs. It's definitely being set in the model Like I said,

Re: Model Driven Tutorial/Howto

2008-09-02 Thread Dave Newton
--- On Tue, 9/2/08, Roger wrote: I'm only using this stack as it's the out-of-the-box default. Should I be using something else? I think the default stack is... defaultStack. You chose to define your default stack as paramsPrepareParams. I'd only use paramsPrepareParams if you need what it

Re: Model Driven Tutorial/Howto Here is one

2008-09-02 Thread Ashlon
-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Model-Driven-Tutorial-Howto-tp19259604p19270966.html Sent from the Struts - User mailing list archive at Nabble.com

Re: Model Driven Tutorial/Howto Here is one

2008-09-02 Thread Dave Newton
--- On Tue, 9/2/08, Ashlon wrote: http://www.javaworld.com/javaworld/jw-12-1999/jw-12-ssj-jspmvc.html for Model 2 The original poster wasn't asking for a tutorial on MVC, but for ModelDriven, an XWork interceptor/interface. Dave

Model Driven Tutorial/Howto

2008-09-01 Thread Roger
Can anyone point me to a tutorial/howto on how to use Model Driven. I've been experimenting and I've verified that the parameters on the model are being set, but Struts is complaining loudly that it can't set the parameters on the action. If the parameters are being set retrieved from the

Re: Model Driven Tutorial/Howto

2008-09-01 Thread Dave Newton
--- On Mon, 9/1/08, Roger wrote: If the parameters are being set retrieved from the model why do I need to provide getters setters in the action? You don't. Are you in devMode? What version are you using? Dave - To

Re: Model Driven Tutorial/Howto

2008-09-01 Thread Roger
On Monday 01 September 2008 22:46:00 Dave Newton wrote: --- On Mon, 9/1/08, Roger wrote: If the parameters are being set retrieved from the model why do I need to provide getters setters in the action? You don't. Are you in devMode? What version are you using? Yes, I'm in devMode and

Re: Model Driven Tutorial/Howto

2008-09-01 Thread Dave Newton
--- On Mon, 9/1/08, Roger wrote: Yes, I'm in devMode and using Struts 2.0.11. Maybe I was just panicing because it shows as a SEVERE error. It shouldn't; you may want to post some code, config, and stack trace. Dave - To

Re: Model Driven Tutorial/Howto

2008-09-01 Thread Roger
On Monday 01 September 2008 23:19:31 Dave Newton wrote: --- On Mon, 9/1/08, Roger wrote: Yes, I'm in devMode and using Struts 2.0.11. Maybe I was just panicing because it shows as a SEVERE error. It shouldn't; you may want to post some code, config, and stack trace. That's kinda why I was

Re: Model Driven Tutorial/Howto

2008-09-01 Thread Dave Newton
--- On Mon, 9/1/08, Roger wrote: That's kinda why I was asking for a tutorial/howto for beginners before I make an idiot of myself - particularly in light of my recent post in the s:select tag :-( Since it's already too late you might as well post it then ;) I don't know of any tutorials,

Re: Model Driven Tutorial/Howto

2008-09-01 Thread Roger
On Monday 01 September 2008 23:43:14 Dave Newton wrote: --- On Mon, 9/1/08, Roger wrote: That's kinda why I was asking for a tutorial/howto for beginners before I make an idiot of myself - particularly in light of my recent post in the s:select tag :-( Since it's already too late you

Re: Model Driven Tutorial/Howto

2008-09-01 Thread Dave Newton
--- On Mon, 9/1/08, Roger wrote: One of the (many) messages I'm seeing is; 02-Sep-2008 00:03:39 com.opensymphony.xwork2.interceptor.ParametersInterceptor setParameters SEVERE: ParametersInterceptor - [setParameters]: Unexpected Exception caught setting 'addressLine1' on 'class

RE: Model Driven Tutorial/Howto

2008-09-01 Thread Martin Gainty
That's kinda why I was asking for a tutorial/howto for beginners before I make an idiot of myself - particularly in light of my recent post in the s:select tag :-( Since it's already too late you might as well post it then ;) I don't know of any tutorials, although I'm

RE: Model Driven Tutorial/Howto

2008-09-01 Thread Dave Newton
Good lord man, fix your line feeds. --- On Mon, 9/1/08, Martin Gainty wrote: That's kinda why I was asking for a tutorial/howto for beginners before I make an idiot of myself - particularly in light of my recent post in the s:select tag :-( Since it's already too late you might as

Re: Model Driven Tutorial/Howto

2008-09-01 Thread Roger
Top action? The ordered property doesn't have so much to do with top actions as with making sure that nested properties are set in order, as determined by the number of dots in the parameter name. Not sure how that would be related to his ModelDriven issue, although it's hard to say without