[Opensource] Finding button identities within the Transition run() method
Jim.Clarke at arcadiagroup.co.uk
Jim.Clarke at arcadiagroup.co.uk
Mon Sep 16 01:40:21 PDT 2002
I have a web page which contains a table of text strings going down the
page. Along side each text string is an image button. I am using the same
image button for each line. So the page looks like this:
t e x t s t r i n g button
t e x t s t r i n g button
t e x t s t r i n g button
t e x t s t r i n g button
.
.
.
.
To construct this page I am using a Block object containing set of other
Block objects each of which contains an Output object for the text string
and a Transition object for the button. The actual Transition named within
each Transition object is the same.
So my problem is: As all of the buttons will call the same Transition run
() method how, in the run() method, can I tell which button has been
pressed?
Many thanks
Jim Clarke
More information about the Opensource
mailing list