Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-1152

It is not possible to programmatically open a dynamic popup within template

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Critical Critical
    • None
    • 6.0.1
    • Components
    • All

      It is not possible to open a dynamic popup as in example:

      <template name="xxx" var="tb">
      	<template name="yyy" var="sec">
      		<popup id="_varpopup_${tbStatus.index}_${secStatus.index}"> 
      			<!-- popup's content -->
      		</popup>
      		<toolbarbutton label="${sec.name}XXX" sclass="yw-editor-are-section-selection-tbbutton" onMouseOver='_varpopup_${tbStatus.index}_${secStatus.index}.open(self, "after_start");'/>
      	</template>
      </template>	
      

      Posible workaround:

      <toolbarbutton label="The Name" tooltip="_varpopup_${tbStatus.index}_${secStatus.index},delay=0,position=after_start"/>
      

            Unassigned Unassigned
            ulysses ulysses
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: