4

给定以下代码:

<question key="Q(Acciones)0" title="" type="6">
     <answer attributeType="72" key="Q(Acciones)_0" nextQuestionKey="Q(Acciones)1" position="0" >
      <predefinedValue>x</predefinedValue>
       </answer>                        
  <answer attributeType="14" columnSizeType="ROWS" key="editarcliente" clientKey="editarcliente" nextQuestionKey="Q(Acciones)1" position="0" icon="30" >
          <text>.</text> 
   </answer>                  
    <answer attributeType="14" columnSizeType="ROWS" key="mapa" clientKey="mapa"  nextQuestionKey="Q(Acciones)1" position="1" icon="12" >
      <text>.</text>
   </answer>  
   <answer attributeType="14" columnSizeType="ROWS" key="detalles" clientKey="detalles" nextQuestionKey="Q(Acciones)1" position="2" icon="23">
       <text>.</text> 
   </answer>  
     <onEnterAssignment>                        

     </onEnterAssignment>
     <onLeaveOkPersistAssignment>
          $global:buton_click = getQuestionClientKey();                                                      
     </onLeaveOkPersistAssignment>                                                   
     <complex linearGroupId="G(FichaCliente)" gridGroupId="G(FichaCliente)" groupTitle="Flash" gridHorizontalLayout="false" gridInnerScrollbar="true" linearInnerScrollbar="true"  linearPos="4" gridPosX="0" gridPosY="2" gridWidth="3" gridHeight="4" linearHeight="3" />
 </question>

调用“getQuestionClientKey();”时 它仅在文本“。”时返回客户端密钥。已声明并带有值。我们想删除此文本,但仍获得客户端密钥。这可能吗?

4

1 回答 1

0

Just tested with:

  • empty text element
  • spaces in text element
  • tabs in text element

both getQuestionKey and getQuestionClientKey returned nothing in all of these cases. I'll create a support issue.

于 2015-03-05T06:54:29.380 回答