I recommended that you should not pass a lot of params in eventcontext ,
this is not best practice. You can use json and pass as many as parametters
that you want in json and call Tapestry ajax.

Duy.

On Sun, May 10, 2015 at 5:42 PM, mailingl...@j-b-s.de <mailingl...@j-b-s.de>
wrote:

> Hi Jacob,
>
> You can use "/" to seperate your id's, for example:
>
> http://yourserver/tapestrypage/1/2/3/4
>
> Will call the onActivate method in your tapestry page class named
> "TapestryPage". All params are passed via EventContext and you can access
> the values by index. In case your id's may be of type string and contain
> the "/" character you have to "quote" it because "/" is the natural
> tapestry url parameter delimiter.
>
> Does this help?
>
> Jens
>
> Von meinem iPhone gesendet
>
> > Am 09.05.2015 um 22:00 schrieb Poder, Jacob <
> jacob.po...@thermofisher.com>:
> >
> > That topic has nothing to do with Tapestry... Tapestry is rejecting my
> (comma) delimited list. The only thing I get from that topic is using
> another delimiter than comma. I can do that of course and that was
> definitely the point of my question, but what delimiter is allowed by
> Tapestry?
> >
> >
> > ________________________________________
> > Fra: Chris Poulsen [mailingl...@nesluop.dk]
> > Sendt: 9. maj 2015 19:30
> > Til: Tapestry users
> > Emne: Re: Generate link to Tapestry page from another program
> >
> > Something like this answer: http://stackoverflow.com/a/15849972
> >
> > On Sat, May 9, 2015 at 5:38 PM, Poder, Jacob <
> jacob.po...@thermofisher.com>
> > wrote:
> >
> >> Sorry, I don't follow, how can I "pass the list of ids as a single
> >> multivalue parameter"?
> >>
> >> ________________________________________
> >> Fra: Chris Poulsen [mailingl...@nesluop.dk]
> >> Sendt: 9. maj 2015 16:52
> >> Til: Tapestry users
> >> Emne: Re: Generate link to Tapestry page from another program
> >>
> >> I was thinking that you could pass the list of ids as a single
> multivalue
> >> parameter and then use request.getParameterValues to retrieve the values
> >> for the parameter (so url encoding of "," would not be an issue)
> >>
> >> On Wed, May 6, 2015 at 5:00 PM, Poder, Jacob <
> jacob.po...@thermofisher.com
> >> wrote:
> >>
> >>> I'll consider overriding the URLEncoder service, but I'm not too keen
> on
> >>> that as it will require me to check for changes in the std
> implementation
> >>> on each Tapestry upgrade.
> >>> Maybe the most reliable solution is to use context segments after
> all...
> >>>
> >>> Thank you for your input.
> >>>
> >>> -----Original Message-----
> >>> From: Thiago H de Paula Figueiredo [mailto:thiag...@gmail.com]
> >>> Sent: 6. maj 2015 16:39
> >>> To: Tapestry users
> >>> Subject: Re: Generate link to Tapestry page from another program
> >>>
> >>> On Wed, 06 May 2015 10:24:01 -0300, Poder, Jacob <
> >>> jacob.po...@thermofisher.com> wrote:
> >>>
> >>>> Tapestry will throw an exception in URLEncoderImpl.decode before even
> >>>> getting to onActivate in my page, so I can't do that.
> >>>
> >>> You can override the URLEncoder service with your own implementation if
> >>> you really want to use commas. Or you could even do some URL rewriting.
> >>>
> >>> --
> >>> Thiago H. de Paula Figueiredo
> >>> Tapestry, Java and Hibernate consultant and developer
> >>> http://machina.com.br
> >>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> >>> For additional commands, e-mail: users-h...@tapestry.apache.org
> >>>
> >>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> >>> For additional commands, e-mail: users-h...@tapestry.apache.org
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> >> For additional commands, e-mail: users-h...@tapestry.apache.org
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> > For additional commands, e-mail: users-h...@tapestry.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


-- 
Chung Khánh Duy
Project Support Manager
Formos

Reply via email to