Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » menu arrows not shown behind gateway
menu arrows not shown behind gateway [message #643931] Wed, 08 December 2010 17:52 Go to next message
Jean Rebillat is currently offline Jean RebillatFriend
Messages: 14
Registered: December 2010
Junior Member
I am working on a RAP (1.3) workbench application.
The application runs on a Tomcat 5.5.29 instance that is hidden from the world behind a BEA Aqualogic portal acting as a gateway.
I previously tested the server by calling it directly and had no problem.
Now that the gateway is in front, all features are working fine (including images, graphics, handlers), except that the menu arrows (those little triangles on the right) are not shown in the menu or in the coolbar.
I try without theming and with a theme-specific image for the arrow. It works on a standalone base, but no arrow is displayed behind the gateway.
I presume I missed a silly little trick somewhere, but I need some help to find where to search.

Putting a log filter to track the http requests, I found that the erroneous images were requested from /rwt-resources/themes/images with a hexadecimal name.
Re: menu arrows not shown behind gateway [message #644043 is a reply to message #643931] Thu, 09 December 2010 08:52 Go to previous messageGo to next message
Stefan   is currently offline Stefan Friend
Messages: 316
Registered: July 2009
Senior Member
Hi,

I have no clue what's exactly wrong, but take a look at the JS of org.eclipse.swt.theme.ThemeValues#getCssSizedImage() in ThemeValues.js.

// TODO [tb] : Revise hardcoded path
return [ "rwt-resources/themes/images/" + result[ 0 ],
result[ 1 ],
result[ 2 ] ];

Looking at your http trace: what do the other working urls look like?

HTH,
Stefan.
Re: menu arrows not shown behind gateway [message #644170 is a reply to message #644043] Thu, 09 December 2010 18:13 Go to previous messageGo to next message
Jean Rebillat is currently offline Jean RebillatFriend
Messages: 14
Registered: December 2010
Junior Member
The annotation is interesting. I try to figure out if I could understand the reason for this hard-coded path but the code if far too complex.

The trace is like this (the resources not shown in the browser are those in hexadecimal) :

/appli/rwt-resources/images/tooladmin.gif
/appli/rwt-resources/themes/images/e29766ac
/appli/rwt-resources/resource/widget/rap/ctabfolder/maximize .gif
/appli/rwt-resources/resource/widget/rap/ctabfolder/minimize .gif
/appli/rwt-resources/resource/widget/rap/ctabfolder/close.gi f
/appli/rwt-resources/45.fwk6147782/icons/projectsview.gif
/appli/rwt-resources/45.fwk6147782/icons/proptypesview.gif
/appli/rwt-resources/45.fwk6147782/icons/properties2views.gi f
/appli/rwt-resources/45.fwk6147782/icons/tooladmin.gif
/appli/rwt-resources/45.fwk6147782/icons/sessions.gif
/appli/rwt-resources/resource/static/image/blank.gif
/appli/rwt-resources/themes/images/148ab7bc
/appli/rwt-resources/org.eclipse.swt.browser/text1671612846. html
/appli/rwt-resources/45.fwk6147782/icons/admin.gif
/appli/rwt-resources/45.fwk6147782/icons/system.gif
/appli/rwt-resources/45.fwk6147782/icons/user.gif
/appli/rwt-resources/45.fwk6147782/icons/userinfo.gif
/appli/rwt-resources/themes/images/fcf99fc5
/appli/rwt-resources/themes/images/fcf99fc5
/appli/rwt-resources/25.fwk6147782/icons/full/eview16/view_m enu.gif
Re: menu arrows not shown behind gateway [message #644458 is a reply to message #644170] Sat, 11 December 2010 16:40 Go to previous message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

Hi Jean,

can you try to access those image URLs directly? Do you get a HTTP 404
from the server?

Ralf

--
Ralf Sternberg

Twitter: http://twitter.com/ralfstx
Blog: http://www.eclipsesource.com/blogs/

Professional support for RAP and RCP?
http://www.eclipsesource.com/support/
Previous Topic:Tomcat Manager
Next Topic:strategy for passing in User auth session from main webApp to rap web app
Goto Forum:
  


Current Time: Thu Apr 18 00:03:15 GMT 2024

Powered by FUDForum. Page generated in 0.03173 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top