Re: How to develop a Wireframe using Struts UI?

2009-05-02 Thread Dave Newton
Dale Newfield wrote: 4) If your problem is still not solved then spend time authoring a thoughtful question to the mailing list, including your relevant code/configuration and what you have already tried. The greatest part about this portion of the solution is that 4 times out of 5 it help

Defining text field dynamically and assigning value from array

2009-05-02 Thread Sateesh_Chandra2
Hi I have a requirement to define text field dynamically using a name that comes from action. Value of the same is available in the value stack, but in an array. Somehow struts 2 is not evaluation expression within an expression. Is there an alternative to achieve the same? Regards Sateesh

Re: How to develop a Wireframe using Struts UI?

2009-05-02 Thread Dale Newfield
dusty wrote: 4) If your problem is still not solved then spend time authoring a thoughtful question to the mailing list, including your relevant code/configuration and what you have already tried. The greatest part about this portion of the solution is that 4 times out of 5 it helps me tra

Re: @Transactional Spring Annotation in a Struts2 Action does not work

2009-05-02 Thread Jeroen De Ridder
Hi Dustin, Yes, I do require the ability to be able to manually set transaction boundaries from controller code. The main reason is because Hibernate updates database records when a persistent object changes state during a transaction. It picks up on the changes made to the object when the tr

Re: How to develop a Wireframe using Struts UI?

2009-05-02 Thread dusty
Sure no problem. Here are the steps: a) Hire someone who knows what they are doing b) While they are working read Struts2 in Action and JQuery in Action. c) Read blogs and books about CSS and web interface design d) Ask your consultant to show you how they did what they did and take notes e) S

Re: Struts 2: Redisplaying Invalid Form and Displaying Errors

2009-05-02 Thread dusty
I think for modelDriven you need to set the appendPrefix parameter of the Visitor validator to false. Essentially, struts is adding an error to fieldErrors like ("model.field","error message") rather than ("field","errormessage") and so the freemarker templates can't match up your fieldname to an

Re: REST Plugin and PreResultListeners

2009-05-02 Thread Wes Wannemacher
On Saturday 02 May 2009 12:47:38 pm dusty wrote: > > The REST plugin needs a steward(stuart). Don (original author) has been > too busy to work on it and I think most of the current committers are happy > with the current REST function or are working on other things. Maybe you > are the one!? >

Re: @Transactional Spring Annotation in a Struts2 Action does not work

2009-05-02 Thread Frans Thamura
discuss about this is it possible the working version share to us so we can see the thing here F On Sat, May 2, 2009 at 11:57 PM, dusty wrote: > > Jeroen, > > This setup is so that you can initiate and control the properties of the > transaction from the controller, if that is a pattern you re

Re: @Transactional Spring Annotation in a Struts2 Action does not work

2009-05-02 Thread dusty
Jeroen, This setup is so that you can initiate and control the properties of the transaction from the controller, if that is a pattern you require? Do you do this for all your calls to the service layer from controllers, and how is it better/different from a calling a service method annotated wi

Re: REST Plugin and PreResultListeners

2009-05-02 Thread dusty
Are you registering the listener in the action or interceptor. Does it matter or both fail? The REST plugin needs a steward(stuart). Don (original author) has been too busy to work on it and I think most of the current committers are happy with the current REST function or are working on othe

Re: result type -- redirect-action vs dispatcher.

2009-05-02 Thread dusty
So I am not sure what you mean when you say that chain executes no matter what happens. You have some action config like: processFAIL /xxx?id=${id} Chain is only running here if your action returns "input". Your action is only returning input because of the workflow interceptor. If yo

Re: Problem with Spring plugin

2009-05-02 Thread Dave Newton
YaronGo wrote: Okay, I get extra points for stupidity here. Instead of adding the plugin to the WEB-INF/lib, I put it in the tomcat lib path. That'll do it ;) Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org