myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Kienenberger <mkien...@gmail.com>
Subject Re: Facing error after Richfaces upgarde.
Date Wed, 07 Apr 2010 19:34:01 GMT
The id is for your richfaces component.

My suggestion would be to either try downgrading richfaces or
upgrading ONLY richfaces and nothing else to determine if it's only
caused by richfaces.


On Mon, Apr 5, 2010 at 8:29 AM,  <Nilakandan.Velu@cognizant.com> wrote:
> 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
View raw message