Virgo + RAP + OSGi: Extension Points and Fancy Theme [message #1037285] |
Tue, 09 April 2013 11:30 |
Tobias P. Messages: 43 Registered: April 2012 |
Member |
|
|
Hello guys,
as mentioned in another thread, we are developing an OSGi based application together with RAP 2.0
The target runtime is Eclipse Virgo 3.6.0
The Application is deployed as a .jar file.
My rap-context.xml looks as follows
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:osgi="http://www.springframework.org/schema/osgi"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd">
<context:component-scan base-package="de.hswt.stoffident.ui"/>
<context:annotation-config />
<bean id="simpleConfiguration" class="de.hswt.stoffident.ui.SIApplicationConfiguration" />
</beans>
And the SIApplicationConfiguration like
public void configure(Application application) {
Map<String, String> properties = new HashMap<String, String>();
properties.put(WebClient.THEME_ID, RWT.DEFAULT_THEME_ID);
application.addStyleSheet(RWT.DEFAULT_THEME_ID, "css/ri.css");
application.setOperationMode(Application.OperationMode.SWT_COMPATIBILITY);
application.addEntryPoint("/app", SIApplication.class, properties);
}
We want to use the Fancy respectively the Buisness.
This works fine in a standalone application using the extension point org.eclipse.rap.ui.serviceHandler
But how can i include the themes using our setup mentioned before?
What works is using the css.file, but then the additional Widgets are missing (Top menu and so on...)
If you need further information feel free to ask
Thanks in advance
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04136 seconds