[JBoss JIRA] Created: (RF-5041) ExtendedDataTable don't reRender with dynamic columns.
by Mikhail Vitenkov (JIRA)
ExtendedDataTable don't reRender with dynamic columns.
------------------------------------------------------
Key: RF-5041
URL: https://jira.jboss.org/jira/browse/RF-5041
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: IE6,7, FF3.0.3, Safari 3.1, Opera 9.62(seam 2.0.2.GA)
Reporter: Mikhail Vitenkov
Assignee: Nick Belaevski
#1. Add extendedDataTable to page:
<rich:extendedDataTable value="#{testBean.rows}" var="row">
<rich:columns value="#{testBean.columns}" var="column" index="ind">
<f:facet name="header">
<h:outputText value="#{column.name}" />
</f:facet>
<h:outputText value="#{row[ind]}" />
</rich:columns>
</rich:extendedDataTable>
<a:commandButton value="Add column" action="#{testBean.addAColumn}" reRender="form" />
#2. Define addAColumn method following way:
public void addAColumn(){
columns=Arrays.asList(new Column[]{new Column("Col1"),new Column("Col2"),new Column("Col3")});
rows=Arrays.asList(Arrays.asList(new String[]{"a","b","c"}),Arrays.asList(new String[]{"d","e","f"}));
}
#3. Navigate to page, contained tested component & try to add one row.
Following exception occurs:
Error Rendering View[/CustomizePage/CustomizePage.xhtml]
java.lang.NullPointerException
at org.richfaces.component.ColumnsSizeState.getColumnSize(ExtendedDataTableState.java:299)
at org.richfaces.component.ExtendedDataTableState.getColumnSize(ExtendedDataTableState.java:159)
at org.richfaces.component.UIExtendedDataTable.getColumnSize(UIExtendedDataTable.java:183)
at org.richfaces.renderkit.AbstractExtendedTableRenderer.encodeColumns(AbstractExtendedTableRenderer.java:130)
at org.richfaces.renderkit.html.ExtendedDataTableRenderer.doEncodeBegin(ExtendedDataTableRenderer.java:281)
at org.richfaces.renderkit.html.ExtendedDataTableRenderer.doEncodeBegin(ExtendedDataTableRenderer.java:216)
at org.ajax4jsf.renderkit.RendererBase.encodeBegin(RendererBase.java:101)
at org.richfaces.renderkit.AbstractExtendedTableRenderer.encodeBegin(AbstractExtendedTableRenderer.java:1346)
at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:788)
at javax.faces.component.UIData.encodeBegin(UIData.java:879)
at org.ajax4jsf.component.UIDataAdaptor.encodeBegin(UIDataAdaptor.java:1220)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:884)
at javax.faces.render.Renderer.encodeChildren(Renderer.java:137)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:812)
at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:282)
at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:124)
at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxChildren(AjaxChildrenRenderer.java:67)
at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:115)
at org.ajax4jsf.renderkit.AjaxContainerRenderer.encodeAjax(AjaxContainerRenderer.java:123)
at org.ajax4jsf.component.AjaxViewRoot.encodeAjax(AjaxViewRoot.java:677)
at org.ajax4jsf.component.AjaxViewRoot.encodeChildren(AjaxViewRoot.java:548)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:886)
at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:592)
at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)
at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:197)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:565)
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.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:307)
at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:423)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:550)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Unknown Source)
--
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, 9 months
[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
15 years, 10 months
[JBoss JIRA] Created: (RF-5113) scrollableDataTable: sorting feature doesn't work at all.
by Mikhail Vitenkov (JIRA)
scrollableDataTable: sorting feature doesn't work at all.
---------------------------------------------------------
Key: RF-5113
URL: https://jira.jboss.org/jira/browse/RF-5113
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: IE 6,7, FF 3.0.3, Opera 9.62, Safari 3.1(3.3.0 last snapshot)
Reporter: Mikhail Vitenkov
Assignee: Nick Belaevski
Priority: Critical
#1. Add scrollableDataTable(SDT) rich component(use "sortMode" attribute for SDT and "sortBy", "sortable" attributes for rich:column):
<rich:scrollableDataTable
binding="#{scrollableDT.htmlScrollableDataTable}" id="sdt" var="sdt"
sortMode="#{scrollableDT.sortMode}" eventsQueue="myEventsQueue"
...
>
<f:facet name="header">
<h:outputText value="facet header"></h:outputText>
</f:facet>
<rich:column sortBy="#{sdt.int0}" sortable="true" id="colID">
<f:facet name="header">
<h:outputText value="#" />
</f:facet>
<h:outputText value="#{sdt.int0}"></h:outputText>
<f:facet name="footer">
<h:outputText value="#" />
</f:facet>
</rich:column>
...
</rich:scrollableDataTable>
#2. Navigate to page.
#3. Click on sortable column header two times.
Actual behavior:
Nothing happens.
--
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, 11 months
[JBoss JIRA] Created: (RF-5196) Editor does not rerender after converter error.
by Alexander Dubovsky (JIRA)
Editor does not rerender after converter error.
-----------------------------------------------
Key: RF-5196
URL: https://jira.jboss.org/jira/browse/RF-5196
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: 3.3.0.BETA2
Reporter: Alexander Dubovsky
Assignee: Nick Belaevski
Priority: Critical
# Input incorrect html in source mode (e.g. some tag is not closed and useSeamText=true):
<ol>
<li>first item</li>
<li>second item<li>
<li>and even the <i>third</i> item</li>
</ol>
# Rerender editor => converter error is triggered
# Correct html:
<ol>
<li>first item</li>
<li>second item</li>
<li>and even the <i>third</i> item</li>
</ol>
# Rerender editor
Result: error is disappeared. Seems like all is Ok, but...
# Submit page
Result: editor was disappeared from page
The same occurs in case custom converter was triggered.
If rerender editor after converter error in visual mode in JSP following exception was sent:
SEVERE: An exception occurred
javax.faces.FacesException: Exception while calling encodeEnd on component : {Component-Path : [Class: org.ajax4jsf.component.AjaxViewRoot,ViewId: /pages/Rich/Rich.jsp][Class: javax.faces.component.html.HtmlForm,Id: formID][Class: javax.faces.component.html.HtmlPanelGrid,Id: richGridID][Class: javax.faces.component.html.HtmlPanelGroup,Id: j_id_jsp_1726272691_12][Class: javax.faces.component.UINamingContainer,Id: editorSubviewID][Class: javax.faces.component.html.HtmlPanelGrid,Id: EditorPanelID][Class: org.richfaces.component.html.HtmlEditor,Id: editorID]}
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:627)
at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:286)
...................
Caused by: javax.faces.convert.ConverterException: Converter error
at editor.Editor$1.getAsString(Editor.java:95)
at org.ajax4jsf.util.InputUtils.getConvertedStringValue(InputUtils.java:114)
at org.richfaces.renderkit.EditorRendererBase.getConvertedStringValue(EditorRendererBase.java:87)
at org.richfaces.renderkit.EditorRendererBase.getFormattedComponentStringValue(EditorRendererBase.java:117)
at org.richfaces.renderkit.html.EditorRenderer.doEncodeEnd(EditorRenderer.java:234)
at org.richfaces.renderkit.html.EditorRenderer.doEncodeEnd(EditorRenderer.java:305)
at org.ajax4jsf.renderkit.RendererBase.encodeEnd(RendererBase.java:135)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:624)
... 49 more
--
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, 11 months
[JBoss JIRA] Created: (RF-5212) CLONE -Richfaces 3.2.2SR1 breaks SJSAS 9.2_01 Admin web-app, when the libs are put into domain1/lib folder
by John Leed (JIRA)
CLONE -Richfaces 3.2.2SR1 breaks SJSAS 9.2_01 Admin web-app, when the libs are put into domain1/lib folder
----------------------------------------------------------------------------------------------------------
Key: RF-5212
URL: https://jira.jboss.org/jira/browse/RF-5212
Project: RichFaces
Issue Type: Bug
Environment: Sun Java System Application Server 9.1 (build b58g-fcs)
Richfaces 3.1.2
Reporter: John Leed
Assignee: Tsikhon Kuprevich
Fix For: 3.2.1
When the Richfaces 3.1.2 libs are put into a domains lib folder under SJSAS 9.1, the Admin web application breaks.
I filed a bug report on glassfish https://glassfish.dev.java.net/issues/show_bug.cgi?id=3626 , here's what they had to say about this:
"In order to understand what is happening you have to know a little bit about how
JSF configures itself. It looks for faces-config.xml files in the classpath to
see if should add new jsf extensions (such as a new ViewHandler) to help it
process jsf pages. JSF does NOT do anything to ensure that a new component
(i.e. ViewHanler) doesn't break other custom jsf extensions. It is unfortunate
that these extensions can't be restricted to a subset of URLs, or be guarenteed
to behave well.
In this case, Ajax4JSF does not behave well. It both of your stack traces it
appears Ajax4JSF is not doing the right thing. In the first, it is not handling
the rendering of the page and has either changed the viewId or done something
else to cause the default viewHandler to also not handle it (it appears it is
redispatching recursively b/c of this). In the 2nd example, it is attempting to
handle a JSFTemplating page instead of delegating to JSFTemplating -- it is
unable to do so and fails.
Ajax4JSF could fix both of these problems -- I cannot. Based on these stack
traces, I would strongly suggest that you not include Ajax4JSF in a shared lib
area as it will effect ALL JSF applications, not just the ones you want it to
effect. Instead place the Ajax4JSF jar files in the WEB-INF/lib of your
application(s)."
--
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, 11 months
[JBoss JIRA] Created: (RF-5245) SuggestionBox: NumberConvertException on livedemo
by Nick Belaevski (JIRA)
SuggestionBox: NumberConvertException on livedemo
-------------------------------------------------
Key: RF-5245
URL: https://jira.jboss.org/jira/browse/RF-5245
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Reporter: Nick Belaevski
Assignee: Nick Belaevski
Priority: Critical
Fix For: 3.3.0
1. Open SB live demo
2. Type 'a', select 'austin' using mouse
3. Type 't' in input
Exception occurs in FF3, script error happens in IE7:
javax.faces.FacesException: java.lang.NumberFormatException: For input string: "undefined"
at javax.faces.component.UIData.invokeOnComponent(UIData.java:807)
at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)
at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)
at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)
at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)
at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)
at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)
at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:242)
at org.ajax4jsf.component.AjaxViewRoot.processDecodes(AjaxViewRoot.java:409)
at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:78)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:307)
at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:407)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:534)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
at org.mortbay.jetty.Server.handle(Server.java:313)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:844)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:644)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
Caused by: java.lang.NumberFormatException: For input string: "undefined"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:447)
at java.lang.Integer.parseInt(Integer.java:497)
at org.richfaces.component.UISuggestionBox.processDecodes(UISuggestionBox.java:477)
at org.ajax4jsf.component.AjaxViewRoot$1.invokeContextCallback(AjaxViewRoot.java:392)
at org.ajax4jsf.component.ContextCallbackWrapper.invokeContextCallback(ContextCallbackWrapper.java:44)
at javax.faces.component.UIData.invokeOnComponent(UIData.java:803)
... 41 more
--
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, 11 months
[JBoss JIRA] Created: (RF-4987) ajax response faise Javascript XML parser without jTidy
by Gal Rubinstein (JIRA)
ajax response faise Javascript XML parser without jTidy
-------------------------------------------------------
Key: RF-4987
URL: https://jira.jboss.org/jira/browse/RF-4987
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Environment: win XP/Linux, jboss 4.2.2 GA + JDK 1.5u11
Reporter: Gal Rubinstein
in web.xml we added the contex-param/init -param to remove jTidy Filer:
--fragment---
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>server</param-value>
</context-param>
<context-param>
<param-name>org.richfaces.LoadScriptStrategy</param-name>
<param-value>ALL</param-value>
</context-param>
<context-param>
<param-name>org.richfaces.LoadStyleStrategy</param-name>
<param-value>ALL</param-value>
</context-param>
<context-param>
<param-name>org.ajax4jsf.COMPRESS_SCRIPT</param-name>
<param-value>false</param-value>
</context-param>
<context-param>
<param-name>org.ajax4jsf.SERIALIZE_SERVER_STATE</param-name>
<param-value>false</param-value>
</context-param>
<context-param>
<param-name>org.ajax4jsf.xmlparser.ORDER</param-name>
<param-value>NONE</param-value>
</context-param>
<context-param>
<param-name>org.ajax4jsf.xmlparser.NONE</param-name>
<param-value>.*</param-value>
</context-param>
<context-param>
<param-name>org.ajax4jsf.xmlfilter.forcenotrf</param-name>
<param-value>false</param-value>
</context-param>
<filter>
<display-name>RichFaces Filter</display-name>
<filter-name>richfaces</filter-name>
<filter-class>org.ajax4jsf.Filter</filter-class>
<init-param>
<param-name>enable-cache</param-name>
<param-value>true</param-value>
<init-param>
<param-name>forceparser</param-name>
<param-value>false</param-value>
</init-param>
</init-param>
</filter>
..........
--end fragment---
the JSP fragment causing this problem is apparently this (judging from from the id inside response):
--fragment---
<rich:simpleTogglePanel switchType="ajax"
bodyClass="toggle_panel_body" styleClass="toggle_panel"
headerClass="toggle_panel_header" id="panel_of_my_projects_list"
opened="true">
<%@ include file="simpleToggleMarkers.jsp"%>
<f:facet name="header">
<h:panelGrid
columnClasses="text_aligned_left,text_aligned_right"
styleClass="toggle_panel_header_controls" columns="2"
cellpadding="0" cellspacing="0" border="0">
<h:outputLabel styleClass="toggle_panel_header_caption"
value="#{msg.title_my_projects}"></h:outputLabel>
<h:commandLink onclick="event.cancelBubble=true;"
id="create_new_project_link"
actionListener="#{ProjectListBean.doCreateNewProject}"
value="#{msg.button_create_new_project}"
styleClass="non_toggling_panel_header_link_last_on_right_second_level"
action="projectDetailsBackground">
</h:commandLink>
</h:panelGrid>
</f:facet>
.....
-- end fragment---
a4j:log outputs:
--fragment---
error[15:58:07,101]: Error parsing XML
error[15:58:07,101]: Parse Error: XML Parsing Error: Whitespace is not allowed at this location.
Location: Line Number 56, Column 123:
<script type="text/javascript" language="Javascript">function dpf(f) {var adp = f.adp;if (adp != null) {for (var i = 0;i < adp.length;i++) {f.removeChild(adp[i]);}}};function apf(f, pvp) {var adp = new Array();f.adp = adp;var ps = pvp.split(',');for (var i = 0,ii = 0;i < ps.length;i++,ii++) {var p = document.createElement("input");p.type = "hidden";p.name = ps[i];p.value = ps[i + 1];f.appendChild(p);adp[ii] = p;i += 1;}};function jsfcljs(f, pvp, t) {apf(f, pvp);var ft = f.target;if (t) {f.target = t;}f.submit();f.target = ft;dpf(f);};</script>
---------------------------------------------------------------------------------------------------------------------------^
--end fragment---
finding this fragment inside the log console we can see this:
....
--fragment---
pvp.split(',');for (var i = 0,ii = 0;i < ps.length;i++,ii++) {var p = document.createElement("input");p.type = "hidden";p.name = ps[i];p.value = ps[i + 1];f.appendChild(p);adp[ii] = p;i += 1;}};function jsfcljs(f, pvp, t) {apf(f, pvp);var ft = f.target;if (t) {f.target = t;}f.submit();f.target = ft;dpf(f);};</script>
<a id="j_id_jsp_1399388119_3:create_new_project_link" href="#" onclick="var a=function(){event.cancelBubble=true;};var b=function(){if(typeof jsfcljs == 'function'){jsfcljs(document.forms['j_id_jsp_1399388119_3'],'j_id_jsp_1399388119_3:create_new_project_link,j_id_jsp_1399388119_3:create_new_project_link','');}return false};return (a()==false) ? false : b();" class="non_toggling_panel_header_link_last_on_right_second_level">Create a New Project</a></td>
</tr></tbody></table>
</div><div class="dr-stglpnl-b rich-stglpanel-body toggle_panel_body" id="j_id_jsp_1399388119_3:panel_of_my_projects_list_body" style="display : ; height: ;"><table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr class="item_inside_panel"><td><
...... (notice th '<a href...>' id "matches" the one in jsp fragment
--end fragment---
between '</script>' and '<a id=...' there is a whitespace
--
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, 11 months
[JBoss JIRA] Created: (RF-5088) inputNumberSlider: NPE on calling valueChangeListener
by Tsikhon Kuprevich (JIRA)
inputNumberSlider: NPE on calling valueChangeListener
-----------------------------------------------------
Key: RF-5088
URL: https://jira.jboss.org/jira/browse/RF-5088
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: any
Reporter: Tsikhon Kuprevich
Assignee: Nick Belaevski
Priority: Critical
.jsp
<rich: inputNamberSlider
....
valueChangeListener="#{inputNumberSlider.valueChangeListener}"
...
/>
<a4j:commandButton value="valueChangeListener (show)" reRender="valueCLID" />
<h:outputText id="valueCLID" value=" #{inputNumberSlider.valueChangeListener}" />
InputNumberSlider.class:
private String valueChangeListener;
public void valueChangeListener(ValueChangeEvent event) {
valueChangeListener = (String)event.getNewValue();
System.out.println("valueChangeListener: " + valueChangeListener);
}
public String getValueChangeListener() {
return valueChangeListener;
}
Exception on buttom click:
javax.faces.FacesException: java.lang.NullPointerException
at org.ajax4jsf.application.AjaxStateManager.handleSaveState(AjaxStateManager.java:366)
at org.ajax4jsf.application.AjaxStateManager.buildViewState(AjaxStateManager.java:474)
at org.ajax4jsf.application.AjaxStateManager.saveView(AjaxStateManager.java:438)
at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:396)
at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:196)
at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:155)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:177)
at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:267)
at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:380)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:507)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:246)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:301)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NullPointerException
at org.apache.el.lang.FunctionMapperImpl$Function.writeExternal(FunctionMapperImpl.java:123)
at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1304)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1282)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)
at java.util.HashMap.writeObject(HashMap.java:985)
at sun.reflect.GeneratedMethodAccessor373.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:890)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1333)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)
at org.apache.el.lang.FunctionMapperImpl.writeExternal(FunctionMapperImpl.java:74)
at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1304)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1282)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)
at org.apache.el.ValueExpressionImpl.writeExternal(ValueExpressionImpl.java:256)
at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1304)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1282)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)
at org.apache.jasper.el.JspValueExpression.writeExternal(JspValueExpression.java:129)
at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1304)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1282)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)
at java.util.HashMap.writeObject(HashMap.java:985)
at sun.reflect.GeneratedMethodAccessor373.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:890)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1333)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1245)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1069)
at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1245)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1069)
at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1245)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1069)
at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1245)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1069)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)
at java.util.ArrayList.writeObject(ArrayList.java:569)
at sun.reflect.GeneratedMethodAccessor374.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:890)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1333)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1245)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1069)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)
at java.util.ArrayList.writeObject(ArrayList.java:569)
at sun.reflect.GeneratedMethodAccessor374.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:890)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1333)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1245)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1069)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)
at java.util.ArrayList.writeObject(ArrayList.java:569)
at sun.reflect.GeneratedMethodAccessor374.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:890)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1333)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1245)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1069)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)
at java.util.ArrayList.writeObject(ArrayList.java:569)
at sun.reflect.GeneratedMethodAccessor374.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:890)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1333)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1245)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1069)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)
at java.util.ArrayList.writeObject(ArrayList.java:569)
at sun.reflect.GeneratedMethodAccessor374.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:890)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1333)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1245)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1069)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)
at java.util.ArrayList.writeObject(ArrayList.java:569)
at sun.reflect.GeneratedMethodAccessor374.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:890)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1333)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1245)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1069)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)
at java.util.ArrayList.writeObject(ArrayList.java:569)
at sun.reflect.GeneratedMethodAccessor374.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:890)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1333)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1245)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1069)
at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1245)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1069)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)
at org.ajax4jsf.application.AjaxStateManager.handleSaveState(AjaxStateManager.java:363)
... 32 more
--
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, 11 months
[JBoss JIRA] Created: (RF-4796) Using test application(jsp) with myfaces 1.2.4 & richfaces 3.1.6.SR1 leads to javax.faces.application.ViewExpiredException.
by Mikhail Vitenkov (JIRA)
Using test application(jsp) with myfaces 1.2.4 & richfaces 3.1.6.SR1 leads to javax.faces.application.ViewExpiredException.
---------------------------------------------------------------------------------------------------------------------------
Key: RF-4796
URL: https://jira.jboss.org/jira/browse/RF-4796
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.6
Environment: IE6,7, FF 3.0.3, Safari 3.1, Opera 9.62(3.1.6.SR1)
Reporter: Mikhail Vitenkov
Assignee: Nick Belaevski
Priority: Critical
Following exception take place:
javax.faces.application.ViewExpiredException: /pages/main.jsfNo saved view state could be found for the view identifier: /pages/main.jsf
at org.apache.myfaces.lifecycle.RestoreViewExecutor.execute(RestoreViewExecutor.java:88)
at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:103)
at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:76)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:151)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
--
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, 11 months
[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
15 years, 11 months
[JBoss JIRA] Created: (RF-4599) scrollableDataTable: PrototypeScript crash during increase data length from 100 to 1000.
by Mikhail Vitenkov (JIRA)
scrollableDataTable: PrototypeScript crash during increase data length from 100 to 1000.
----------------------------------------------------------------------------------------
Key: RF-4599
URL: https://jira.jboss.org/jira/browse/RF-4599
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: Facelets - jdk1.5.0_12 - tomcat 6.0.16 - jsf 1.2_09 - FF 3.0.3(RichFaces 3.3.0-SNAPSHOT )
Reporter: Mikhail Vitenkov
Assignee: Nick Belaevski
Priority: Critical
Step 1. Set following precondition for SDT component:
length=" 100" rows="100" first="0" timeout="0" frozencolcount="0" limitToList="false"
bypassUpdates="false" ajaxSingle="true" hideWhenScrolling="false".
Step 2. Start the server(see Environment section) & open page in Firefox.
Step 3. Set rows to 500 & click mouse out.
Step 4. Set length to 1000 & click "OK" button.
Actual behavior:
Modal dialog window with suggestions to stop script, to debug script or to continue appears. For more information see attached PrototypeScriptError.png
--
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, 11 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
15 years, 11 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
15 years, 11 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
15 years, 11 months