Runtime Exception

2010-09-13 Thread stefer16
Hello, I wrote an example web app using servlets and tryed to convert it into a struts project.After the conversion to struts I understood I had wrong paths for struts and junit libraries and later I solved writing the right classpaths for struts and junit libraries, so now I try to run the

getConfiguration() Outside Of An Action

2010-09-13 Thread Paul Zepernick
I am trying to get the Struts configuration outside of an action. I am looking to populate a table in our DB of all the current Struts actions which we are going to end up using for our system security. I have been able to access the configuration inside of an action by doing: final

Struts 2 AJAX error

2010-09-13 Thread Arpan
Hi All, I am getting the following error while using ajax theme in struts tag: org.apache.jasper.JasperException: /index.jsp(4,2) Attribute debug invalid for tag head according to TLD I am using following line in my JSP. s:head theme=ajax debug=true/ I am using strut2.2.1.jar file. Please

Submit with several methods in Struts 2.2

2010-09-13 Thread hernan gonzalez
This pattern (submit tag with method specified) http://struts.apache.org/2.2.1/docs/html-form-buttons-howto.html worked for me in my previous version (from Struts 2.1.6). Now (in Struts 2.2.1), I can't make it work. It always calls execute. The only workaround I found was to set

Control UI via GET parameters

2010-09-13 Thread Ken
As a requirement I must be able to change the UI on a per request basis... a specific case would be including or omitting a left navigation bar. The parameters will always be passed with GET. Currently I am using Tiles and JSP's for composition. What I think would work is if I create a UI

Re: Latest version release notes and install documentation

2010-09-13 Thread Dave Evans
Thank you. On Sun, Sep 12, 2010 at 4:38 AM, phillips1021 bphill...@ku.edu wrote: Go here: http://struts.apache.org/2.2.1/docs/create-struts-2-web-application-with-artifacts-in-web-inf-lib-and-use-ant-to-build-the-application.html to see a list of Jar files needed on the class path to run a

RE: Array Input Fields - SOLVED

2010-09-13 Thread adam pinder
i didn't realise the use of () for lists and [] for maps - i thought you always use [] i used input field names likeusers(0).name and now name gets set on the relevant object in the list - no need for any extra methods just the getUsers() setUsers() methods. thanks all adam

Re: Control UI via GET parameters

2010-09-13 Thread Ken
Never mind, chain does exactly what I need. I'm just going to require they use a special action and supply the target action as a parameter and throw the UI parameters and target action parameters on the url they'll construct. My issue was although realizing that chain would pass on the state

Re: Struts 2 AJAX error

2010-09-13 Thread Dave Newton
I do; s:head in S2.1+ is different than in S2.0; please read the documentation regarding the Dojo Ajax plugin. (Which is deprecated, by the way.) Dave On Mon, Sep 13, 2010 at 11:42 AM, Arpan arpan.deb...@gmail.com wrote: Hi All, I am getting the following error while using ajax theme in

RE: Struts2 and Maven Archetypes

2010-09-13 Thread Roland T. Craddolph
Sorry I've been having Outlook issues for far too long that finally got fixed. It works and this is a lot easier than that huge command. My only question is for the packaging question what would you recommend to put there? I'm still trying my best to follow industry standards if that makes