wicketstuff / core

Wicketstuff-core projects are bundled user contributions for use with Apache Wicket (https://wicket.apache.org/). They are released in step with Wicket releases to make them easy to use.
342 stars 298 forks source link

Tiny mce - icons do not be shown up #131

Open kadkaz opened 12 years ago

kadkaz commented 12 years ago

Wicket 1.5.5 Wicketstuff 1.5.5 Apache proxy to tomcat using ajp

ui.css has like http://host//themes/advanced/css/ui.css and then inside ui.css there is relative url to icons (../../icon.jpg), but that's why it will have something like:

http://host//themes/advanced/../../icon.jpg

and it works for localhost and in tomcat using direct access, but if I use apache proxy to tomcat, icon.jpg could not be found.

I suggest to correct your url to http://host/themes/advanced/css/ui.css instead of http://host//themes/advanced/css/ui.css

How I could understand that url is placed inside javascript.

martin-g commented 12 years ago

Can you try with 1.5.7 ? It has been released two days ago. Thanks!

kadkaz commented 12 years ago

checked with: Wicket 1.5.7 Wicketstuff 1.5.7

still generated: http://localhost:8080//themes/simple/skins/default/ui.css

should generate http://localhost:8080/themes/simple/skins/default/ui.css

double slashes do not work well with Apache proxy + tomcat using ajp

this trouble correlates with issue 74 TinyMCE doesn't work for wicket 1.5 (baseURL problem)