On 06/28/2012 02:28 PM, echocoder wrote:
When editing an Xwiki page and choosing the WYSIWYG
option instead of showing
the editor it takes the user to a blank HTML cache page in
/xwiki/resources/js/xwiki/xwe/*.cache.html.
Do any of you know the cause of this and/or how to fix such?
Are you sure this is what's happening? It is normal for the WYSIWYG to
load some resources like xwe/*.cache.html, since those implement the
actual functionality of the WYSIWYG (they're compiled GWT code), but it
should load via an XHR something like
/xwiki/bin/edit/Space/Page?xpage=wysiwyginput&token=1fxAIU1MxkGTY9MqrON3oA
which is the actual content that is supposed to be displayed in the
editable area.
Note that not every page is editable in WYSIWYG mode. Documents that are
supposed to be edited in "Inline mode", as a form, should only be edited
in inline mode, since they don't really have a content that's supposed
to be edited, they have objects displayed by sheets. For example, it's
normal to get a blank WYSIWYG when trying to edit blog posts or users.
To check that the WYSIWYG works, try editing a document from the
sandbox; if that doesn't work, then you might have a real bug, in which
case some more details are required: what browser, what operating
system, what version of XWiki are you using.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/