[JBoss JIRA] Created: (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)"
by prashant verma (JIRA)
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
Environment: jboss portal 2.4.1 jdk1.5 RF3.1.4GA
Reporter: prashant verma
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
14 years, 5 months
[JBoss JIRA] Created: (RF-2135) javax.faces.application.ViewExpiredException is thrown in a Richfaces portlet
by Viggo Navarsete (JIRA)
javax.faces.application.ViewExpiredException is thrown in a Richfaces portlet
-----------------------------------------------------------------------------
Key: RF-2135
URL: http://jira.jboss.com/jira/browse/RF-2135
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.4
Environment: jdk 1.5.0_08
JBoss AS 4.2.2
JBoss Portal 2.6.3
Richfaces 3.1.4.CR4 and 3.1.4.GA
Reporter: Viggo Navarsete
I have a Richfaces portlet that basically consists of one page (start.xhtml) where there is one input field and a button. When the user push the button my SearchBean's search method is executed. Right now I'm just returning the string "success" (to test it), and then the user is supposed to get the start.xhtml displayed once more, but now with a search result below the search input. I'm getting this ViewExpiredException when pushing the button.
Please see the JBoss forum reference for more information about the actual implementation. I can also provide more information on request if necessary.
--
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
14 years, 5 months
[JBoss JIRA] Created: (RF-1145) DataScroller. Parameters(both a4j and f) always null.
by Ilya Shaikovsky (JIRA)
DataScroller. Parameters(both a4j and f) always null.
-----------------------------------------------------
Key: RF-1145
URL: http://jira.jboss.com/jira/browse/RF-1145
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.2, 3.2.0
Reporter: Ilya Shaikovsky
Assigned To: Anton Belevich
Fix For: 3.2.0
<rich:datascroller id="scroller" pageIndexVar="pi" action="#{bean.action}">
<f:param name="index" assignTo="#{bean.property1}" value="#{pi}"/>
</rich:datascroller>
<rich:datascroller ajaxSingle="false" id="scroller" pageIndexVar="pi" action="#{bean.action}">
<a4j:actionparam name="index" assignTo="#{bean.property1}" value="#{pi}"></a4j:actionparam>
</rich:datascroller>
in seter:
System.out.println("Setting property1 to _> "+ property1);
in action
System.out.println(FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get("pi"));
Both sysouts prints null in log.
--
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
14 years, 7 months