[JBoss JIRA] Created: (RF-9433) tabPanel and accordion should be able to enclose own controls to separate forms.
by Ilya Shaikovsky (JIRA)
tabPanel and accordion should be able to enclose own controls to separate forms.
--------------------------------------------------------------------------------
Key: RF-9433
URL: https://jira.jboss.org/browse/RF-9433
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-panels-layout-themes
Affects Versions: 4.0.0.Milestone3
Reporter: Ilya Shaikovsky
Assignee: Nick Belaevski
https://jira.jboss.org/browse/RF-9010 - togglePanel throws exception as it switches by behaviors placed for any external components. So it can't add form automatically.
But tab and accordion should be able I think as it was in 3.3.x for tabPanel.
for tabPanel - all the line of tabs should be enclosed and for accordion - every control.
About JS API which will still fails in that case - I think it's acceptable to have js error in case the developer trying to use JS API with no form around the component. He should be responsible for form in that case.
--
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, 11 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, 11 months
[JBoss JIRA] Created: (RF-9666) Autocomplete: JS error after AJAX request
by Nick Belaevski (JIRA)
Autocomplete: JS error after AJAX request
-----------------------------------------
Key: RF-9666
URL: https://jira.jboss.org/browse/RF-9666
Project: RichFaces
Issue Type: Task
Security Level: Public (Everyone can see)
Affects Versions: 4.0.0.Milestone4
Reporter: Nick Belaevski
Assignee: py
Fix For: 4.0.0.Milestone4
For the following code:
<h:form>
<a4j:outputPanel ajaxRendered="true">
<h:messages />
</a4j:outputPanel>
<input:autocomplete mode="ajax" id="autocomplete"
autocompleteMethod="#{autoCompleteBean.autocomplete}"
value="#{value}">
<f:validateRequired />
</input:autocomplete>
</h:form>
values[i].toLowerCase is not a function
[Break on this error] processedValues.push(values[i].toLowerCase());
--
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, 11 months