[Yanel-dev] Is toolbar suppressed status is now available via XSTL when using or extending BasicXMLResource

Michael Wechner michael.wechner at wyona.com
Thu Mar 8 14:06:19 CET 2012


Hi

In order to check inside an XSLT whether the toolbar is suppressed 
(omitted), then one can use the following parameter

<xsl:param name="yanel.toolbar-is-suppressed" 
select="'TOOLBAR_IS_SUPPRESSED_IS_NULL'"/>

whereas the values are

true: if toolbar is suppressed
false: if toolbar is not suppressed or not enabled at all

To know this status can be quite useful when for example an (X)HTML 
(generated by XSLT) contains context menus
which depend on the status of the toolbar, but which should be omitted 
if the toolbar is suppressed, but otherwise enabled.

Thanks

Michael


More information about the Yanel-development mailing list