[JBoss JIRA] Created: (RF-3427) component control not working on oncomplete event
by Ilya Shaikovsky (JIRA)
component control not working on oncomplete event
-------------------------------------------------
Key: RF-3427
URL: http://jira.jboss.com/jira/browse/RF-3427
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Reporter: Ilya Shaikovsky
Assigned To: Nick Belaevski
<a4j:commandButton value="Show Current Selection" reRender="table"
action="#{dataTableScrollerBean.takeSelection}" id="button">
<rich:componentControl attachTo="button" for="panel" event="oncomplete" operation="show" />
</a4j:commandButton>
doesn't works but
<a4j:commandButton value="Show Current Selection" reRender="table"
action="#{dataTableScrollerBean.takeSelection}"
oncomplete="javascript:Richfaces.showModalPanel('panel');"/>
works fine.
--
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
16 years, 8 months
[JBoss JIRA] Created: (RF-996) aj4:support cannot be used to validate rich:calander.
by Chris Rudd (JIRA)
aj4:support cannot be used to validate rich:calander.
-----------------------------------------------------
Key: RF-996
URL: http://jira.jboss.com/jira/browse/RF-996
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.0
Reporter: Chris Rudd
The following can be used to valdiate the date entered manually, but there is not a way to validate when the date is "picked"
<rich:calendar value="#{bean.date}" enableManualInput="true">
<a4j:support event="oninputchange" reRender="..."/>
</rich:calendar>
There should be an event that is fired any time the date is changed, reguarless of the input method.
NOTE : ondateselect is not applicable as its not notification that the date was changed, it is allowing a hook to see if the date selection should occur.
--
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
16 years, 8 months
[JBoss JIRA] Created: (RF-4931) Tree Adaptors: ClassCastException in StackingTreeModel
by Nick Belaevski (JIRA)
Tree Adaptors: ClassCastException in StackingTreeModel
------------------------------------------------------
Key: RF-4931
URL: https://jira.jboss.org/jira/browse/RF-4931
Project: RichFaces
Issue Type: Patch
Affects Versions: 3.1.x
Reporter: Nick Belaevski
ClassCastException in StackingTreeModel.java:137
Method doSetupKey throws classCastException for one of the scenario.
Steps:-
Search items so that we get Tree(richfaces) list on page.
Delete the one of the node from tree (ajax delete)
After that we tried to reset the search parameters (They are in different a4j:region than the tree) by clicking on Reset button
which means we had to rerender tree for reset operation.
While rerendering the tree we got class cast exception. at line 137.
Following is the code we fixed in our project.
protected StackingTreeModel doSetupKey(Iterator<Key> keyIterator, Iterator<StackEntry> entriesIterator, FacesContext context, Object modelKey) {
if (modelKey != null) {
if (!setupModel(modelKey, context)) {
//no key is available
leaveModel(getRoot().stackEntries.iterator(), null, context);
return null;
}
//TODO what's here?
}
if (keyIterator != null && keyIterator.hasNext()) {
//Patch added by Atul
Object obj = keyIterator.next();
if(obj == null || !(obj instanceof Key)) {
leaveModel(entriesIterator, null, context);
return this;
}
Key key = (Key)obj;
//Patch ends by Atul
//Following is orginal code commented by Atul for above patch.
//Key key = keyIterator.next();
--
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
16 years, 9 months