Virgo + RAP + OSGi: Extension Points and Fancy Theme [message #1031867] |
Tue, 02 April 2013 09:57 |
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
|
|
|
|
|
Re: Virgo + RAP + OSGi: Extension Points and Fancy Theme [message #1037247 is a reply to message #1035783] |
Tue, 09 April 2013 10:33 |
Florian Waibel Messages: 166 Registered: June 2010 |
Senior Member |
|
|
Hello Tobias,
After consulting a RAP developer it seems your issue with the theme is somehow related to your problem with the forms UI and your setup using the ApplicationConfiguration. Please post your question in the RAP forum because your question seems not Virgo specific. Chances are way better to catch the attention of anyone who knows a possible workaround/solution there.
Regards,
florian
[Updated on: Tue, 09 April 2013 10:34] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03427 seconds