Re: [xwiki-users] Actions for Class Sheets

2016-05-12 Thread Marius Dumitru Florea
On Thu, May 12, 2016 at 11:47 PM, dullfig  wrote:

> Hello:
>
> I created an app with App Within Minutes, but I have customized the View
> and
> Edit Class Sheets. Now I have separate View and Class sheets. I wanted a
> third Class Sheet only used for printing, because the TOC makes no sense
> while printing. I tried creating a third Class Sheet, bound it to the
> Class,
>


> and then set its SheetDescrptorClass Action to "print" thinking that that
>

There's no "print" action. The action that you specify in
SheetDescrptorClass is the path element following "bin" in
/xwiki/bin/view/Path/To/Page . Both print preview and PDF export are using
the view action. You can probably hide the ToC from CSS by customizing the
print/PDF styles.


> would work. It doesn't. Can this be done?
>
> Dan
>
>
>
> --
> View this message in context:
> http://xwiki.475771.n2.nabble.com/Actions-for-Class-Sheets-tp7599424.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Actions for Class Sheets

2016-05-12 Thread dullfig
Hello:

I created an app with App Within Minutes, but I have customized the View and
Edit Class Sheets. Now I have separate View and Class sheets. I wanted a
third Class Sheet only used for printing, because the TOC makes no sense
while printing. I tried creating a third Class Sheet, bound it to the Class,
and then set its SheetDescrptorClass Action to "print" thinking that that
would work. It doesn't. Can this be done?

Dan



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Actions-for-Class-Sheets-tp7599424.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users