hi,
I'm checking struts-flow package and one of it's features "Remote RPC
support (termed Ajax but with JSON instead of XML) for calling flow
methods from the client". As much as I can see now there is no problem
to invoke actions from struts-config but as much as I see all page is
being rendered although I assume only part of should be. Does anybody
has an experience with updating some part of a page from struts-flow.jar
package. I'd like at once give up and start using DWR.
My code is as follow:
function main() {
forwardAndWait("start",
{ "random" : random,
"hint" : hint,
"guesses" : guesses} );
forwardAndWait("success1",
{ "random" : random,
"hint" : hint,
"guesses" : guesses} );
break;
}
and struts-config
<action path="/testList"
name="xForm"
type="net.sf.struts.flow.FlowAction"
className="net.sf.struts.flow.FlowMapping">
<set-property property="function" value="main" />
<forward name="start" path="/testList1.do?do=start1"/>
<forward name="success1" path="/testList1.do?do=success1"/>
<forward name="success" path="/testList1.do?do=success"/>
</action>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]