[Wicket-stuff-develop] [ wicket-stuff-Bugs-1455639 ] wicket-contrib-tinymce finding resources in classpath

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Wicket-stuff-develop] [ wicket-stuff-Bugs-1455639 ] wicket-contrib-tinymce finding resources in classpath

SourceForge.net
Bugs item #1455639, was opened at 2006-03-21 15:42
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=730668&aid=1455639&group_id=134391

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Wicket Stuff
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Joseph Toth (weazelb0y)
Assigned to: Martijn Dashorst (dashorst)
Summary: wicket-contrib-tinymce finding resources in classpath

Initial Comment:
Tried to use wicket-contrib-tinymce expanded in the
classpath (not from jar), but when it would search for
resources it didn't add the folders for the package of
the TinyMCEInitializer.class.

So I changed line 97 of TinyMCEInitializer.class to the
following:

                String classpath = TinyMCEInitializer.class.getName();
                classpath = Strings.beforeLast(classpath,
'.').replaceAll("\\.",
                                File.separator);

                initResources(application, basePath + File.separator
+ classpath);

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=730668&aid=1455639&group_id=134391


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Wicket-stuff-develop mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wicket-stuff-develop