Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.
Kommentar: Migrated to Confluence 5.3

Using Global UI definitions gives the xui designer the ability to reuse xui declarations and has thus a great effect at the number of declared xui definitions. This reduction leads on the other hand to an higher cpu utilization even more for large xml schemas. JAXFront resolves global type dependencies at runtime and this causes the slowdown in execution speed. If you don't need Global UI definitions you can turn this feature off:

Disable Global UI definitions 


For All ui's:

  • jaxfront.xml

Codeblock
themeEclipse
languagexml
linenumberstrue
 <property mutable="true">
<key>jaxfront.ui.useGlobalUIDefinitions</key>
<value>false</value>
</property> 
  • API call

    Codeblock
    themeEclipse
    languagejava
    linenumberstrue
    JAXFrontProperties.getInstance(getDOM().getAppContext()).setUsingGlobalUIDefinitions(false);


For a single ui:

  • API call

    Codeblock
    themeEclipse
    languagejava
    linenumberstrue
    jaxfrontDom.getGlobalDefinition().setUseGlobalTypes(false);