Re: Displaying the source of an event

2009-02-19 Thread gladstone
ribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> >> > > > > -- > Howard M. Lewis Ship > > Creator Apache Tapestry and Apache HiveMind > > --------------------- > To unsub

Re: Displaying the source of an event

2008-02-11 Thread Howard Lewis Ship
Unnecessary would be too strong. The best bet for this kind of thing would be to add an issue requesting this kind of logging be built into Tapestry. There isn't a MagicWand service that stores any data about the current event. On Feb 11, 2008 3:34 PM, Hilco Wijbenga <[EMAIL PROTECTED]> wrote: >

Re: Displaying the source of an event

2008-02-11 Thread Hilco Wijbenga
On Feb 7, 2008 3:31 PM, Hilco Wijbenga <[EMAIL PROTECTED]> wrote: > To aid debugging, is it possible to do something like this: > > @onEvent > public void onEvent() { > final String componentId = MagicWand.getComponentIdForThisEvent(); > final String action = MagicWand.getActionForThisEvent

Displaying the source of an event

2008-02-07 Thread Hilco Wijbenga
To aid debugging, is it possible to do something like this: @onEvent public void onEvent() { final String componentId = MagicWand.getComponentIdForThisEvent(); final String action = MagicWand.getActionForThisEvent(); System.out.println("Component ID: " + componentId); System.out.pr