Revision history [back]

click to hide/show revision 1
initial version

answered 2018-01-09 09:17:05 +0800

cor3000 gravatar image cor3000

ZK Team

Hi Javiut,

As you found the default composer variable is $composer. If you want to reference a specific composer you can either user the extended syntax - id$composer - using the component-id as a prefix, or specify a composerName in a <custom-attributes> element.

<div id="compA" apply="some.package.ComposerA">
  <div id="compB" apply="some.package.ComposerB">
    <div if="${compA$composer.pantallaParaDetalle}">
      some detail
    </div>
  </div>
</div>

<div apply="some.package.ComposerA">
  <custom-attributes composerName="myCompA"/>
  <div apply="some.package.ComposerB">
    <div if="${myCompa.pantallaParaDetalle}">
      some detail
    </div>
  </div>
</div>

These options also are described in our composer documentation page.

Robert

Hi Javiut,

As you found the default composer variable is $composer. If you want to reference a specific composer you can either user the extended syntax - id$composer - using the component-id as a prefix, or specify a composerName in a <custom-attributes> element.

<div id="compA" apply="some.package.ComposerA">
  <div id="compB" apply="some.package.ComposerB">
    <div if="${compA$composer.pantallaParaDetalle}">
      some detail
    </div>
  </div>
</div>

<div apply="some.package.ComposerA">
  <custom-attributes composerName="myCompA"/>
  <div apply="some.package.ComposerB">
    <div if="${myCompa.pantallaParaDetalle}">
if="${myCompA.pantallaParaDetalle}">
      some detail
    </div>
  </div>
</div>

These options also are described in our composer documentation page.

Robert

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More