[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
14 years, 10 months
[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
14 years, 10 months
[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
14 years, 10 months