PDA

View Full Version : SWF.2.0.0.RELEASE: Is there a way to turn off binding in global transitions?



adamtaylor
May 2nd, 2008, 09:15 AM
Hi,

I have a flow I'm working on where every view has a cancel button which transitions to a cancel state like so:

<transition on="cancel" to="cancel" bind="false" />

I would like to move this to a global transition since it is the same in all view states. However, when I move it there, the bind attribute is no longer allowed in the schema. If I remove the bind element in the global transition then when I call cancel in any page I get validation errors (which I don't want).

Is it possible to disable binding when calling a global transition in SWF 2.0 ?

Thanks,
Adam

jeremyg484
May 2nd, 2008, 09:38 AM
Actually, I believe that was added for the final release. It sounds like the newest version of the schema just hasn't been uploaded. We'll get on that right away. Thanks for the catch.

Keith Donald
May 2nd, 2008, 10:22 AM
The webflow 2.0.0 final release XML schemas have been uploaded now. Be sure to refresh your xml editor.

The big 2.0.0 announcement is monday - we will also update our web home page at that time. I can't wait :-)

adamtaylor
May 2nd, 2008, 06:26 PM
Thanks a bunch... That's the final piece for making my XML definitions really lean and compact. It has a been joy spending the last few days deleting lines and lines of code and xml elements while upgrading my app to SWF 2.0. Let's just say I am never going back :-) Congrats on the upcoming release !