While I'm at it: what I did was to replace the dojo-TabContainer (which is next to useless thanks to its incredibly bad performance) with another one based on the TabSet from Tassel.
I wanted to store the selected Tab at the server, so that the user can scroll through a set of tabbed detail-screens while always staying on the same tab. Another quirk I had with that is that it seems to be forbidden to change persistent page-properties in a DirectEvent (XHR-Request). I worked around this by forwarding the change to an ASO, but that's hacky, of course, since the active tab is clearly something which belongs to the page. > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 08, 2007 8:20 AM > To: users@tapestry.apache.org > Subject: RE: How to pass custom arguments to @EventListener > > I'm now working around this by doing the tapestry.bind > directly from my JavaScript calling the directevent service. > Of course, my component now implements IDirect and the > @EventListener annotation is not used anymore. > > Nevertheless, I think passing a stringified version of the > intercepted functions (first) parameter through would be much > nicer I think. It would also provide for some symmetry > between native browser events and custom methods. I don't > really want to make you unhappy, however ... ;) > > > -----Original Message----- > > From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, May 08, 2007 12:01 AM > > To: Tapestry users > > Subject: Re: How to pass custom arguments to @EventListener > > > > I've been wary of trying to serialize function parameters as that > > could get very tricky on non simple object structures. > > (json recursion and such) > > > > I guess if they were acceptable to send to the server "as is" > > doing the equivalent of a toString() on them I could add > that in. (but > > not be happy about it ;) ) Would that work ? > > > > On 5/7/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > > I'm successfully listening to a custom javacript method > > being called > > > on an element. > > > Now, I'd like to access the argument(s) that were passed to > > this method. > > > Is there an easy way to achieve this? I've looked at the > > BrowserEvent > > > object passed to the listener, but this didn't help. > > > Thanks for any hints, > > > > > > Marcus > > > > > > > > > > > -- > > Jesse Kuhnert > > Tapestry/Dojo team member/developer > > > > Open source based consulting work centered around > > dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]