Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to render or hide theme resources only for one xsp
    primarykey
    data
    text
    <p>I have a theme for application that load many CSS and METAS in all xpages.</p> <p>My app only need all these css in the index.xsp, rest of pages are loaded by AJAX and I need that these pages would be loaded without CSS, basically without theme.</p> <p>Somebody know if is possible add "rendered" property in RESOURCES or add condition to load one CSS or other?? I know that I can load other pages from other NSF without theme but is better for me to have only one NSF</p> <pre class="lang-xml prettyprint-override"><code>&lt;resource&gt; &lt;content-type&gt;text/css&lt;/content-type&gt; &lt;href&gt;css/reset.css&lt;/href&gt; &lt;/resource&gt; &lt;resource&gt; &lt;content-type&gt;text/css&lt;/content-type&gt; &lt;href&gt;css/style.css&lt;/href&gt; &lt;/resource&gt; &lt;resources&gt; &lt;metaData&gt; &lt;name&gt;MobileOptimized&lt;/name&gt; &lt;content&gt;320&lt;/content&gt; &lt;/metaData&gt; &lt;metaData&gt; &lt;name&gt;viewport&lt;/name&gt; &lt;content&gt;width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no&lt;/content&gt; &lt;/metaData&gt; &lt;/resources&gt; </code></pre> <p>For example I have this for FORM control, This condition is valid for my app.</p> <pre class="lang-xml prettyprint-override"><code>&lt;control mode="override"&gt; &lt;name&gt;Form&lt;/name&gt; &lt;property&gt; &lt;name&gt;styleClass&lt;/name&gt; &lt;value&gt;#{javascript:(view.getPageName() == '/index.xsp')?'block wizard same-height':'xspForm'}&lt;/value&gt; &lt;/property&gt; </code></pre> <p> Thanks a lot</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload