Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Include in RAP
Include in RAP [message #640805] Tue, 23 November 2010 09:13 Go to next message
Gabriele  is currently offline Gabriele Friend
Messages: 19
Registered: November 2010
Junior Member
Hi,
I have a question: it is possible to integrate the RAP technology with other technology such as JSP and JSF?
I think an application realized in RAP (as basic structure) and inside a view I include a JSF page.
Is it possible?
If not, what are the technology which can be integrated with RAP?
Thak you for making yourself available.

Best regards

Gabriele
Re: Include in RAP [message #640842 is a reply to message #640805] Tue, 23 November 2010 10:09 Go to previous messageGo to next message
Tim Buschtoens is currently offline Tim BuschtoensFriend
Messages: 396
Registered: July 2009
Senior Member
Hi Gabriele.

> I think an application realized in RAP (as basic structure) and inside a
> view I include a JSF page.
> Is it possible?

Sure, you can use the Browser-Widget to load any HTML-document. You can
even call Java methods from within the document using BrowserFunction.
(For that the document has to be in the same domain as the RAP application.)

Greetings,
Tim
Re: Include in RAP [message #640923 is a reply to message #640842] Tue, 23 November 2010 14:57 Go to previous messageGo to next message
Gabriele  is currently offline Gabriele Friend
Messages: 19
Registered: November 2010
Junior Member
Hi Tim,
thank you for your reply.
Can you show me an example of the use of the widget.Bowser?
I have google, but I found examples which set as url addressing to an external site.

I can't address my browser to a local html (or jsp) page.

I think that I have to define in my MANIFET.MF, the HttpContext, resource and servlet (from the package org.eclipse.equinox.http.registry).

Moreover, using the browser-widget (which target a local jsp/jsf/servlet) I can share a session variable between the RAP application and the local application? Now I access the session map through:

RWT.getSessionStore().getHttpSession().setAttribute("key", object);


Thanks in advance for making yourself available

Gabriele
Re: Include in RAP [message #641127 is a reply to message #640923] Wed, 24 November 2010 10:39 Go to previous message
Tim Buschtoens is currently offline Tim BuschtoensFriend
Messages: 396
Registered: July 2009
Senior Member
Hi.

Okay, i assumed that you just wanted to load a jsp page in your
RAP-application. As i understand it now, you want it also served by RAP.
I don't know if and how that would be possible.

In any case you can register static html files, check our FAQ for that:
http://wiki.eclipse.org/RAP/FAQ#How_to_register_a_file.2Ffol der_as_resource.3F

You can try it with an JSP and see what happens.

Greetings,
Tim


Am 23.11.2010 15:57, schrieb Gabriele:
> Hi Tim, thank you for your reply.
> Can you show me an example of the use of the widget.Bowser?
> I have google, but I found examples which set as url addressing to an
> external site.
>
> I can't address my browser to a local html (or jsp) page.
>
> I think that I have to define in my MANIFET.MF, the HttpContext,
> resource and servlet (from the package org.eclipse.equinox.http.registry).
>
> Moreover, using the browser-widget (which target a local
> jsp/jsf/servlet) I can share a session variable between the RAP
> application and the local application? Now I access the session map
> through:
>
>
> RWT.getSessionStore().getHttpSession().setAttribute("key", object);
>
>
> Thanks in advance for making yourself available
>
> Gabriele
Previous Topic:GMF Update?
Next Topic:Direct Entry URLs possible?
Goto Forum:
  


Current Time: Sat Oct 23 12:21:12 GMT 2021

Powered by FUDForum. Page generated in 0.02267 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top