Problems with theming in the WAR-File [message #985343] |
Thu, 15 November 2012 05:20  |
Eclipse User |
|
|
|
Hi,
I've problems theming the version exported as war-File to use it in an external application server (tjws in my case). The program is running fine, as well in the rap's internal appserver (jetty) during running it in eclipse itself.
But it seems that the exported war file ignores my theming settings.
As a sidenote, i need to access it via http:// localhost:8182/stationaer/rap?startup=stationaer, while using eclipse I can use http:// 127.0.0.1:10080/stationaer ...
I tried following:
In the plugin.xml:
...
<extension
point="org.eclipse.rap.ui.entrypoint">
<entrypoint
class="de.mifritscher.stationaer.rap.EntryPoint"
id="stationaer.entrypoint1"
path="/stationaer"
parameter="stationaer">
</entrypoint>
</extension>
<extension
point="org.eclipse.rap.ui.branding">
<branding
defaultEntrypointId="stationaer.entrypoint1"
id="stationaer.branding1"
servletName="stationaer"
themeId="stationaer.defaulttheme" <-- (1) changing to the business theme does only work in eclipse+jetty...
title="Stationaer">
</branding>
</extension>
<extension
point="org.eclipse.rap.ui.themes">
<theme
file="css/defaulttheme.css"
id="stationaer.defaulttheme"
name="Standard">
</theme>
<themeContribution
file="css/defaulttheme.css"
themeId="org.eclipse.rap.design.example.business.theme">
</themeContribution>
<themeContribution
file="css/defaulttheme.css"
themeId="org.eclipse.rap.rwt.theme"> <-- (2) the tooltip says that I can use this id to change the default theme, but I get a warning in the eclipse's editor saying that this id doesn't exist
</themeContribution>
</extension>
...
build.properties:
source.. = src/
output.. = bin/
bin.includes = plugin.xml,\
META-INF/,\
.,\
libs/,\
pictures/,\
html/,\
css/,\
ormliteLocalLog.properties,\
js/
But nor my defaulttheme.css nor trying to use the business theme (1) works. See also (2) - The tooltip says that I can use this id to change the default theme, but I get a warning in the eclipse's editor saying that this id doesn't exist.
What can I do? I'm using RAP 1.5.1 btw.
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05476 seconds