|
|
|
|
|
|
Re: RAP 1.5 M3 RWT-OSGi integration bundle [message #831752 is a reply to message #831692] |
Thu, 29 March 2012 09:39 |
Peter Kilian Messages: 13 Registered: December 2011 |
Junior Member |
|
|
Hi Rüdiger,
this is really a bug in pax-web. There is a JIRA for this problem: PAXWEB-303
In Karaf 3.0.0-SNAPSHOT is a newer version of pax-web contained, where this bug is fixed.
But when i call my application only a empty page is displayed. How is the IEntryPoint.createUI() called? In the source of the page i see :
if( discoverAjax() ) {
// rap runtime application
org.eclipse.rwt.protocol.Processor.processMessage( {
"meta": {},
"operations": [ [ "create", "w1", "rwt.Display" ], [ "call", "w1", "init", {
"rootId": "w1",
"url": "reach"
} ] ]
} );
Should this javascript snippet do the call? My Browser is chrome
Regards
Peter
|
|
|
Re: RAP 1.5 M3 RWT-OSGi integration bundle [message #832133 is a reply to message #831752] |
Thu, 29 March 2012 20:24 |
Rüdiger Herrmann Messages: 335 Registered: July 2009 |
Senior Member |
|
|
Peter,
an entry point must be registered with
ApplicationConfiguration#addEntryPoint(). Is your entry point is
executed at all?
Rüdiger
On 29.03.2012 11:39, Peter Kilian wrote:
> Hi Rüdiger,
>
> this is really a bug in pax-web. There is a JIRA for this problem:
> PAXWEB-303
> In Karaf 3.0.0-SNAPSHOT is a newer version of pax-web contained, where
> this bug is fixed.
> But when i call my application only a empty page is displayed. How is
> the IEntryPoint.createUI() called? In the source of the page i see :
>
>
> if( discoverAjax() ) {
> // rap runtime application
> org.eclipse.rwt.protocol.Processor.processMessage( {
> "meta": {},
> "operations": [ [ "create", "w1", "rwt.Display" ], [ "call", "w1",
> "init", {
> "rootId": "w1",
> "url": "reach"
> } ] ]
> } );
>
> Should this javascript snippet do the call? My Browser is chrome
>
> Regards Peter
--
Rüdiger Herrmann
http://codeaffine.com
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04583 seconds