[JBoss JIRA] Created: (RF-4410) dragAndDrop: unnecessary events is fired.
by Alexander Dubovsky (JIRA)
dragAndDrop: unnecessary events is fired.
-----------------------------------------
Key: RF-4410
URL: https://jira.jboss.org/jira/browse/RF-4410
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Environment: 3.2.2.CR3
Reporter: Alexander Dubovsky
Assignee: Nick Belaevski
Code:
<html>
<head>
<title>DragAndDrop</title>
<style>
.styleDrag {
border-width: 3px;
border-color: FF3300;
width: 50px;
height: 50px;
}
.styleDrop {
border-width: 3px;
border-color: 66CC33;
width: 50px;
height: 50px;
}
</style>
<script>
DnD.CLIENT_VALIDATION_OFF = false;
function writeLog(message) {
console.log(message);
}
</script>
</head>
<body>
<f:view>
<h:form>
<rich:panel styleClass="styleDrag">
<rich:dragSupport dragType="dragType"
onbeforedomupdate="writeLog('drag: onbeforedomupdate')"
oncomplete="writeLog('drag: oncomplete')"
ondragend="writeLog('drag: ondragend')"
ondragstart="writeLog('drag: ondragstart')"
ondropout="writeLog('drag: ondropout')"
ondropover="writeLog('drag: ondropover')">
</rich:dragSupport>
</rich:panel>
<rich:panel styleClass="styleDrop">
<rich:dropSupport acceptedTypes="dragType"
onbeforedomupdate="writeLog('drop: onbeforedomupdate')"
oncomplete="writeLog('drop: oncomplete')"
ondragenter="writeLog('drop: ondragenter')"
ondragexit="writeLog('drop: ondragexit')"
ondrop="writeLog('drop: ondrop')"
ondropend="writeLog('drop: ondropend')">
</rich:dropSupport>
</rich:panel>
</h:form>
</f:view>
</body>
</html>
# Open page
# Click on Green (Drop zone) square
Result: "ondropend" is fired - it is unnecessary event.
# Drag red (Drag zone) square on Drop square (do not throw mouse button)
Result: ondropover, ondragenter, ondropout, ondragexit, ondropover, ondragenter.... events are fired - all events except 1th and 2th (ondropover, ondragenter) are unnecessary.
--
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
13 years, 9 months
[JBoss JIRA] Created: (RF-8876) Push component keps http session active.
by Alexander Smirnov (JIRA)
Push component keps http session active.
----------------------------------------
Key: RF-8876
URL: https://jira.jboss.org/browse/RF-8876
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-a4j-core
Affects Versions: 3.3.3.Final
Environment: Tomcat 5.5/6.0
Reporter: Alexander Smirnov
Assignee: Alexander Smirnov
Although push polling requests does not access http session, every request updates session access time, so it never expires while page with push component opened.
Also, it seems like push requests does not stop even if user leave such page. polling request should be stopped on page unload event and resumed on page loading.
Possible solution is to introduce 'inactivity timeout' in push component that stops it some time after last request to the server.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 10 months
[JBoss JIRA] Created: (RF-8770) Function rich:clientId doesn't work for nested components
by Pavol Pitonak (JIRA)
Function rich:clientId doesn't work for nested components
---------------------------------------------------------
Key: RF-8770
URL: https://jira.jboss.org/browse/RF-8770
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 4.0.0.Alpha2
Environment: all browsers, RF 4.0.0-SNAPSHOT
Reporter: Pavol Pitonak
I have two nested rich data tables, the inner one is on the first row of outer table (see attached picture):
<rich:dataTable id="containerRichDataTable1">
...
<rich:dataTable id="richDataTable">
...
</rich:dataTable>
</richDataTable
Calling #{rich:clientId('richDataTable')} returns
form:containerRichDataTable1:richDataTable
instead of
form:containerRichDataTable1:0:richDataTable
The same problem occurs when the outer component is a4j:repeat, ui:repeat or h:dataTable.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 10 months