myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Nilakandan.V...@cognizant.com>
Subject Facing error after Richfaces upgarde.
Date Mon, 05 Apr 2010 12:29:57 GMT
All,

 

     I'm getting the following exception when I try to access my
application.

 

 

 

I have recently updated the following components in my application

 

 

 

weblogic8.1 to weblogic 10.3

 

myfaces 1.1.5 to 1.2.8

 

richfaces 3.0.1 to 3.3.2

 

tomahawk  1.1.5 to 12_1.1.10

 

Struts tiles to tiles 2.0.7

 

 

Exception while calling encodeEnd on component : {Component-Path :
[Class: org.ajax4jsf.component.AjaxViewRoot,ViewId:
/webContent/jsp/searchManager/search/searchManagerMain.jsp][Class:
org.apache.myfaces.custom.document.Document,Id: j_id_id1][Class:
org.apache.myfaces.custom.document.DocumentBody,Id: j_id_id9][Class:
javax.faces.component.html.HtmlForm,Id: searchManagerForm][Class:
org.apache.myfaces.custom.div.Div,Id: div_searchContainer][Class:
org.apache.myfaces.custom.div.Div,Id: j_id_id15][Class:
javax.faces.component.UINamingContainer,Id: subView_searchj_id_1][Class:
org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id: j_id_id2pc2]}

Caused by:
javax.faces.FacesException - Component for target tSuggest not found in
SuggestionBox tSuggestBoxpc1

 

PFB, the sample code I used in my app.

 

 

<t:popup id="tooltipT"

 
style="#{(uiQSP.quickSearchListController.selectedT==null||uiQSP.quickSe
archListController.selectedT=='')?null:'border:1px solid
#000000;bgcolor:#FFFFFF;width:100px;background-color:#ffffff'}"

            closePopupOnExitingElement="true"
closePopupOnExitingPopup="true"

            displayAtDistanceX="10" displayAtDistanceY="10"
rendered="true">

            <a4j:region id="tRegion">

            <t:inputTextHelp
value="#{uiQSP.quickSearchListController.selectedTA}" id="tSuggest" 

                           size="40" maxlength="255" >


            </t:inputTextHelp>

                  <rich:suggestionbox id="tSuggestBox" for="tSuggest"
style ="font-size:12px" tokens="" frequency="0" selfRendered="true"
ignoreDupResponses="true"   

                        rules="#{uiQSP.rules}"

                        suggestionAction="#{uiQSP.autocompleteT}"
var="result"

                        fetchValue="#{result.tName}"
first="#{uiQSP.intFirst}"

                        minChars="#{uiQSP.minchars}"

                        shadowOpacity="#{uiQSP.shadowOpacity}"

                        border="#{uiQSP.border}" width="#{uiQSP.width}"

                        height="#{uiQSP.height}"

                        shadowDepth="#{uiQSP.shadowDepth}"

                        cellpadding="#{uiQSP.cellpadding}" >

                        <h:column>

                              <h:outputText value="#{result.tName}" />

                        </h:column>

                        <a4j:support event="onselect"
action="#{uiQSP.getXXX}"

 
reRender="tooltipT,tx,ty,qname,qc,qmdc"></a4j:support>

                  </rich:suggestionbox>

            </a4j:region>

            <f:facet name="popup">

                  <t:div
rendered="#{!(uiQSP.quickSearchListController.selectedT==null||uiQSP.qui
ckSearchListController.selectedT=='')}">

                        <t:panelGrid columns="2">

                              <t:outputText value="T:"

                                    style="font-weight: bold; font-size:
10;" />

                              <t:outputText
value="#{uiQSP.quickSearchListController.selectedT}"
style="font-size:10; white-space: nowrap;" />                         

                        </t:panelGrid>

                  </t:div>

            </f:facet>

 

      </t:popup>

 

 

Please let me know what will be the root cause of this issue.

 

Thanks & Regards,

Nila


This e-mail and any files transmitted with it are for the sole use of the intended recipient(s)
and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply e-mail and destroy
all copies of the original message.
Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of
this email or any action taken in reliance on this e-mail is strictly prohibited and may be
unlawful.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message