2017-01-16 10 views
0

私のアプリケーションでJSFを使用しています。私はエースlinkBut​​tonを介してデータを表示中にランタイムエラーが発生しています。私は取得しています未定義の 'linkBut​​ton'プロパティを読み取れません

エラーは次のとおりです。キャッチされない例外TypeError:これによってリンクに未定義

の「LinkBut​​tonコントロール」プロパティを読み取ることができません可能にされていません。私は何かが初期化されていないことを理解しています。なぜそれがエラーになっているのですか?

これは私のコードです:

<ice:panelGroup> 
    <fieldset> 
     <legend>Downstream info</legend> 
     <ice:panelGrid columns="2"> 
      <ice:outputLabel value="Channel type" /> 
      <ice:outputText value="Primary"/> 

      <!-- Downstream --> 
      <ice:outputLabel value="Channel ID" /> 
      <ice:panelSeries id="dsChannelId" value="#{viewCustomerBean.pollModemResult.downstreamChannelID}" var="item"> 
       <ice:panelGroup style="width:63px;float:left;text-align:center;"><ice:outputText value="#{item}" /></ice:panelGroup> 
      </ice:panelSeries>    

      <ice:outputLabel value="Frekvens (Hz)" /> 
      <ice:panelSeries id="dsFrekvensId" value="#{viewCustomerBean.pollModemResult.downstreamFrekvens}" var="item"> 
       <ice:panelGroup style="width:63px;float:left;text-align:right;"><ice:outputText value="#{item}" rendered="#{item!=0}"/></ice:panelGroup> 
       <ace:linkButton id="FrekID" value="#{item}" action="#{viewCustomerBean.pollModemResult.showFreqPopup}" rendered="#{item==0}"/> 
      </ice:panelSeries>    

      <ice:outputLabel value="Received power level (dBuV)" /> 
      <ice:panelSeries id="dsPowerId" value="#{viewCustomerBean.pollModemResult.downstreamReceivedPowerLevel}" var="item"> 
       <ice:panelGroup style="width:63px;float:left;text-align:center;"><ice:outputText value="#{item}" /></ice:panelGroup> 
      </ice:panelSeries>    

      <ice:outputLabel value="Downstream SNR (dB)" /> 
      <ice:panelSeries id="dsSNRId" value="#{viewCustomerBean.pollModemResult.downstreamSNR}" var="item"> 
       <ice:panelGroup style="width:63px;float:left;text-align:center;"><ice:outputText value="#{item}" /></ice:panelGroup> 
      </ice:panelSeries>    

      <ice:outputLabel value="Downstream MER (dB)" /> 
      <ice:panelSeries id="dsMERId" value="#{viewCustomerBean.pollModemResult.downstreamMER}" var="item"> 
       <ice:panelGroup style="width:63px;float:left;text-align:center;"><ice:outputText value="#{item}" /></ice:panelGroup> 
      </ice:panelSeries>    

     </ice:panelGrid> 
    </fieldset> 
</ice:panelGroup> 
+0

こんにちは、[mcve]を作成してください。 jqueryライブラリを手動で組み込んでいる可能性が最も高いです。 – Kukeltje

答えて

1

私はまだ問題だったのか分からないが、私は<ice:commandLink><ace:linkButton>を変更し、今では働いています。

関連する問題