Generate link to Tapestry page from another program

2015-05-06 Thread Poder, Jacob
Hi all, I want to generate links to a Tapestry page from another (non Tapestry) Java program and would like to know if there is any preferred way of doing that? Can I somehow use Tapestry's URI generation code directly? The page I need to link to has two arguments, say a type and a list of ids:

RE: Generate link to Tapestry page from another program

2015-05-06 Thread Poder, Jacob
Tapestry will throw an exception in URLEncoderImpl.decode before even getting to onActivate in my page, so I can't do that. -Original Message- From: Chris Poulsen [mailto:mailingl...@nesluop.dk] Sent: 6. maj 2015 14:59 To: Tapestry users Subject: Re: Generate link to Tapestry page from

Re: Generate link to Tapestry page from another program

2015-05-06 Thread Thiago H de Paula Figueiredo
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

Re: Generate link to Tapestry page from another program

2015-05-06 Thread Thiago H de Paula Figueiredo
On Wed, 06 May 2015 09:58:41 -0300, Chris Poulsen mailingl...@nesluop.dk wrote: you can also work with the request parameters in the old fashioned way by injecting the request You could combine the suggestion above with a page which will redirect to the correct page and

Line breaks in Message Catalog

2015-05-06 Thread Poggenpohl, Daniel
Hi, is there any way to indicate line breaks in the message catalog? Regards, Daniel P.

Re: Generate link to Tapestry page from another program

2015-05-06 Thread Chris Poulsen
you can also work with the request parameters in the old fashioned way by injecting the request On Wed, May 6, 2015 at 2:45 PM, Poder, Jacob jacob.po...@thermofisher.com wrote: Hi all, I want to generate links to a Tapestry page from another (non Tapestry) Java program and would like to know

Re: Line breaks in Message Catalog

2015-05-06 Thread Charlouze
You can add html in message Le mer. 6 mai 2015 à 16:29, Poggenpohl, Daniel daniel.poggenp...@isst.fraunhofer.de a écrit : Hi, is there any way to indicate line breaks in the message catalog? Regards, Daniel P.

Re: Line breaks in Message Catalog

2015-05-06 Thread Charlouze
But you may have to use the outputraw http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/components/OutputRaw.html component Le mer. 6 mai 2015 à 17:22, Charlouze m...@charlouze.com a écrit : You can add html in message Le mer. 6 mai 2015 à 16:29, Poggenpohl, Daniel

RE: Generate link to Tapestry page from another program

2015-05-06 Thread Poder, Jacob
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

Detect jqXHR.abort()

2015-05-06 Thread Svein Erik Løken
In the web client the user can use a input type=range.../ slider to reduce number of points on a polyline. To be sure to only pick last XHR request I call xhr.abort() on the previous call. The problem is that the onDouglasPeuckerSimplifier(...) fail. I found a bad(!?) workaround by adding