You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltaspike.apache.org by ta...@apache.org on 2014/03/02 22:37:20 UTC
svn commit: r1573372 - /deltaspike/site/trunk/content/jsf.mdtext
Author: tandraschko
Date: Sun Mar 2 21:37:20 2014
New Revision: 1573372
URL: http://svn.apache.org/r1573372
Log:
docu for ds:disableClientWindow
Modified:
deltaspike/site/trunk/content/jsf.mdtext
Modified: deltaspike/site/trunk/content/jsf.mdtext
URL: http://svn.apache.org/viewvc/deltaspike/site/trunk/content/jsf.mdtext?rev=1573372&r1=1573371&r2=1573372&view=diff
==============================================================================
--- deltaspike/site/trunk/content/jsf.mdtext (original)
+++ deltaspike/site/trunk/content/jsf.mdtext Sun Mar 2 21:37:20 2014
@@ -135,6 +135,15 @@ The component `ds:windowId` (`xmlns:ds="
It will import and render the required script parts for both `LAZY` and `CLIENTWINDOW` mode.<br/>
The best way, to apply it for all views, is to add this component to all of your templates.
+### ds:disableClientWindow
+
+Similiar to JSF 2.2' `disableClientWindow`, `ds:disableClientWindow` provides the ability to disable the rendering of the windowId to all links of all child components:
+
+ <ds:disableClientWindow>
+ <h:link value="Link without windowId" outcome="target.xhtml" />
+ </ds:disableClientWindow>
+ <h:link value="Link with windowId" outcome="target.xhtml"/>
+
### Switch Mode
To switch the mode, just provide a `org.apache.deltaspike.jsf.api.config.JsfModuleConfig` and overwrite `#getDefaultWindowMode`: