[richfaces-issues] [JBoss JIRA] Commented: (RF-2203) suggestionbox in Jboss portal gives err "AjaxRendererUtils - Failed to obtain Response#setHeader() method: java.lang.NoSuchMethodException: org.jboss.portlet.JBossRenderResponse.setHeader(java.lang.String, jave.lan.string)"

Alexander Smirnov (JIRA) jira-events at lists.jboss.org
Mon Apr 28 15:10:08 EDT 2008


    [ http://jira.jboss.com/jira/browse/RF-2203?page=comments#action_12410999 ] 
            
Alexander Smirnov commented on RF-2203:
---------------------------------------

Wich version of the Jboss PortletBridge library is used ?

> suggestionbox in Jboss portal gives err "AjaxRendererUtils - Failed to obtain Response#setHeader() method: java.lang.NoSuchMethodException: org.jboss.portlet.JBossRenderResponse.setHeader(java.lang.String, jave.lan.string)"
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: RF-2203
>                 URL: http://jira.jboss.com/jira/browse/RF-2203
>             Project: RichFaces
>          Issue Type: Bug
>          Components: portal
>    Affects Versions: 3.2.0
>         Environment: jboss portal 2.4.1 jdk1.5 RF3.1.4GA
>            Reporter: prashant verma
>         Assigned To: Alexander Smirnov
>             Fix For: 3.2.1
>
>
> hi here is my code.
> <%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
> <%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
> <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
> <html>
> <head>
> <title>repeater</title>
> </head>
> <body>
> <f:view>
> 	<h:form id="RichFacesForm">
> 	<rich:panel header="Simple Echo">
> 		<h:inputText value="#{bean.text}" id="suggest" />
> 		<rich:suggestionbox for="suggest"
> 			suggestionAction="#{bean.autocomplete}" var="suggest" height="50"
> 			width="100">
> 			<h:column>
> 				<h:outputText value="#{suggest}" />
> 			</h:column>
> 		</rich:suggestionbox>
> 	</rich:panel>
> 	</h:form>
> </f:view>
> </body>
> </html>
> bean is this :- 
> public class Bean {
> private String text = "";
> public Bean() {
> }
> public String getText() {
> return text;
> }
> public void setText(String text) {
> this.text = text;
> }
> public List autocomplete(Object event) {
> 	String pref = event.toString();
> 	System.out.println("pref : "+pref);
> 	ArrayList a = new ArrayList();
> 	for(int i =0 ;i<10;i++)
> 		a.add(i+"");
> 	System.out.println("a - "+a);	
> 	return a;	
> 	}
> }}
> i have made appropriate enteries in the faces-config.xml
> Everything is fine but when I try to access the page in the jbossportal then while rerendering this err occurs
> .....
> 16:07:10,923 INFO  [STDOUT] pref : 1
> 16:07:10,923 INFO  [STDOUT] engineModelValues - [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
> 16:07:10,923 INFO  [STDOUT] ERROR AjaxRendererUtils - Detecting request character encoding is disable.
> 16:07:10,923 INFO  [STDOUT] ERROR AjaxRendererUtils - Failed to obtain Response#setHeader() method:
> java.lang.NoSuchMethodException: org.jboss.portlet.JBossRenderResponse.setHeader(java.lang.String, java.lang.String)
> .....
> Please suggest.
> Thanks in Advance

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list