[Xerte] Xerte3: scope of vars

Julian Tenney Julian.Tenney at nottingham.ac.uk
Thu Jul 1 16:53:47 BST 2010


They should be yes. Are you sure the event is being fired?

-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Peter
Huppertz
Sent: 01 July 2010 16:41
To: Xerte discussion list
Subject: [Xerte] Xerte3: scope of vars

I have the following tree

- canvas1
-- viewstackicon
--- canvas1-1
---- eventHandler for event "show", setting var foo = "bar";
- canvas2
-- eventHandler for event "show", debug(foo) // not output

I show canvas2 by clicking a button after canvas1 is loaded. The show
event fires (tested it with debug). I thought that all vars I declare
are somehow global in Xerte, but that is not the truth, is it?


==================================
Peter Huppertz
E-learning and IT Specialist
International Centre for Asset Recovery
Basel Institute on Governance
Phone: +41 61 205 55 18
Fax: +41 61 267 55 19

_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte


More information about the Xerte mailing list