Configuration

compared with
Current by Deryk Sinotte
on Feb 01, 2012 16:29.


 
Key
These lines were removed. This word was removed.
These lines were added. This word was added.

View page history


There are 3 changes. View first change.

 h3. Configuration
  ICEfaces provides a number of configuration parameters that need not be adjusted for typical applications, but may be useful for diagnostic purposes or in special cases. The parameters are set as context parameters in the web.xml file of your application. Several of them may be overridden on a page by page basis via the [icecore:config tag|ICE:config]. Some only apply when using the compatibility features and components of ICEfaces.
  
ICEfaces 2.0 provides a number of configuration parameters that need not be adjusted for typical applications, but may be useful for diagnostic purposes or in special cases.
  
  
 h4. autoid
 _default is true_
  
 Setting autoid to true causes the majority of standard JSF components to write their IDs to the page. This allows ICEfaces to apply page updates at a fine granularity. With this parameter set to false, page updates can only be applied for components that have manually specified IDs. This parameter is provided for fallback to completely standard behavior; it is not generally intended to be set to false for application use.
  
 {code:xml} <context-param>
  <param-name>org.icefaces.autoid</param-name>
  <param-value>true</param-value>
  </context-param>
 {code}
  
  
 h4. compressDOM
 _default is false_
  
 Setting compressDOM to true indicates to the ICEfaces core framework that the server-side DOM representation of the current view should be serialized and compressed between requests. The default value of false leaves the DOM representation intact between requests.
  
 {code:xml} <context-param>
  <param-name>org.icefaces.compressDOM</param-name>
  <param-value>false</param-value>
  </context-param>
 {code}
  
  
 h4. deltaSubmit
 _default is false_
  
 Setting deltaSubmit to true ...
  
 {code:xml} <context-param>
  <param-name>org.icefaces.deltaSubmit</param-name>
  <param-value>false</param-value>
  </context-param>
 {code}
  
  
 h4. render.auto
 _default is true_
  
 Setting render.auto to true causes ICEfaces to automatically apply DOM rendering to each page. If this is set to false, then DOM rendering and updating is turned off for the entire application.
  
 {code:xml} <context-param>
  <param-name>org.icefaces.render.auto</param-name>
  <param-value>true</param-value>
  </context-param>
 {code}
 To apply ICEfaces DOM rendering to select pages only, set this parameter to false and add
  
 {code:xml} <ice:config render="true">
 {code}
 to just those pages that should be rendered via ICEfaces.
  {children}

© Copyright 2021 ICEsoft Technologies Canada Corp.