Details
-
Type: Bug
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: EE-4.2.0.GA
-
Fix Version/s: None
-
Component/s: ACE-Components
-
Labels:None
-
Environment:Windows 7 / Java 8 server
Firefox and Chrome browsers
Description
Extend the ace:tableConfigPanel - Overview in ICEfaces Showcase with
Ajax event listeners:
<ace:ajax event="submit" listener="#{deviceTableConfigPanelBean.submitTableConfigAjaxEvent}" />
<ace:ajax event="cancel" listener="#{deviceTableConfigPanelBean.cancelTableConfigAjaxEvent}" />
and
public void submitTableConfigAjaxEvent(javax.faces.event.AjaxBehaviorEvent event)
{
System.out.println("submitTableConfig()");
}
public void cancelTableConfigAjaxEvent(javax.faces.event.AjaxBehaviorEvent event)
{
System.out.println("cancelTableConfig()");
}
Open the table config panel,
click on cancel -> "cancelTableConfig()" printout!
Open the table config panel, click on submit -> no printout!
swap the listener declarations in the xhtml file
Open the table config panel,
click on cancel -> "submitTableConfig()" printout!
Open the table config panel, click on submit -> no printout!
In the request parameters the following is found:
javax.faces.behavior.event submit
javax.faces.partial.event submit
javax.faces.partial.ajax true
but the submit event does not seem to reach the backing bean
Ajax event listeners:
<ace:ajax event="submit" listener="#{deviceTableConfigPanelBean.submitTableConfigAjaxEvent}" />
<ace:ajax event="cancel" listener="#{deviceTableConfigPanelBean.cancelTableConfigAjaxEvent}" />
and
public void submitTableConfigAjaxEvent(javax.faces.event.AjaxBehaviorEvent event)
{
System.out.println("submitTableConfig()");
}
public void cancelTableConfigAjaxEvent(javax.faces.event.AjaxBehaviorEvent event)
{
System.out.println("cancelTableConfig()");
}
Open the table config panel,
click on cancel -> "cancelTableConfig()" printout!
Open the table config panel, click on submit -> no printout!
swap the listener declarations in the xhtml file
Open the table config panel,
click on cancel -> "submitTableConfig()" printout!
Open the table config panel, click on submit -> no printout!
In the request parameters the following is found:
javax.faces.behavior.event submit
javax.faces.partial.event submit
javax.faces.partial.ajax true
but the submit event does not seem to reach the backing bean
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion