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

Reply via email to