Michael Moore
unread,Sep 13, 2012, 6:57:51 PM9/13/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pyjs-...@googlegroups.com
I have a page which has a tree and some buttons. The data for the shape of the tree (and some unique identifiers of tree items) and the list of buttons all come from off-page.
when a button is pressed, sometimes
I need to set up a form which asks for some data and also carries some hidden data. THe hidden data is the current user, the logged_in_user, and the currently selected tree item.
I instantiate the buttons and send the button instance on to tree creation, but now I have tree data I need to share with on(button)Click: functions.
global variable declarations produce hilarious error messages. I have not tried a singleton class, because I am really unsure how that would translate.
Any suggestions?
Michael