[JBoss JIRA] Created: (RF-1350) usage fo rich:scrollableDataTable passing selected row id to request
by rahul k (JIRA)
usage fo rich:scrollableDataTable passing selected row id to request
--------------------------------------------------------------------
Key: RF-1350
URL: http://jira.jboss.com/jira/browse/RF-1350
Project: RichFaces
Issue Type: Bug
Components: doc
Affects Versions: 3.1.2
Environment: Windows XP
Reporter: rahul k
Priority: Critical
hi i am trying to use a scrollabledatatable provided by richfaces for iterating over the data list and displaying the result in the tabular format . Then when the user selects any row it should use ajax control to sent the row id back to managed bean so that i can make some decision making loop and fetch other data based on that row id from database and show it on another panel..
I tried to use this code where memberSearchController is my managed bean controller. and memberNumber is my primary row id...
<rich:scrollableDataTable height="80px" frozenColCount="1"
width="620px" id="memberList"
value="#{memberSearchController.resultList}" var="result" sortMode="single" rowKeyVar="selectedMember" rowKey="#{result.memberNumber}">
<a4j:support action="#{memberSearchController.sdtRowSelected}" event="onRowClick" reRender="searchDataPanel"></a4j:support>
BUT THIS DOES NOT INVOKE MY METHOD . I REQUEST FOR ANY HELP WHCI CAN BE PROVIDED AS THIS TAG SEEMS TO BE HELPFUL FOR ME BUT SEEMS SOME PROBLEM IN ITS USAGE.. THIS IS FOR AN IMPORTANT APPLICATION FOR WALT DISNEY WORLD IN FLORIDA
ANY HELP IS APPRECIATED
THANKS
RAHUL KHANDELWAL
--
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
[JBoss JIRA] Created: (RF-1628) Richfaces upgradation from 3.0 to 3.1: Problems with
by sk shaik (JIRA)
Richfaces upgradation from 3.0 to 3.1: Problems with
------------------------------------------------------
Key: RF-1628
URL: http://jira.jboss.com/jira/browse/RF-1628
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.1
Environment: Windows Xp/sp2,Eclipse Euroda3.3,Richfaces3.1.0
Reporter: sk shaik
As per the Ajax4JSf Forum ,I follwed the following steps to upgrade Richfaces3.0 to Richfaces3.1 API(To use calendar control)
Jars Up gradation(mandatory)
1. Delete ajax4jsf-1.1.1.jar and richfaces-3.0.1.jar from Web-Inf/lib directory
2. Copy the new richfaces3.1 jars to the project Web-Inf/lib directory. (Richfaces-ui-3.1.0, richfaces-impl-3.1.0 and richfaces-api-3.1.0).
Taglib changes for the all CDS Jsp pages(mandatory only if we use calnedar control)
1. Find the following JSP taglib for a4j
<%@ taglib uri="https://ajax4jsf.dev.java.net/ajax" prefix="a4j" %>
And replace with
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j" %>
2. Find the following JSP taglib for richfaces
<%@ taglib uri="http://richfaces.ajax4jsf.org/rich" prefix="vcp" %>
And replace with
<%@ taglib uri="http://richfaces.org/rich" prefix="vcp" %>
Ofcourse I changed all the pages,also.
But now I am running following problems after the above steps
ERROR 2007-12-12 13:12:16,906 [localhost].[/CDSOdesk].[jsp]:723 -> Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
at org.richfaces.taglib.TabPanelTagBase.logValueDeprecation(TabPanelTagBase.java:44)
at org.richfaces.taglib.TabPanelTagBase.setValue(TabPanelTagBase.java:63)
at org.apache.jsp.pages.maintabbedpane_jsp._jspx_meth_vcp_005ftabPanel_005f0(maintabbedpane_jsp.java:753)
at org.apache.jsp.pages.maintabbedpane_jsp._jspx_meth_h_005fform_005f0(maintabbedpane_jsp.java:247)
at org.apache.jsp.pages.maintabbedpane_jsp._jspx_meth_f_005fview_005f0(maintabbedpane_jsp.java:196)
at org.apache.jsp.pages.maintabbedpane_jsp._jspService(maintabbedpane_jsp.java:140)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:346)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:152)
at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:216)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:307)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:691)
at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:661)
at org.apache.jsp.index_jsp._jspService(index_jsp.java:50)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:346)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:152)
at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:216)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
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:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
at java.lang.Thread.run(Unknown Source)
ERROR 2007-12-12 13:12:17,125 [localhost].[/CDSOdesk].[Faces Servlet]:250 -> Servlet.service() for servlet Faces Servlet threw exception
java.lang.NullPointerException
at org.richfaces.taglib.TabPanelTagBase.logValueDeprecation(TabPanelTagBase.java:44)
at org.richfaces.taglib.TabPanelTagBase.setValue(TabPanelTagBase.java:63)
at org.apache.jsp.pages.maintabbedpane_jsp._jspx_meth_vcp_005ftabPanel_005f0(maintabbedpane_jsp.java:753)
at org.apache.jsp.pages.maintabbedpane_jsp._jspx_meth_h_005fform_005f0(maintabbedpane_jsp.java:247)
at org.apache.jsp.pages.maintabbedpane_jsp._jspx_meth_f_005fview_005f0(maintabbedpane_jsp.java:196)
at org.apache.jsp.pages.maintabbedpane_jsp._jspService(maintabbedpane_jsp.java:140)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:346)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:152)
at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:216)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:307)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:691)
at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:661)
at org.apache.jsp.index_jsp._jspService(index_jsp.java:50)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:346)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:152)
at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:216)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
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:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
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: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years
[JBoss JIRA] Created: (RF-1766) Columns in dataTable defaulting to 100px width
by Matthew Lieder (JIRA)
Columns in dataTable defaulting to 100px width
----------------------------------------------
Key: RF-1766
URL: http://jira.jboss.com/jira/browse/RF-1766
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.3
Reporter: Matthew Lieder
For whatever reason, in 3.1.3 (but not 3.1.2.sp1) columns in dataTable's have their CSS width set to "100px" by default. That causes the contents of the columns to wrap at 100px even if the actual column shows as much wider. The workaround is to put the width="auto" attribute on every rich:column.
To see the problem yourself:
<rich:dataTable width="400px">
<rich:column>
This text will wrap. This text will wrap.
</rich:column>
<rich:column width="auto">
This text won't wrap. This text won't wrap. This text won't wrap.
</rich:column>
</rich:dataTable>
--
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
[JBoss JIRA] Created: (RF-1790) h:column (rich:column) are not displayed with rich:colums
by Aleksej Yanul (JIRA)
h:column (rich:column) are not displayed with rich:colums
---------------------------------------------------------
Key: RF-1790
URL: http://jira.jboss.com/jira/browse/RF-1790
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Environment: jsf 1.2
tomcat 6.0.13
jsp
FF
Reporter: Aleksej Yanul
Assigned To: Nick Belaevski
<rich:dataTable id="columnsID" value="#{columns.data1}" var="d1">
// ----- It is not displayed with a browser ----
<h:column><h:outputText value="#{d1.str0}"></h:outputText></h:column>
<rich:column><h:outputText value="#{d1.str0}"></h:outputText></rich:column>
// -------------------------------------------------------
<rich:columns value="#{columns.data2}" var="d2" breakBefore="#{columns.breakBefore}" colspan="#{columns.colspan}"
columns="#{columns.columns}" index="index" rowspan="#{columns.rowspan}" sortable="#{columns.sortable}" title="#{columns.title}"
begin="#{columns.begin}" end="100" width="#{columns.width}">
<h:outputText value="#{d2.str0}"></h:outputText>
</rich:columns>
</rich:dataTable>
--
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
[JBoss JIRA] Created: (RF-1159) Scrollable Data Table has broken.
by Konstantin Mishin (JIRA)
Scrollable Data Table has broken.
---------------------------------
Key: RF-1159
URL: http://jira.jboss.com/jira/browse/RF-1159
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Reporter: Konstantin Mishin
Assigned To: Konstantin Mishin
Priority: Minor
Fix For: 3.2.0
<ui:define name="leftsidebar">
<rich:panel>
<h:form>
<ajax:region>
<rich:spacer height="30" />
<rich:scrollableDataTable rowKeyVar="rkv" frozenColCount="1" height="400px"
width="700px" id="agencyList" rows="40" columnClasses="col"
value="#{notificationManager.getAgencies()}" var="agency" sortMode="single">
<rich:column id="agencyName">
<f:facet name="header"><h:outputText styleClass="headerText" value="Agency" /></f:facet>
<h:outputText value="#{agency.agencyName}" />
</rich:column>
</rich:scrollableDataTable>
</ajax:region>
</h:form>
</rich:panel>
</ui:define>
--
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