On 07/05/2011 11:17 PM, Rob Gillen wrote:
On Tue, Jul 5, 2011 at 3:12 PM, Rob Gillen<[email protected]> wrote:
On Tue, Jul 5, 2011 at 2:07 PM, Marius Dumitru Florea <[email protected]> wrote:
Hi Rob,
On 07/05/2011 07:30 PM, Rob Gillen wrote:
I've recently deployed XWiki (3.1m1) in a Tomcat 6 container, and was playing around with the editing features when I noticed that the WYSIWYG editor menu, which is supposed to sit right above the editor toolbar, is missing. I've been unsuccessful in finding any posts regarding this issue, and there doesn't seem to be very much information in the documentation about it. Is there something that I need to do to enable it? or maybe I've done something wrong. Perhaps someone can provide some hints to help.
We need more details:
* is it a clean 3.1M1? You didn't upgrade from a previous version and you have imported the default 3.1M1 XAR, right? * did you try to clear your browser cache? * what browser are you using and which version? * in the WYSIWYG editor administration section the menu configuration is not empty, right? Are you able to edit the menu configuration?
* Yes, it was a clean 3.1M1 installation, not an upgrade. * I did import the default 3.1M1 XAR. * Clearing the browser cache (and cookies) made no difference in any browser. * I've been using Firefox 5.0, but tried Explorer 7 in response to your question. Both manifest the same issue. * The menu configuration had some configured defaults (all that are available, I believe). * I've tried removing, re-adding, and rearranging the menu items.
I also haven't noted any errors in the tomcat logs; although, I suspect this is probably a browser/client issue and not a server one.
I think I'll try out the all-in-one zip again. It might be my imagination, but I don't recall seeing the menu the last time I ran that one when I was evaluating xwiki.
Ok, I tried the all-in-one zip, and there were no issues when displaying the editor menu. It was there, fully functioning. Just for kicks, I ran a diff between the all-in-one and the uncompressed WAR contents and saw nothing significantly different between the two. The differences mostly amounted to my changes to set up a JNDI datasource (in the hibernate.cfg.xml file) for Oracle and turning on stats. I've also tried bouncing tomcat just to make sure that any changes to configuration files were applied.
If the JavaScript code from resources/js/xwiki/wysiwyg/xwe is the same and the editor configuration is fine then the menu should be displayed both on Jetty and Tomcat. You should check three things: (1) View the HTML source when in WYSIWYG edit mode and search for "wysiwygConfig". The first match should be a JavaScript object that holds the WYSIWYG editor configuration. The value of the 'menu' property should be similar to: 'link image table macro import'. (2) In Firefox, if you have Firebug extension installed you can open the Console tab and click on the "Break On All Errors" icon then reload the page. You should get only one or two "null has no properties" (harmless) exceptions. (3) Open the HTML tab of Firebug and search for "gwt-MenuBar" (use the search box in the right corner of the Firebug window). Does it find something? Maybe the menu is there but is hidden for some reason. Hope this helps, Marius
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users