[JBoss JIRA] Created: (RF-3273) Ajax response should not send <head> tag
by Dan Allen (JIRA)
Ajax response should not send <head> tag
----------------------------------------
Key: RF-3273
URL: http://jira.jboss.com/jira/browse/RF-3273
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Reporter: Dan Allen
There is an expectation that Ajax responses are reasonably small. However, RichFaces Ajax responses are unreasonably large because the BaseXMLFilter is mistakingly sending the entire <head> tag regardless of whether the response type is Ajax or not. The <head> tag contains many <script> and <link> tags that bloat the response. The BaseXMLFilter should only be sending the <head> tag on a normal response.
Now you might think, "What if the region to be rendered has new components (that were not previously rendered) for which styles and scripts are necessary for proper behavior?" Well, RichFaces is already smart and incorporates these styles and scripts into the initial response even if the associated components are not rendered. So there is absolutely *no* reason to have them sent in the Ajax response.
--
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, 6 months
[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, 6 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, 6 months