[JBoss JIRA] Created: (RF-1246) rich:datascroller - looks different before and after rich:dataTable
by 123 123 (JIRA)
rich:datascroller - looks different before and after rich:dataTable
-------------------------------------------------------------------
Key: RF-1246
URL: http://jira.jboss.com/jira/browse/RF-1246
Project: RichFaces
Issue Type: Bug
Environment: Eclipse, Tomcat 6, Java 1.6, richfaces-ui-3.1.2.GA, jsf 1.2_04-b16-p02
Reporter: 123 123
Priority: Minor
Fix For: 3.1.2
Simple action - commandLink run table filtering so table content sometimes are changed
1. For this sequence of code dataScroller is not displayed correctly. After filtering Rowcount in scroller keeps old count of rows and count of buttons pages is incorrect
<a4j:commandLink actionListener="#{table.filter}"reRender="table,">
<rich:datascroller align="left" for="table" binding="#{table.dataScroller}" />
<rich:dataTabl id="table" rows="10" value="#{parSlowList.parElSloTable}" ></rich:dataTable>
2. For this sequence everything is good. Scroller see correct table and row count
<a4j:commandLink actionListener="#{table.filter}"reRender="table,">
<rich:dataTabl id="table" rows="10" value="#{parSlowList.parElSloTable}" ></rich:dataTable>
<rich:datascroller align="left" for="table" binding="#{table.dataScroller}" />
-----------------------------------
My filter looks like :
public void table.filter(ActionEvent event) {
loadTable(filterValue);
getDataScroller().setPage("first");
// getDataScroller().getDataTabe().getRowCount() <-- in first scenario this gave bad row count
}
I think that UIDatascroller should contain resetDataTable method like UIDataFltrSlider or something is wrong in getDataTable - UIDataFltrSlider.getDataTable looks different than the same mathod in scroller.
public void resetDataTable() {
getSession().remove("...");
getDataTable().setValue(getDataTable().getValueBinding("#{" + getForValRef() + "}"));
}
?
--
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
17 years, 4 months
[JBoss JIRA] Created: (RF-1716) org.ajax4jsf.resource.ResourceNotFoundException: Resource not registered : org.richfaces.renderkit.html.iconimages.CalendarSeparator
by Denis Forveille (JIRA)
org.ajax4jsf.resource.ResourceNotFoundException: Resource not registered : org.richfaces.renderkit.html.iconimages.CalendarSeparator
------------------------------------------------------------------------------------------------------------------------------------
Key: RF-1716
URL: http://jira.jboss.com/jira/browse/RF-1716
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.3
Environment: JSF RI 1.2_07
Facelets 1.1.13
Seam 1.2.1
Richfaces 3.1.3
WebSphere v6.1.0.13
Reporter: Denis Forveille
We have an exception with the calendar component in v3.1.3
This happens when we click on a day when the calendar is expanded.
The tracebak and the source:
[20/12/07 8:50:52:545 EST] 0000002e WebApp E [Servlet Error]-[Faces Servlet]: org.ajax4jsf.resource.ResourceNotFoundException: Resource not registered : org.richfaces.renderkit.html.iconimages.CalendarSeparator
at org.ajax4jsf.resource.ResourceBuilderImpl.getResource(ResourceBuilderImpl.java:393)
at org.ajax4jsf.resource.ResourceBuilderImpl.getResourceForKey(ResourceBuilderImpl.java:337)
at org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:155)
at org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:144)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:265)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63)
at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79)
at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:766)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:674)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:498)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3276)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:113)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
<rich:calendar
id="dateConfirmationFinaleAuxAgents"
value="#{echeancierCtrl.echeancierForm.dateConfirmationFinaleAuxAgents}"
datePattern="#{messages['format.date.rich']}"
enableManualInput="true"
converter="com.saq.pp.ui.convertisseur.SQLDateConverteur"
showApplyButton="false"
required="true" />
--
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
17 years, 4 months
[JBoss JIRA] Created: (RF-3928) CLONE -D'n'D tree support: java.lang.NullPointerException appears during drug & drop one tree node to another inside dataTable(one node) & subTable(another node).
by Mikhail Vitenkov (JIRA)
CLONE -D'n'D tree support: java.lang.NullPointerException appears during drug & drop one tree node to another inside dataTable(one node) & subTable(another node).
------------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: RF-3928
URL: https://jira.jboss.org/jira/browse/RF-3928
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Environment: IE6, IE7, FF 3.0, Opera 9.27, Safari 3.1(3.2.2)
Reporter: Mikhail Vitenkov
Assignee: Denis Morozov
Fix For: 3.2.2
Step 1. Put one tree inside rich:dataTable's column.
Step 2. Put another tree inside rich:dataTable subTable's column.
Step 3. Drug a node from the 1st tree to the 2nd.
Actual behavior:
javax.faces.el.EvaluationException: org.apache.jasper.el.JspELException: /DataTable/DataTable.jsp(91,3) '#{treeDndBean.onDrop}' java.lang.NullPointerException
at org.richfaces.webapp.taglib.MethodBindingMethodExpressionAdaptor.invoke(MethodBindingMethodExpressionAdaptor.java:56)
at org.richfaces.component.events.TreeEvents.invokeListenerBindings(TreeEvents.java:78)
at org.richfaces.component.UITree.broadcast(UITree.java:568)
at org.richfaces.component.UITreeNode.broadcast(UITreeNode.java:140)
at org.ajax4jsf.component.UIDataAdaptor.broadcast(UIDataAdaptor.java:1380)
at org.richfaces.component.UITree.broadcast(UITree.java:550)
at org.ajax4jsf.component.UIDataAdaptor.broadcast(UIDataAdaptor.java:1380)
at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:317)
at org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:292)
at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:249)
at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:462)
at org.apache.myfaces.lifecycle.InvokeApplicationExecutor.execute(InvokeApplicationExecutor.java:32)
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:148)
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:154)
at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:265)
at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:376)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:503)
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)
Caused by: org.apache.jasper.el.JspELException: /DataTable/DataTable.jsp(91,3) '#{treeDndBean.onDrop}' java.lang.NullPointerException
at org.apache.jasper.el.JspMethodExpression.invoke(JspMethodExpression.java:77)
at org.richfaces.webapp.taglib.MethodBindingMethodExpressionAdaptor.invoke(MethodBindingMethodExpressionAdaptor.java:52)
... 32 more
Caused by: java.lang.NullPointerException
at tree.TreeDndBean.onDrop(TreeDndBean.java:299)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.el.parser.AstValue.invoke(AstValue.java:152)
at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
at org.apache.jasper.el.JspMethodExpression.invoke(JspMethodExpression.java:68)
... 33 more
For more information see attached DataTable.jsp & TreeDndBean.java
--
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
17 years, 5 months
[JBoss JIRA] Created: (RF-3727) File Upload Component: Request for server-side attribute of currently selected file count
by Steve Roy (JIRA)
File Upload Component: Request for server-side attribute of currently selected file count
------------------------------------------------------------------------------------------
Key: RF-3727
URL: http://jira.jboss.com/jira/browse/RF-3727
Project: RichFaces
Issue Type: Feature Request
Components: planning
Affects Versions: 3.2.2
Reporter: Steve Roy
It would be nice to have a way to determine server-side the number of files currently selected and queued for upload in the upload component. For example, this could be used to track whether all files have been successfully uploaded in the event a server-side error is not caught.
It is possible to get a file count of files whose upload has completed but not those in queue on the client.
The suggestion is for an attribute that can be set on an associated backing bean. Something like:
<rich:fileUpload id="upload"
fileCount="#{fileUploadBean.fileCount}"
</rich:fileUpload>
- steve
--
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
17 years, 5 months
[JBoss JIRA] Created: (RF-3354) rich:datascroller doesn't change displayed data only page numbers are changed.
by Andrey Chorniy (JIRA)
rich:datascroller doesn't change displayed data only page numbers are changed.
------------------------------------------------------------------------------
Key: RF-3354
URL: http://jira.jboss.com/jira/browse/RF-3354
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Environment: JBoss 4.2.2 GA (or Tomcat deployment)
Seam 2.0.1GA or Seam 1.2.1GA
Reporter: Andrey Chorniy
This issue is tied with special "pages.xml" configuration which is used to build RESTFul links. In that case request is executed for dummy-view (which has no rel xhtml file behind)
the action is executed at every request (usually parse link parameters, build required object model, etc.) as well if any ajax request executed for such page - it workd without invoking "handler-action"
and operates directly with Action-Bean.
This approach work's ok on richfaces 3.1.4 but now it doesn't work, since dataGrid data is not refreshed if use datascroller.
<!-- This is dummy-view used to execute action at the time of URL opening (used to introduce RESTFul requests) -->
<!-- If use real view instead, then at each ajax request the action method will be executed -->
<!-- This approach work ok with RichFaces 3.1.4 and less, but stop working with RichFaces 3.2.0
rich:dataScroller doesn't change the data on pages (only page-numbers changed) -->
<page view-id="/myHome.xhtml">
<action execute="#{itemsDataProvider.show()}"/>
<navigation from-action="#{itemsDataProvider.show()}">
<!-- bind action with view -->
<render view-id="/home.xhtml"/>
</navigation>
</page>
--
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
17 years, 5 months