[xwiki-users] Displaying a panel in inline editing?
Hello, I was searching for how to activate the display of a panel when in inline editing (actually when in inline editing of some classes or when the inline edit actually contains a textarea) but I could not find it. The syntax help panel should be displayed there... and I can only see that this panel can be of type view (so displayed everywhere?) or edit (so displayed in xwiki or wysiwyg editor?). thanks in advance paul
Paul Libbrecht wrote:
Hello,
I was searching for how to activate the display of a panel when in inline editing (actually when in inline editing of some classes or when the inline edit actually contains a textarea) but I could not find it.
The syntax help panel should be displayed there... and I can only see that this panel can be of type view (so displayed everywhere?) or edit (so displayed in xwiki or wysiwyg editor?).
thanks in advance
paul
1. Make the panel of type "view" 2. In the panel code, write something like: #if($context.action == "inline" || $showEmptyPanels) ... panel code here... #end 3. Enable this panel. It will automatically be hidden in non-inline mode. -- Sergiu Dumitriu http://purl.org/net/sergiu/
Le 18 févr. 08 à 16:42, Sergiu Dumitriu a écrit : >> I was searching for how to activate the display of a panel when in >> inline editing (actually when in inline editing of some classes or >> when >> the inline edit actually contains a textarea) but I could not find >> it. >> The syntax help panel should be displayed there... and I can only see >> that this panel can be of type view (so displayed everywhere?) or >> edit >> (so displayed in xwiki or wysiwyg editor?). > 1. Make the panel of type "view" > 2. In the panel code, write something like: > #if($context.action == "inline" || $showEmptyPanels) > ... panel code here... > #end > > 3. Enable this panel. It will automatically be hidden in non-inline > mode. thanks, has worked. http://www.xwiki.org/xwiki/bin/view/FAQ/SyntaxHelpPanelInInlineMode paul
participants (2)
-
Paul Libbrecht -
Sergiu Dumitriu