[JBoss JIRA] Created: (RF-1081) Drag and Drop within the tree not updating the destination node
by Peter Mahoney (JIRA)
Drag and Drop within the tree not updating the destination node
---------------------------------------------------------------
Key: RF-1081
URL: http://jira.jboss.com/jira/browse/RF-1081
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.1
Reporter: Peter Mahoney
When dragging a node to another location on the tree, the source node is updated with the dropped node removed but the dropped node does not appear at the destination until a page refresh or a tree node is expanded/contracted.
I have the following tree:
<rich:tree id="quizTree" switchType="ajax" dropListener="#{quizTreeHandler.questionDrop}">
<rich:treeNodesAdaptor id="groups" nodes="#{quizTreeHandler.groups}" var="group">
<rich:treeNode dragIndicator=":indicator" dragType="group" dragValue="#{group}" acceptedTypes="qtiQuestion,question,group" reRender="quizTree">
<h:commandLink action="#{group.edit}" value="#{empty group.title ? msgs.quizDefaultQuestionGroupTitle : group.title}" />
</rich:treeNode>
<rich:treeNodesAdaptor id="questions" nodes="#{group.questions}" var="question">
<rich:treeNode dragIndicator=":indicator" dragType="question" dragValue="#{question}" acceptedTypes="qtiQuestion,question" reRender="quizTree">
<h:commandLink action="#{question.view}" value="#{question.title}" />
</rich:treeNode>
</rich:treeNodesAdaptor>
</rich:treeNodesAdaptor>
</rich:tree>
--
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, 1 month
[JBoss JIRA] Created: (RF-1133) rich:datascroller does not reset when data model is changed
by henrik lindberg (JIRA)
rich:datascroller does not reset when data model is changed
-----------------------------------------------------------
Key: RF-1133
URL: http://jira.jboss.com/jira/browse/RF-1133
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.1
Reporter: henrik lindberg
Priority: Blocker
When the datamodel for a rich:dataTable is replaced with a new model the rich:datascroller still remembers its old page index.
Now, in order to make it work, I have to look up the UIData and set the index to 0 when I change the datamodel.
I would expect it to either be set to 0, or to the value of "first" attribute in the rich:dataTable when its model is changed.
This problem is blocking me from releasing my application - I have *many* affected datascrollers and doing the following for all of them would not be fun...
// how I reset the first value - perhaps there are beter ways to do this
String id = "spaceForm:content_list";
UIComponent comp = FacesContext.getCurrentInstance().getViewRoot().findComponent( id );
if(comp == null)
throw new IllegalArgumentException("Can not find component with id = '"+id+"'");
if(!(comp instanceof UIData))
throw new IllegalArgumentException("Id does not refer to a UIData instance");
UIData uidata = (UIData)comp;
uidata.setFirst(0);
--
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, 1 month
[JBoss JIRA] Created: (RF-1014) HEAD build is broken
by Igor Shabalov (JIRA)
HEAD build is broken
--------------------
Key: RF-1014
URL: http://jira.jboss.com/jira/browse/RF-1014
Project: RichFaces
Issue Type: Bug
Environment: Try to update cvn from head and run mvn clean install
Reporter: Igor Shabalov
Assigned To: Alexander Smirnov
Priority: Critical
[INFO] Create class file org.richfaces.component.html.HtmlDatascroller
ClassNotFoundException message: org.richfaces.component.html.HtmlDatascroller
Sep 25, 2007 2:27:42 PM org.ajax4jsf.templatecompiler.builder.AbstractCompilationContext loadClass
SEVERE: Error load class: org.richfaces.component.html.HtmlDatascroller
Many other SEVERE: messages like that is generated during build
--
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, 1 month
[JBoss JIRA] Created: (RF-4415) Application does not work in Weblogic 10gR3
by Cesar Perez (JIRA)
Application does not work in Weblogic 10gR3
-------------------------------------------
Key: RF-4415
URL: https://jira.jboss.org/jira/browse/RF-4415
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1, 3.2.2
Environment: Windows XP SP3, Oracle Weblogic 10g R3, JSF 1.2, Richfaces 3.2.1 and 3.2.2 and probably older version.
Reporter: Cesar Perez
If I use RichFaces 3.2.1 and even 3.2.2CR3 with JSP as my view handler I cannot open a JSP page, even if it doesn't contains any RF tags. This happens on Weblogic 10 and the latest 10g R3. In Tomcat the code works just fine without any issues.
I created an example eclipse project that shows this issue under Weblogic 10g R3. It contains a configuration to use either JSP or Facelets for the view. If you open the .xhtml file the page will be displayed just fine but if you try to open the JSP an exception is thrown.
In Weblogic I created a new domain with all the default options and I am deploying the application through Eclipse but I have also tried deploying a WAR/EAR getting the same exception when I try to access the JSP. Also you can remove all the facelets configuration and just leave JSP to handle the view, the exception will be thrown too.
The only possible fix I have found is to use facelets instead of JSP but in the project I am working on that's just not possible.
The example project is here: http://rs420l3.rapidshare.com/cgi-bin/upload.cgi?rsuploadid=3180178713302...
The stacktrace is:
java.lang.IllegalStateException: Servlet response already use stream, Writer not possible
at org.ajax4jsf.webapp.FilterServletResponseWrapper.getWriter(FilterServletResponseWrapper.java:226)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:186)
at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:547)
at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:189)
at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:547)
at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:547)
at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:189)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:108)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:266)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:159)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:154)
at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:260)
at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:366)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:493)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:503)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:251)
at weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:159)
at jsp_servlet.__index._jspService(__index.java:72)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:408)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:318)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
--
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-2490) Header facet in the rich:dataTable ignore column "rendered" attribute
by Alexander Smirnov (JIRA)
Header facet in the rich:dataTable ignore column "rendered" attribute
---------------------------------------------------------------------
Key: RF-2490
URL: http://jira.jboss.com/jira/browse/RF-2490
Project: RichFaces
Issue Type: Bug
Environment: RichFaces 3.2 snapshot from 3/10.
Reporter: Alexander Smirnov
Assigned To: Alexander Smirnov
Fix For: 3.2.0
The headers of data tables are no longer following the render rule of its parent h:column tag.
The headers are rendering no matter what the rule is. The actual content is following the render rule. I noticed that if I wrap the whole h:column
into an a4j:region tag and place the render rule there instead, it all renders correctly. However, I think it should work the way it was before right ??
The f:facet tag should comply to the render rule in the h:column tag ?
Here's a code snippet.......
<rich:dataTable ...>
<h:column id="checkBoxCol" rendered="#{itemList_editableUser or itemList_subProfileView or itemList_DownloadableUser}">
<f:facet name="header">
<h:selectBooleanCheckbox styleClass="checkbox" immediate="true" id="headerCheckBox"
onclick="toggleElementCheckboxes(this, this.checked)"/>
</f:facet>
<h:selectBooleanCheckbox value="#{item.selected}" title="#{item.object.itemIdentifier.gtin}" styleClass="checkbox"
id="rowCheckBox"
disabled="#{(itemList_subProfileView and itemList_subProfRestr) or item.acctAccess == 'N'}"/>
</h: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
16 years, 2 months
[JBoss JIRA] Created: (RF-4128) They all should be Trees:Panel Menu, Context Menu, Drop Down
by Francisco Jose Peredo Noguez (JIRA)
They all should be Trees:Panel Menu, Context Menu, Drop Down
------------------------------------------------------------
Key: RF-4128
URL: https://jira.jboss.org/jira/browse/RF-4128
Project: RichFaces
Issue Type: Feature Request
Reporter: Francisco Jose Peredo Noguez
I would like to be able to use recursiveTreeNodesAdaptor to configure Panel Menu, Context Menu, Drop Down Menu, after all, they all are recursive trees.
They all should be Trees:Panel Menu, Context Menu, Drop Down Menu. Shouldn't they? Why not? AFAIK there is no easy way to make this possible right now
--
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-2516) Drag-n-Drop Tree with Context Menu
by Ralf Loechte (JIRA)
Drag-n-Drop Tree with Context Menu
----------------------------------
Key: RF-2516
URL: http://jira.jboss.com/jira/browse/RF-2516
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.4, 3.2.0
Reporter: Ralf Loechte
I have a rich:tree with drag-n-drop support and an attached rich:contextMenu to the nestet rich:treeNode. if you click left on a node, the contectMenu will open. After click on the
<rich:treeNode
type="member"
dragType="member"
dragValue="#{item}"
acceptedTypes="member">
<h:outputText value="#{item.name}" />
<rich:dndParam name="label" type="drag" value="#{item.name}" />
<rich:contextMenu event="oncontextmenu" attached="true"
submitMode="ajax">
<rich:menuItem value="Ausschneiden" limitToList="true"
reRender="treehierarchypanel"
disabled="#{!olapAdminMainBean.editMode}"
actionListener="#{hierarchyMainBean.processCutElement}">
</rich:menuItem>
--
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, 3 months