[JBoss JIRA] Created: (RF-5608) Tree : ajaxSingle doesn not keep its state if was defined via el-expression.
by Alexander Dubovsky (JIRA)
Tree : ajaxSingle doesn not keep its state if was defined via el-expression.
----------------------------------------------------------------------------
Key: RF-5608
URL: https://jira.jboss.org/jira/browse/RF-5608
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2, 3.3.0
Environment: 3.2.2.GA, 3.3.0.CR2
Reporter: Alexander Dubovsky
Assignee: Nick Belaevski
Fix For: Future
Code:
<rich:tree value="#{custom.data}" var="item">
<rich:treeNode ajaxSingle="true"
dragListener="#{item.processDrag}"
dropListener="#{item.processDrop}"
dragType="all" acceptedTypes="all">
<h:outputText value="#{item.value}" />
</rich:treeNode>
</rich:tree>
# In this case drag/drop is possible normally any node on any node => listeners are triggered OK
# Change ajaxSingle="#{true}" and try drag/srop
Result: drag/ drop operation is possible only on itself, i.e. listeners are triggered only in case drag node1 and drop it on node1 (itself).
--
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, 3 months
[JBoss JIRA] Created: (RF-7192) Ajax component processing outside of region/form
by Thomas W (JIRA)
Ajax component processing outside of region/form
------------------------------------------------
Key: RF-7192
URL: https://jira.jboss.org/jira/browse/RF-7192
Project: RichFaces
Issue Type: Bug
Components: component-a4j-core
Affects Versions: 3.3.0
Reporter: Thomas W
RF 3.3.0 GA
Issue with server side processing of AJAX enabled components that are outside of any region that is requested to be rendered as well as any a:outputPanel with ajaxRendered="true". This happens with tree and table components, for example.
I could track this down to behavior in UIDataAdapter. With the following change the unwanted processing is turned off:
public void encodeAjaxChild(FacesContext context, String path,
final Set<String> ids, final Set<String> renderedAreas) throws IOException {
boolean isRenderedPath = false;
for (String id : ids) {
if (id.startsWith(path)) {
isRenderedPath = true;
}
}
if (!isRenderedPath) {
return;
}
With this addition, any component that falls outside the list of requested ids (reRender) will be skipped. This has muted the excessive component processing (processing that would never result in DOM rendering).
A real fix would need to allow for processing of outputPanels with ajaxRendered="true". What is the correct fix for this problem?
<a:outputPanel id="searchResults" ajaxRendered="false" styleClass="noBorder">
<a:region>
<h:form id="searchForm" styleClass="noBorder">
<rich:scrollableDataTable ....
<a:support event="onselectionchange"
action="#{someAction.process}" reRender="region1,region2"
limitToList="true"
status="globalStatus"/>
--
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, 3 months
[JBoss JIRA] Created: (RF-6471) Drap and drop should scroll tree up or down when scrollbars are displayed
by Wouter van Reeven (JIRA)
Drap and drop should scroll tree up or down when scrollbars are displayed
-------------------------------------------------------------------------
Key: RF-6471
URL: https://jira.jboss.org/jira/browse/RF-6471
Project: RichFaces
Issue Type: Feature Request
Affects Versions: 3.3.0
Reporter: Wouter van Reeven
We have a rich:panel with a rich:tree inside of it. The rich:panel has "overflow: auto;" in its style. Whenever the tree gets higher than a certain height, the rich:panel displays scrollbars.
For maintenance of the tree we have implemented dragging and dropping of tree nodes to either move them to a certain location, or to copy them to that location. When the tree is very high and the scrollbars are visible, the panel doesn't automatically scroll up or down whenever a tree node is dragged to the upper or lower boundary of the panel.
When using a mouse with a wheel, it is possible to scroll the panel with the mouse wheel while dragging a tree node. However, many of our users use laptops with no wheelmouse so they cannot do this.
Please extend the rich:panel (and other components that may have a tree component inside of them) with a setting that enables (or disables) scrolling of the panel during drag actions.
--
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, 3 months