[JBoss JIRA] Created: (RF-10164) select: inconsistency of usage arrow button and showPopup api method.
by Ilya Shaikovsky (JIRA)
select: inconsistency of usage arrow button and showPopup api method.
---------------------------------------------------------------------
Key: RF-10164
URL: https://issues.jboss.org/browse/RF-10164
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-input
Affects Versions: 4.0.0.Milestone5
Reporter: Ilya Shaikovsky
Assignee: Nick Belaevski
1) <rich:select defaultLabel="Click here to edit"
openOnEdit="true" id="ii">
<f:selectItem itemValue="0" itemLabel="Option 1" />
<f:selectItem itemValue="1" itemLabel="Option 2" />
<f:selectItem itemValue="2" itemLabel="Option 3" />
<f:selectItem itemValue="3" itemLabel="Option 4" />
<f:selectItem itemValue="4" itemLabel="Option 5" />
</rich:select>
<h:commandButton value="set" onclick="#{rich:component('ii')}.showPopup(); return false;"/>
After clicking arrow - default label disappears and after clicking button - it's not
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 12 months
[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
14 years, 12 months
[JBoss JIRA] Created: (RF-10177) Panel Menu - implement selection/expansion/request event handlers on top-level element
by Lukas Fryc (JIRA)
Panel Menu - implement selection/expansion/request event handlers on top-level element
--------------------------------------------------------------------------------------
Key: RF-10177
URL: https://issues.jboss.org/browse/RF-10177
Project: RichFaces
Issue Type: Enhancement
Security Level: Public (Everyone can see)
Components: component-menu
Affects Versions: 4.0.0.Milestone5
Reporter: Lukas Fryc
Currently, there is following attributes on Panel Menu's children (rich:panelMenuItem, rich:panelMenuGroup) which can't be defined on top-level rich:panelMenu attribute:
Item:
@onbeforedomupdate
@oncomplete
@onbeforeselect
@onselect
@onunselect
Group:
@onbeforedomupdate
@oncomplete
@onbeforeexpand
@onbeforecollapse
@onbeforeswitch
@oncollapse
@onexpand
@onswitch
@onselect
@onunselect
It is convenient to define all these attributes on top-level rich:panelMenu element and propagate their settings to children.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 12 months