Hi
That was option number 2 :)
regards
Taha
On Thu, Jan 6, 2011 at 5:39 PM, Richard Hill wrote:
>
> Yes of course, I totally didn't think of this... :)
>
>
>
> On Thu, 2011-01-06 at 10:04 -0200, Thiago H. de Paula Figueiredo wrote:
> > On Thu, 06 Jan 2011 09:55:24 -0200, Richard Hill
> > wro
Yes of course, I totally didn't think of this... :)
On Thu, 2011-01-06 at 10:04 -0200, Thiago H. de Paula Figueiredo wrote:
> On Thu, 06 Jan 2011 09:55:24 -0200, Richard Hill
> wrote:
>
> > Hi Thiago - thanks for this. I was unaware that you could pass arguments
> > to an onEvent() method a
On Thu, 06 Jan 2011 09:55:24 -0200, Richard Hill
wrote:
Hi Thiago - thanks for this. I was unaware that you could pass arguments
to an onEvent() method as query string params as well as context params.
Even without that annotations, you could just inject the Request and get
the parameters
Hi Thiago - thanks for this. I was unaware that you could pass arguments
to an onEvent() method as query string params as well as context params.
Cheers
On Thu, 2011-01-06 at 09:46 -0200, Thiago H. de Paula Figueiredo wrote:
> Hi, Richard!
>
> When passing information from JavaScript to a pag
Hi, Richard!
When passing information from JavaScript to a page or component class, I
avoid the the encoding problem by using query parameters (which are
decoded normally instead of using the Tapestry decoder). With the new
@RequestParameter and @ActivationRequestParameter annotations this
Hi Taha,
Thanks for the response. The latter suggestion doesn't work for me,
these urls are external urls input by the user. I tried the first
suggestion but it does not work. Not sure exactly what all the issues
are, but I note that what encodeURIComponent encodes and what Tapestry
encodes are n
Hi Richard
There are two ways of doing it...
1. after you have applied encodeURIComponent() replace '%' by '$00' (ensure
that the converted number is 4 digit)
2. Use ?name=value instead of '/' and use request.getParameter() or
@RequestParameter
regards
Taha
On Tue, Jan 4, 2011 at 11:26 PM, Ric
Ah, apologies - I thought the threading was based on the subject line.
R.
On Tue, 2011-01-04 at 15:52 -0200, Thiago H. de Paula Figueiredo wrote:
> Hi!
>
> Please post new discussions as new messages instead of replying to
> existing ones. Every threaded visualization of the mailing list wi
Hi!
Please post new discussions as new messages instead of replying to
existing ones. Every threaded visualization of the mailing list will show
your message in the wrong place. ;)
On Tue, 04 Jan 2011 15:24:28 -0200, Richard Hill
wrote:
Happy New Year All,
I'm attempting to pass an
Happy New Year All,
I'm attempting to pass an url in an ajax request to an onEvent handler.
So I'm making a request like:
GET /MyPage.MyComponent:event/http://blah.com/
MyComponent.java:
public StreamResponse onEvent(String url) {
}
The problem is that what's being passe
10 matches
Mail list logo