Re: [Chiba-users] when a submission fails chiba stops processing. is this right?
Creators discontinued Chiba & founded betterFORM http://betterform.de
Brought to you by:
chibaxforms,
windauer
From: <u....@gm...> - 2005-03-31 21:14:11
|
hi jason, i just revisited the chiba implementation of xf:send - and, yes, it=20 stops action processing in case of a submit error. if you want to=20 overcome this behaviour, there should be a workaround: just use xf:dispatch to dispatch 'xforms-submit' to the submission=20 element in question instead of xf:send. actually, xf:send is just a=20 shortcut doing this. in contrast to xf:send, the xf:dispatch action=20 doesn't care about submit errors. hope this helps, uli. Ulrich Nicolas Liss=E9 wrote: > hi jason, >=20 > Jason Eacott wrote: >=20 >> Hi, >> if I include in my xform a trigger containing several sequential=20 >> submissions - eg 5 emails, if one of those emails fails chiba throws=20 >> an error in the debug log that indicates its had a problem but that it= =20 >> should probably get on with what remains, but it doesn't. >> it quits entirely and the whole chibabean is shutdown without any of=20 >> the subsequent submissions in the trigger even being attempted. >> what kinds of strategies are people using for error handling in=20 >> situations like these with xforms? and is this behaviour just chiba? >=20 >=20 > the behaviour should be as you expect - processing should go on, since = > xforms-submit-error is not fatal (why ever ...). could you please post = a=20 > complete sample which lets fail Chiba entirely ? >=20 >> >> on a different note - aimed at the chiba developers, how long until we= =20 >> might see a version of chiba that supports custom events? with real=20 >> custom events Xforms really starts to be practical. I for one would=20 >> vote heavilly for this to be a priority for new development :)=20 >=20 >=20 > well, give it try. it should be possible to dispatch custom events via = > Container.dispatch(). >=20 > regards, > uli. >=20 >> >> Jason. >> >> >> >> >> ------------------------------------------------------- >> SF email is sponsored by - The IT Product Guide >> Read honest & candid reviews on hundreds of IT Products from real user= s. >> Discover which products truly live up to the hype. Start reading now. >> http://ads.osdn.com/?ad_id=3D6595&alloc_id=3D14396&op=3Dclick >> _______________________________________________ >> Chiba-users mailing list >> Chi...@li... >> https://lists.sourceforge.net/lists/listinfo/chiba-users >> >> >=20 >=20 --=20 Ulrich Nicolas Liss=E9 |