Hi,

I just tried to build a simple WW2 application using the quickstart guide
from the wiki. I have a simple action like this:

public class FormAction extends ActionSupport {

 private String test;

 public String execute() throws Exception {
  System.out.println("asdf");
  return SUCCESS;
 }

 public String getTest() {
  return test;
 }

 public void setTest(String test) {
  this.test = test;
  System.out.println("test set to " + this.test);
 }
}

Now I have the problem that the execute method is called but not the setter.
My form looks like this:

<ww:form name="'myForm'" action="'saveForm.action'" method="'POST'">
<table>
<ww:textfield label="'Test'" name="'test'" value="test"/>
</table>
<input type="submit" value="Save Form"/>
</ww:form>

Do I have to implement any additional *Aware interface? Or is there anything
else wrong with this code?

Thanks,
Christoph





-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to