You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Adriano dos Santos Fernandes <ad...@uol.com.br> on 2008/11/22 17:42:00 UTC

Portlets (JSR-168) and Ajax

Hi!

I'm trying to create portlets with Wicket, to use in Oracle Portal. 
Portlets on it is with JSR-168 via WSRP. And I'm having trouble...

But before go further, I want to know, with JSR-168 can I use Ajax?

On my environment, Oracle Portal and the portlets application runs in 
different servers, but on the Portal server there is a URL redirection 
to the application server. I have portlets using AJAX with DWR working 
there...


Adriano


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Portlets (JSR-168) and Ajax

Posted by Adriano dos Santos Fernandes <ad...@uol.com.br>.
Thijs Vonk wrote:
> I have no experience with WSRP, but I do know that the portal should 
> support a bit more then just jsr-168.  See 
> http://cwiki.apache.org/WICKET/portal-howto.html
> also the way DWR does it is different then the way wicket works.
Sure.

> If I remember correctly DWR functions as a separate servlet next to te 
> portal that catches the ajax requests.
Yes. My application is on different server and port, so the redirection 
from the container is needed to it work.

> With wicket the portlet itself handles the ajax request and response, 
> which officially isn't supported by jsr-168.
Do you mean that ajax doesn't work with wicket 1.4? This is not clear 
for me reading the wiki page...

Also, does components requiring header contribution works, for example, 
contributing things via Javascript instead of the head tag?

Thanks for reply.


Adriano


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Portlets (JSR-168) and Ajax

Posted by Thijs Vonk <vo...@gmail.com>.
I have no experience with WSRP, but I do know that the portal should 
support a bit more then just jsr-168.  See 
http://cwiki.apache.org/WICKET/portal-howto.html
also the way DWR does it is different then the way wicket works. If I 
remember correctly DWR functions as a separate servlet next to te portal 
that catches the ajax requests. With wicket the portlet itself handles 
the ajax request and response, which officially isn't supported by jsr-168.

Thijs

On 11/22/08 5:42 PM, Adriano dos Santos Fernandes wrote:
> Hi!
>
> I'm trying to create portlets with Wicket, to use in Oracle Portal. 
> Portlets on it is with JSR-168 via WSRP. And I'm having trouble...
>
> But before go further, I want to know, with JSR-168 can I use Ajax?
>
> On my environment, Oracle Portal and the portlets application runs in 
> different servers, but on the Portal server there is a URL redirection 
> to the application server. I have portlets using AJAX with DWR working 
> there...
>
>
> Adriano
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org