Thanks, works just fine... so now everything is bundled into a String[] anyway...
?wouldn't it be useful to have String[] as one of the default conversions available? I don't expect it would be hard ... and it was (for me, anyway) expected behavior. after all, with the splitting on /, is IS an array of strings. _either way_ , the solution given works just fine, thanks. --nK On Fri, May 2, 2008 at 3:10 PM, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > A third, and perhaps better alternative is to use EventContext instead > of Object[]. This interface allows you to get the count of the > parameters, and retrieve each in whatever type you like (Tapestry will > value decode or type coerce as necessary). > > On Fri, May 2, 2008 at 5:43 AM, nicholas Krul <[EMAIL PROTECTED]> > wrote: > > Hi guys. > > > > I have a question about onActivate(Object[]) and onActivate(String[])... > > > > The simplest way to explain it is what I want to do on my login page. > > At the moment when you bounce through it it stores the page name in the > > activation context, but because of the variable number of context args, > they > > are not stored. > > It would be nice if bookmarked 'login required' pages still worked with > > their activation contexts. > > > > does onActivate(Object[] context) come as an (uncast) String array? > > > > if so, why is there no default translator to String[] > > and if not, how do I make it so that String[] _is_ a valid arg? > > > > thanks > > > > --nK > > > > > > -- > Howard M. Lewis Ship > > Creator Apache Tapestry and Apache HiveMind > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >