Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Using RWP for portlets
Using RWP for portlets [message #769526] Thu, 22 December 2011 03:42 Go to next message
Hallvard Traetteberg is currently offline Hallvard Traetteberg
Messages: 594
Registered: July 2009
Location: Trondheim, Norway
Senior Member
Hi,

Many modern web frameworks are based on portlets, which are functional
components that are render a page fragment that is integrated into a
complete web page. Is it possible to use RWT in such a context, or does
RWT need to control whole page?

Hallvard
Re: Using RWP for portlets [message #769570 is a reply to message #769526] Thu, 22 December 2011 05:53 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan Furnadjiev
Messages: 1782
Registered: July 2009
Senior Member
Hi Hallvard,
there should not have problems to run a RAP application in a portlet
environment.
Best,
Ivan

On 12/22/2011 10:42 AM, Hallvard Trætteberg wrote:
> Hi,
>
> Many modern web frameworks are based on portlets, which are functional
> components that are render a page fragment that is integrated into a
> complete web page. Is it possible to use RWT in such a context, or
> does RWT need to control whole page?
>
> Hallvard

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Using RWP for portlets [message #769785 is a reply to message #769526] Thu, 22 December 2011 11:55 Go to previous messageGo to next message
Tim Buschtoens is currently offline Tim Buschtoens
Messages: 379
Registered: July 2009
Senior Member
Hi!

> complete web page. Is it possible to use RWT in such a context, or does
> RWT need to control whole page?

To be precise: RAP/RWT works inside an iframe, it will probably not work
if you try to put it inside a div. It needs full control of its own
document, which can be part of another document as a frame.

Greetings,
Tim
Re: Using RWP for portlets [message #770095 is a reply to message #769785] Fri, 23 December 2011 05:26 Go to previous messageGo to next message
Arnaud MERGEY is currently offline Arnaud MERGEY
Messages: 128
Registered: March 2010
Location: France
Senior Member
I guess the question is more about RAP support for standard portal integration like portlet 2.0 standard (JSR-286), and correct me if I am wrong, but it seems that currently RAP does not support such integration.
Re: Using RWP for portlets [message #770097 is a reply to message #769785] Fri, 23 December 2011 05:26 Go to previous messageGo to next message
Arnaud MERGEY is currently offline Arnaud MERGEY
Messages: 34
Registered: July 2009
Member
I guess the question is more about RAP support for standard portal integration like portlet 2.0 standard (JSR-286), and correct me if I am wrong, but it seems that currently RAP does not support such integration.
Re: Using RWP for portlets [message #770266 is a reply to message #769526] Fri, 23 December 2011 14:39 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf Sternberg
Messages: 1290
Registered: July 2009
Senior Member

Hi,

if you're going to allow more than one portlet containing RAP on one
page, you can't use cookies for session tracking (see [1]).

Regards, Ralf

[1]
http://wiki.eclipse.org/RAP/FAQ#How_to_run_a_RAP_application_in_multiple_browser_tabs.2Fwindows.3F

--
Ralf Sternberg

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Using RWP for portlets [message #770269 is a reply to message #769526] Fri, 23 December 2011 14:39 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf Sternberg
Messages: 1290
Registered: July 2009
Senior Member

Hi,

if you're going to allow more than one portlet containing RAP on one
page, you can't use cookies for session tracking (see [1]).

Regards, Ralf

[1]
http://wiki.eclipse.org/RAP/FAQ#How_to_run_a_RAP_application_in_multiple_browser_tabs.2Fwindows.3F

--
Ralf Sternberg

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Using RWP for portlets [message #772716 is a reply to message #770095] Fri, 30 December 2011 07:10 Go to previous message
Hallvard Traetteberg is currently offline Hallvard Traetteberg
Messages: 594
Registered: July 2009
Location: Trondheim, Norway
Senior Member
On 23.12.11 11.26, Arnaud MERGEY wrote:
> I guess the question is more about RAP support for standard portal
> integration like portlet 2.0 standard (JSR-286), and correct me if I am
> wrong, but it seems that currently RAP does not support such integration.

I was thinking about using RWT inside one or more (independent)
portlets, not integrating portlets inside an RWT UI.

If RWT is used inside a portlet, sessions management should be the
responsibility of the portlet container.

Hallvard
Previous Topic:1.5M4 -SyntaxError: JSON.parse
Next Topic:E4 Status
Goto Forum:
  


Current Time: Tue Jul 29 19:02:54 EDT 2014

Powered by FUDForum. Page generated in 0.01897 seconds