Push does the model to the stack as for ModelDrivenInterceptor before
executing the action. Afterwards, the action is executed. The model is
reflected in the processing of the action and when the reference is
replaced (For instance, data is acquired from DB), the content is not
reflected in the stack. Rendering is done by using the model object at the
previous state of the replacement in the view. I take out the model of the
action after executing the action, and it wants the function to do push to
the stack.
Thanks,
Agata
#I'm sorry in English not read easily.
public MyAction extends ActionSupport implements ModelDriven {
private Item item = new Item();
public Obuject getModel() { return this.item; }
public String doExecute() throws Exception {
// change model object instance
this.item = DBMapper.findItem());
}
}
__________________________________________________
Do You Yahoo!?
Yahoo! BB is Broadband by Yahoo!
http://bb.yahoo.co.jp/
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork