Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "RAP/FAQ"

< RAP
Line 21: Line 21:
 
** the stack traces may hint to what is missing
 
** the stack traces may hint to what is missing
 
* start with a working example: [http://www.eclipse.org/downloads/download.php?file=/technology/rap/rapdemo.war rapdemo.war] and integrate your plugins
 
* start with a working example: [http://www.eclipse.org/downloads/download.php?file=/technology/rap/rapdemo.war rapdemo.war] and integrate your plugins
 +
 +
 +
== How do I add an applet / flash / an existing Javascript libary ==
 +
* A very simplistic approach is to create a html page (or a servlet) containing your applet / flash / JS. You can simply use the browser widget to load that page within your application.
 +
 +
* A tighter integration can be achieved by developing a custom widget as explained here (integrating GMap): [http://help.eclipse.org/help33/topic/org.eclipse.rap.help/help/html/advanced/custom-widget.html custom widget tutorial]

Revision as of 13:09, 9 November 2007

| RAP wiki home | RAP project home |

This section is intended to host differents Faqs about RAP and RWT. One source could be the newsgroup about RAP itself...


Exported .war does not work

My application is working at development time, but when I export it the web application does not work. Check the following:

  • check your build.properties
    • are you exporting the plugin.xml
    • are all libraries you are using in the plugin.jars
    • TIP: As pde build sometimes swallows error messages try exporting your feature with "Deployable feature" export, this may turn up error messages
  • enable the osgi console by adding this init-param to the web.xml:
  <init-param>
     <param-name>commandline</param-name>
     <param-value>-console</param-value>			
  </init-param>
    • you may want to add a port after -console in unix environments, you can then telnet to the osgi console
    • type ss in the console and see if all bundles are started. If not try starting them with "start <bundle-id>"
    • the stack traces may hint to what is missing
  • start with a working example: rapdemo.war and integrate your plugins


How do I add an applet / flash / an existing Javascript libary

  • A very simplistic approach is to create a html page (or a servlet) containing your applet / flash / JS. You can simply use the browser widget to load that page within your application.
  • A tighter integration can be achieved by developing a custom widget as explained here (integrating GMap): custom widget tutorial

Back to the top