【问题标题】:Movilizer - getQuestionClientKey() only working when text is declared?Movilizer - getQuestionClientKey() 仅在声明文本时有效?
【发布时间】:2015-05-05 19:14:14
【问题描述】:

给定以下代码:

<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();”时它仅在文本“。”时返回客户端密钥。已声明并带有值。我们想删除此文本,但仍获得客户端密钥。这可能吗?

【问题讨论】:

  • 属性类型和列大小类型在此菜单屏幕中是否有任何影响?关于您最初的问题,我的期望是文本是可选的。
  • 最新的 2.3 客户端已修复此问题

标签: mobility movilizer


【解决方案1】:

刚刚测试过:

  • 空文本元素
  • 文本元素中的空格
  • 文本元素中的标签

在所有这些情况下,getQuestionKey 和 getQuestionClientKey 均未返回任何内容。 我将创建一个支持问题。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-03-03
    • 2015-05-19
    • 1970-01-01
    • 1970-01-01
    • 2011-06-29
    相关资源
    最近更新 更多