Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » RAP Startup Page(RAP Startup Page Without Browser Decorations)
RAP Startup Page [message #636017] Thu, 28 October 2010 21:48 Go to next message
Eclipse UserFriend
Hello,

I've been looking at CAS PIA crm RAP based application.

Does anyone know how to invoke the browser in a new window without tabs (single page) when the application starts without browser's menu, favorite links, 3rd part searching tools, etc ?

This will provide more room for the workbench, when most of the browser areas is being occupied by many 3rd party tools and utilities already installed by the browser.

step - 1
http://www.cas-pia.de/en/try.html

step -2
CAS PIA Guest Access

Thanks,
Sudesh



[Updated on: Thu, 28 October 2010 21:50] by Moderator

Re: RAP Startup Page [message #636105 is a reply to message #636017] Fri, 29 October 2010 06:16 Go to previous messageGo to next message
Eclipse UserFriend
Hi Sudesh,

this is a simple JavaScript call to window.open() with suitable
parameters. You can find those snippet all over the internet, just try
Google.

Ralf

--
Ralf Sternberg

Need professional support for RAP and RCP?
http://www.eclipsesource.com/support/

Twitter: http://twitter.com/eclipsesource
Blog: http://www.eclipsesource.com/blogs/
Re: RAP Startup Page [message #636216 is a reply to message #636105] Fri, 29 October 2010 12:44 Go to previous messageGo to next message
Eclipse UserFriend
hello ralf,

i googled and found few suggestions like :

ExternalBrowser.open("NEWWINDOW", "http://127.0.0.1:10082" + url,
ExternalBrowser.STATUS | ExternalBrowser.LOCATION_BAR |
ExternalBrowser.NAVIGATION_BAR);

the example above uses this snippet to invoke a new browser from the application event, like selectionListener.

my requirement is to automate this process, when the RAP client starts. it should automatically opens a new maximized window without browser tabs, history bar, 3rd party search tools, ect that are already sitting along side of my browser's navigator bar, which is consuming the workbench space unnecessarily.

If you invoke CAS Pia client from the browser, this invokes a new browser window with navigator bar only without other browser widgets like home, back, prev, refresh, google search, bookmarks and other tool bars.

Is there any extension point, configuration available to set this behavior when the RAP client start up ?

Kindly advise me where to begin ?
Ex. WorkbenchWindowAdvisor method or something like that.

thanks in advance.

regards,
sudesh
Re: RAP Startup Page [message #636229 is a reply to message #636216] Fri, 29 October 2010 14:33 Go to previous messageGo to next message
Eclipse UserFriend
Hi Sudesh,

It sounds like what you want is to launch your RAP application in a new window with no trim/chrome. I think the best way to do this would be to use a static landing page (i.e., not part of the RAP application) and then use a standard javascript call from there. That appears to be what the CAS PIA application is doing although there implementation seems more complex. You would just need a static html page with a link that looks like this:
<a href="javascript: window.open('/rap','','toolbar=no'); void('');">

More examples here. You could register the page using the org.eclipse.equinox.http.resources extension point so you wouldn't need an separate web server.
Re: RAP Startup Page [message #636335 is a reply to message #636229] Sat, 30 October 2010 23:33 Go to previous message
Eclipse UserFriend
Hi Cole,

Thanks for the solution. I'm sure this will solve the issue.
nevertheless, i'm still interested in finding if there's a fix available within the RAP framework.

Regards,
sudesh
Previous Topic:External Browser
Next Topic:JAAS login module in a Jar
Goto Forum:
  


Current Time: Wed Jul 23 16:32:13 EDT 2025

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

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

Back to the top