Can't see mockups on XWiki pages
instead of the mockups I can only see:
#includeMacros("Mockups.Macros")
#mockup("test1")
what is surprising it works properly on Sandbox xwiki page
#includeMacros("Mockups.Macros")
#mockup("test1")
what is surprising it works properly on Sandbox xwiki page
1
person has this problem
I have this problem, too!
Tell me when someone solves it.
The more people who report this problem, the more it gets noticed.
The more people who report this problem, the more it gets noticed.
The company has a solution in progress.
-
Inappropriate?Hello Marek, so sorry you hit this issue. Are you using XWiki 1.9 by any chance?
XWiki 1.9 introduced a new sytax for macros, which we don't yet support.
A customer sent me this workaround via email:
---------------------------------
When I create or edit a mockup, the following text is inserted into the top of the document as:
#includeMacros("Mockups.Macros")
#mockup("ClientDetectScreen")
I was able to get the mockup to render by editing the document and using the following in the wiki editor mode:
{{include context="current" document="Mockups.Macros"/}}
{{velocity output="true"}}{{html wiki="true"}}#mockup("ClientDetectScreen"){{/html}}{{/velocity}}
The HTML under the mockup doesn't render cleanly, but at least the mockup is visible. This also ends up rendering the HTML inline in the WYSIWYG/GWT editor when.
---------------------------------
which is not really an acceptable answer but it might get you unstuck for now.
I am working on fixing the issue on my end, but it will take a few days.
Can you please confirm that you're using XWiki 1.9 with the new syntax? Also, would you be available to help me test my fix when it's ready? -
Inappropriate?Hi,
we are using XWiki Enterprise 1.9.21179.
The solution included in your answer works as described. Unfortunately it is not possible to edit mockups from within the WYSIWYG editor.
Sure, I will test the patch when ready. -
Inappropriate?Mark,
You can also switch the page where you are using mockups to syntax 1.0 and it will work.. This of course won't be the right solution if you want to use the new wysiwyg in pages where you have mockups.
You can also try {{html wiki=true clean=false}} for your html under the mockup. It might help. -
Hi, thank you for your help.
I haven't tried it because Peldi has just prepared a patch that works fine with the new syntax. The patch will be available next Tuesday.
Once again, thank you. -
Inappropriate?Hi all, we just posted a build that works with both 1.0 and 2.0 syntaxes and is still fully backward compatible with XWiki 1.5 here: http://www.balsamiq.com/products/mock...
I plan on merging the fix to the main Mockups for XWiki 1.6 branch on Tuesday.
1 person says
this solves the problem
-
Works great, thank you.
Loading Profile...



