[xwiki-users] Displaying a panel in inline editing?

Sergiu Dumitriu sergiu at xwiki.com
Mon Feb 18 16:42:54 CET 2008


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/


More information about the users mailing list