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:
> 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();
> >     System.out.println("Component ID: " + componentId);
> >     System.out.println("Action: " + action);
> > }
> >
> > What's T5's replacement for MagicWand? :-)
>
> Is this impossible? Or unnecessary?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to