Read :
http://www.keyboardmonkey.com/next/index.jsp
.V

Will Liu wrote:

Hello,

I need to see how flexible the ActionForm class can
be.  It seems the nstandard way to use ActionForm
objects is to have strings as the instance
variables, i.e:

SampleForm extends ActionForm {
   String input;

   public String getInput() {
       return this.input;
   }
   public void setInput(String input) {
       this.input = input;
   }

}

-- This works find for normal usage, however, I really
need an object inside the ActionForm class...
i.e. something of the nature:

SampleForm extends ActionForm{
   Tuple input;

   public Tuple getInput(){
       returh this.input;
   }

   public void setInput(Tuple a){
       this.input = a;
   }
}

Where Tuple would be something like:

Tuple {
   String one;
   String two;

   getOne() ...
   getTwo()...

   setOne()...
   setTwo()...
}


---


I'm having a really hard time getting these values set
inside the Action class that deals with the form....
if anyone has any experience with this
type of functionality, I would really appreciate any
help.  thanks in
advance.

-w



=====
//*******************//
-- will liu
-- [EMAIL PROTECTED]

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
_______________________________________________
MVC-Programmers mailing list
[EMAIL PROTECTED]
http://www.basebeans.net:8080/mailman/listinfo/mvc-programmers






-- Vic Cekvenich, Struts Instructor, 1-800-917-JAVA

Advanced <a href ="baseBeans.com">Struts Training</a> and project recovery in North 
East.
Open Source <a href ="baseBeans.com">Content Management</a>  basicPortal sofware
Best practice<a href ="baseBeans.com">Struts Support</a> v.1.1 helper ScafflodingXPress




_______________________________________________ MVC-Programmers mailing list [EMAIL PROTECTED] http://www.basebeans.net:8080/mailman/listinfo/mvc-programmers

Reply via email to