[JBoss JIRA] Created: (RF-970) DDMenu in Toolbar and Opera
by Carsten H?hne (JIRA)
DDMenu in Toolbar and Opera
---------------------------
Key: RF-970
URL: http://jira.jboss.com/jira/browse/RF-970
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.0
Reporter: Carsten H?hne
Priority: Minor
The dropDown Menu does not work in Opera (9.23) in this constellation:
<ui:component ...>
<rich:toolBar>
<h:form>
<rich:toolBarGroup >
<rich:dropDownMenu value="Collection" >
<rich:menuItem value="List working collection" action="list" />
</rich:dropDownMenu>
</rich:toolBarGroup>
</h:form>
<rich:toolBarGroup location="right">
<h:form>[....]
</h:form>
</rich:toolBarGroup>
</rich:toolBar>
</ui:component>
But it works with IE and Firefox.
If the form is put into the toolbargroup, than the menue is functioning in opera. Or if you put the form around the whole toolbar it works also.
--
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
13 years, 7 months
[JBoss JIRA] Created: (RF-3632) Lost input focus after rerendering parent form
by Benno Markiewicz (JIRA)
Lost input focus after rerendering parent form
----------------------------------------------
Key: RF-3632
URL: http://jira.jboss.com/jira/browse/RF-3632
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Environment: RF 3.2.1.CR3
IE 6
Firefox 2.0.0.11
Java 1.5.0_15
jetty-6.1.9
WinXP SP2
Reporter: Benno Markiewicz
A control within a parent form looses its focus when the parent form is rerendered. The rerendering was forced by an event fired from the child control. See the source (based on http://livedemo.exadel.com/richfaces-demo/richfaces/support.jsf?c=support)
<h:form id="myform">
<h:panelGrid columns="2">
<h:inputText id="myinput" value="#{userBean.name}">
<a4j:support event="onkeyup" reRender="myform" />
</h:inputText>
<h:outputText id="outtext" value="#{userBean.name}" />
</h:panelGrid>
</h:form>
Notice the difference. Instead of "outtext" "myform" will be rerendered.
Background: You have a detail form with several components. Every control on the form changes the internal state. The view represents the actual state, so the whole form has to be rerendered. But when you rerender the parent form, the focus/selection state of the actual component is lost.
--
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
13 years, 7 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
13 years, 9 months