Details
Description
There's an issue with some examples that use singleSubmit. For example, the Comp Suite Context Menu: Effects demo allows you to choose which effect to use when visually displaying the menu. The markup in question currently looks like this:
<ui:define name="example">
<h:form>
<icecore:singleSubmit/>
<h:panelGrid columns="3">
...
This doesn't work properly when running under MyFaces. Clicking a radio button does trigger a submit, but the resulting update simply resets the radio back to the default selection. Changing it to use an f:ajax tag appears to clear things up:
<ui:define name="example">
<h:form>
<f:ajax execute="@this" render="@all">
<h:panelGrid columns="3">
...
This isn't related to ACE at all. I can pare down the example to a very simply one using only stock components and the behaviour is the same.
<ui:define name="example">
<h:form>
<icecore:singleSubmit/>
<h:panelGrid columns="3">
...
This doesn't work properly when running under MyFaces. Clicking a radio button does trigger a submit, but the resulting update simply resets the radio back to the default selection. Changing it to use an f:ajax tag appears to clear things up:
<ui:define name="example">
<h:form>
<f:ajax execute="@this" render="@all">
<h:panelGrid columns="3">
...
This isn't related to ACE at all. I can pare down the example to a very simply one using only stock components and the behaviour is the same.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #26404 | Wed Nov 16 15:43:41 MST 2011 | deryk.sinotte | |
Files Changed | ||||
MODIFY
/icefaces2/trunk/icefaces/core/src/main/javascript/submit.js
|