[S2]Actions with onLoad() and onSubmit() instead of execute()

2007-09-27 Thread Victor Neo
I wish to implement my S2 Action classes implementing ModelDriven with onLoad() and onSubmit() methods that replaces the default execute() method. When the user first views a page, onLoad() is called. If the user submits the form, onSubmit() is called. My idea is to create an Interface with these

[S2] Unable to access Model properties when using ModelDriven

2007-06-21 Thread Victor Neo
I have an Action class that implements ModelDriven. My DummyForm object will be used to store the user's input (just a userName attribute in this case). ValidateDummy ActionClass: public class ValidateDummy implements ModelDriven{ private DummyForm form; public String execute(){

[S2] Blank war with IDEA 6

2007-05-23 Thread Victor Neo
Does anyone here knows how to use Struts 2's blank war with IDEA 6? I have been trying out IDEA and would like to do some Struts 2 projects with it. -- View this message in context: http://www.nabble.com/-S2--Blank-war-with-IDEA-6-tf3808301.html#a10778260 Sent from the Struts - User mailing lis

Re: Requests from a Struts Newbie

2007-05-14 Thread Victor Neo
Hi Kenton, import com.opensymphony.xwork2.ActionSupport; is valid. You might want to ensure that you have the correct JAR files. You can always get the http://struts.apache.org/download.cgi#struts206 blank struts 2 project with all the necessary libraries. Kenton wrote: > > From http://str

Re: [s2] package and namespace info

2007-05-14 Thread Victor Neo
ges ? > (struts.xml) > > Herrera > > > > Victor Neo wrote: >> >> What do you mean by "to better use packages and namespaces"? >> >> Here are a couple of links that might help: >> http://struts.apache.org/2.0.6/struts2-core/apidocs/index

Re: [s2] package and namespace info

2007-05-13 Thread Victor Neo
What do you mean by "to better use packages and namespaces"? Here are a couple of links that might help: http://struts.apache.org/2.0.6/struts2-core/apidocs/index.html Struts 2 API Documentation http://struts.apache.org/2.0.6/docs/big-picture.html Struts 2 Architecture Pedro Herrera wrote: >