RE: Editing a JPA entity

2016-01-06 Thread C N Davies
Christoph I understand why this happens, I was simply asking if there was a better way to do this using some struts session magic or such. Seems there isn't so I'll just do it the old long winded way. -Original Message- From: Christoph Nenning [mailto:christoph.nenn...@lex-com.net] Sent:

Editing a JPA entity

2016-01-04 Thread C N Davies
I'm using an action to retrieve a list of entities and render these as a list, the user can then select an edit button that calls an action that retrieves the individual entity and renders the edit page. Once the user has completed editing they hit the save button which calls the action that calls

FreeMarker and SOAP

2015-11-16 Thread C N Davies
My Struts, My Strusts2 (2.3) app needs to call a few different SOAP services and I'm thinking to use FreeMarker to generate the body of the request. I'd be interested in any opinions as to if this is considered the right approach in Struts and what is the best way to use FreeMarker to generate

RE: Spring Injection Strange behaviour

2015-09-05 Thread C N Davies
Hi Lukasz, Thank you for your reply. I defined my action like so: http://struts.apache.org/dtds/struts-2.0.dtd";> confirmRegister.jsp /register.jsp /error.jsp However this will throw an exception: SEVERE: Dispatcher initialization

RE: adding parameters to a url - help please

2009-09-11 Thread C N Davies
I haven't used struts for several years but can't you bind you table/listbox to a bean property? Using RichFaces I can create a datatable, bind it to a bean property which is of type UIComponent, then when the user clicks on the component the OnClick action fires a bean action within which I can

RE: relative path and absolute path

2009-09-11 Thread C N Davies
Relative path is a path relative to the current directory, for instance if you home directory was c:\temp and you wanted to use an absolute path to the "documents" subdirectory of c:\temp you would use c:\temp\documents, a relative path would be "documents" assuming your current working directory

RE: Confused

2009-09-03 Thread C N Davies
September 2009 6:31 PM To: Struts Users Mailing List Subject: Re: Confused C N Davies wrote: > I'm starting a new project and intended to use struts but I read on the > struts site a few months back that struts was dead and no longer going to be > developed, because Craig Mc. was saying

Confused

2009-09-03 Thread C N Davies
Hi, I'm starting a new project and intended to use struts but I read on the struts site a few months back that struts was dead and no longer going to be developed, because Craig Mc. was saying that there are other APIs , like Seam and JSF that filled the void already. I looked today and I see t