[JBoss JIRA] Created: (RF-4398) Form: ajax form doesn't handle ajaxSingle in the right way
by Nick Belaevski (JIRA)
Form: ajax form doesn't handle ajaxSingle in the right way
----------------------------------------------------------
Key: RF-4398
URL: https://jira.jboss.org/jira/browse/RF-4398
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Reporter: Nick Belaevski
Assignee: Alexander Smirnov
Fix For: Future
<a4j:form ajaxSubmit="true" ajaxSingle="true" id="a4jform">
Ajax single
<h:inputText />
<h:commandButton actionListener="#{capitalsBean.action}" value="Button" id="button" />
</a4j:form>
Pressing button submits the following parameters:
AJAXREQUEST _viewRoot
a4jform a4jform
a4jform a4jform
a4jform:button Button
a4jform:j_id236 22
ajaxSingle a4jform
autoScroll
javax.faces.ViewState j_id2
ajaxSingle should be a4jform:button, duplicate parameters should not be submitted
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 10 months
[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
15 years, 10 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
15 years, 10 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
15 years, 10 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
16 years
[JBoss JIRA] Created: (RF-4089) check whether ajax is enabled in IE6
by Michael Heinen (JIRA)
check whether ajax is enabled in IE6
------------------------------------
Key: RF-4089
URL: https://jira.jboss.org/jira/browse/RF-4089
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.5
Reporter: Michael Heinen
I am facing a small problem if my richfaces app runs with wrong security settings in IE 6.
Some javascript errors occur if the security option "Script ActiveX controls marked safe for scripting" is disabled.
1) js error: Exception thrown and not caught:
occurs in sarissa.js line 82: throw "Could not retreive a valid progID of Class: " + idList[idList.length-1]+". (original exception: "+e+")";
2) js error: A4J.AJAX' is null or not an object
3) LOG is undefined
I would like to display a message or an alert that the security settings are too restrictive. Is there any way to do this ?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 1 month
[JBoss JIRA] Created: (RF-4532) JS error after reREnder modal with combo inside
by Ilya Shaikovsky (JIRA)
JS error after reREnder modal with combo inside
-----------------------------------------------
Key: RF-4532
URL: https://jira.jboss.org/jira/browse/RF-4532
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Reporter: Ilya Shaikovsky
Assignee: Nick Belaevski
1) customers snippet at forum.
2) additionally trying after I change the code to(rerender not panel but its content):
<rich:modalPanel id="modalPanel" autosized="true" minWidth="600">
<f:facet name="header">
My modal Panel
</f:facet>
<a4j:outputPanel id="out">
<a4j:form>
<h:outputLabel for="selected" value="Titel:"/>
<rich:comboBox id="titleBox" value="#{comboBoxBean.value}">
<f:selectItems value="#{capitalsBean.capitalsOptions}"/>
</rich:comboBox>
<a4j:outputPanel ajaxRendered="true">
<h:message for="titleBox" styleClass="errortext" />
</a4j:outputPanel>
</a4j:form>
</a4j:outputPanel>
</rich:modalPanel>
<a4j:form>
<a4j:commandButton
reRender="out"
value="reRender MP" />
</a4j:form>
<input onclick="Richfaces.showModalPanel('modalPanel');"
value="show..." type="button"/>
the same js error occurs.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 2 months
[JBoss JIRA] Created: (RF-4362) inplaceSelect: oneditactivation fired after oneditactivated
by Tatyana Romanovich (JIRA)
inplaceSelect: oneditactivation fired after oneditactivated
-----------------------------------------------------------
Key: RF-4362
URL: https://jira.jboss.org/jira/browse/RF-4362
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Environment: RF-3.2.2.CR2
Reporter: Tatyana Romanovich
Assignee: Nick Belaevski
Priority: Minor
1. Create tested application with code:
<rich:inplaceSelect id="iSId1"
............................
oneditactivation="if (!confirm('Are you sure you want to change value?')){return false;}">
<f:selectItems value="#{inplaceComponentsBean.capitals}" />
<f:selectItem itemLabel="Outras Atividades" itemValue="10" />
<a4j:support event="onviewactivated" oncomplete="alert ('Some functions');"/>
</rich:inplaceSelect>
2. Run application on the server
3. Click on the inplaceSelect component.
Result: confirm dialog appears
4. Click OK button.
Result: alert appears (oneditactivated fired)
5. Click Ok button
FAILURE: confirm dialog appears again, i.e. oneditactivation fired again.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 2 months
[JBoss JIRA] Created: (RF-4455) Implement Maven 2 Seam application for regression testing
by Nick Belaevski (JIRA)
Implement Maven 2 Seam application for regression testing
----------------------------------------------------------
Key: RF-4455
URL: https://jira.jboss.org/jira/browse/RF-4455
Project: RichFaces
Issue Type: Task
Affects Versions: 3.3.0
Reporter: Nick Belaevski
Assignee: Vladimir Molotkov
Priority: Critical
Fix For: 3.3.0
Implement Seam application for regression testing
Requirements:
1. Seam & RichFaces versions set in pom file and should be switched easily by setting properties from command line
2. Application should be packaged as EAR deployable to JBoss 4.2 or 4.3
3. Datasource for HSQL DB should be set up and SQL import should happen on JBoss startup
4. JSP and Facelet pages should be working side-by-side
5. Selenium should be set up and ready to to run integration tests by invoking mvn clean integration-test
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 2 months
[JBoss JIRA] Created: (RF-4248) a serious design defect
by zhou careprad (JIRA)
a serious design defect
-----------------------
Key: RF-4248
URL: https://jira.jboss.org/jira/browse/RF-4248
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.4
Reporter: zhou careprad
Priority: Minor
Fix For: 3.1.x
We encounter a serious problem in the project that based on richfaces.
for example:
<h:panelGrid id="boxGrid" binding="#{bean.boxGrid}">
</h:panelGrid>
<a4j:commandButton ajaxSingle="true" id="testButton" value="TEST"
binding="#{bean.testButton}"></a4j:commandButton>
<h:panelGrid style="display:none">
<a4j:poll id="poll"
actionListener="#{pollRequestBean.poll}"
binding="#{pollRequestBean.pollButton}" interval="2000"
/>
</h:panelGrid>
as you see,we want to modify the panelGrid(id="boxGrid") when user click the button(id="testButton"),then when rerender,some changes will show in the content
of the panelgrid.And,the poll is also what we needed(the reason is affirmative). But this has a big problem--synchronization!
in such case:a user click a button,richfaces fire the event to it's listener(alias as 'la'),and the listener(la) began to update the boxGrid(the back-binding of the
panelGrid),in the same time,the poll also come to request,what happen--the new comming request will update the richfaces' component tree,the boxGrid(the back-binding)
also update,but the listener(la) did not know this,it still hold the old model,this cause the change to the model has no mean to the ui.
We have try many method to solve this problem,but all is in vain.you may think push,the push alos will update the component tree when the event is fired.
I think this a serious problem to richfaces.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 2 months
[JBoss JIRA] Created: (RF-4064) Problem with a4j:commandLink
by Bob Corcoran (JIRA)
Problem with a4j:commandLink
-----------------------------
Key: RF-4064
URL: https://jira.jboss.org/jira/browse/RF-4064
Project: RichFaces
Issue Type: Bug
Environment: Windows
Reporter: Bob Corcoran
Priority: Minor
We have a page with a few a4j:commandLinks as well as an h:inputText and h:inputTextarea, among other markup. It works fine until we add the attribute required="true" to either the inputText or InputTextarea. When we add the required="true" to either the inputText or InputTextarea, one of the a4j:commandLinks's (further up on the page) breaks. It still renders fine, but the method on the backing bean (in this case a SEAM stateful bean) is not called, because the link does not fire. What's even more odd is that the remaining a4j:commandLinks on the page continue to work according to specs. These links are contained in separate rich:column tags.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 2 months
[JBoss JIRA] Created: (RF-4110) rich:inputNumberSpinner is accepting decimal.
by Ranveer Singh (JIRA)
rich:inputNumberSpinner is accepting decimal.
---------------------------------------------
Key: RF-4110
URL: https://jira.jboss.org/jira/browse/RF-4110
Project: RichFaces
Issue Type: Feature Request
Affects Versions: 3.2.0
Environment: Microsoft XP.
Reporter: Ranveer Singh
Priority: Minor
rich:inputNumberSpinner accepts decimal value on tab out. It displays error on console
"[severity=(ERROR 2), summary=(cmdbStatus:cmdbStatusTable:0:j_id63: '0.1' must be a number consisting of one or more digits.), detail=(cmdbStatus:cmdbStatusTable:0:j_id63: '0.1' must be a number between -9223372036854775808 to 9223372036854775807 Example: 98765432)]"
There should be provision in which this should not accept decimal values.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 2 months
[JBoss JIRA] Created: (RF-4160) Opening Treenode causes java.lang.NoClassDefFoundError
by Charles Crouch (JIRA)
Opening Treenode causes java.lang.NoClassDefFoundError
------------------------------------------------------
Key: RF-4160
URL: https://jira.jboss.org/jira/browse/RF-4160
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.3
Reporter: Charles Crouch
One of our users is hitting a NoClassDefFoundError when opening a Treenode :
10:53:45,561 ERROR [[default]] Servlet.service() for servlet default threw exception
java.lang.NoClassDefFoundError
at sun.java2d.SunGraphicsEnvironment.createGraphics(SunGraphicsEnvironment.java:337)
at java.awt.image.BufferedImage.createGraphics(BufferedImage.java:1143)
at org.ajax4jsf.resource.Java2Dresource.getImage(Java2Dresource.java:115)
at org.ajax4jsf.resource.Java2Dresource.send(Java2Dresource.java:89)
at org.ajax4jsf.resource.ResourceLifecycle.sendResource(ResourceLifecycle.java:223)
at org.ajax4jsf.resource.ResourceLifecycle.send(ResourceLifecycle.java:159)
at org.ajax4jsf.resource.InternetResourceService.load(InternetResourceService.java:336)
at org.ajax4jsf.cache.LRUMapCache.load(LRUMapCache.java:116)
at org.ajax4jsf.cache.LRUMapCache.get(LRUMapCache.java:87)
at org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:198)
at org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:144)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:265)
at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
We don't want to have everyone set java.awt.headless=true in order to run our app, which does appear to fix this problem.
Are there any other options?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 2 months