Details
Description
On normal stock h: components, ICEfaces 'decorates' forms in order to add stuff needed for form submission. This includes:
<input name="ice.window" type="hidden" value="fbgs26iu6l" />
<input name="ice.view" type="hidden" value="veamhp42" />
<script id="hForm:hForm_captureSubmit" type="text/javascript">
ice.captureSubmit('hForm',false);ice.captureEnterKey('hForm');</script>
This work is done in a class called FormSubmit and is implemented as SystemEventListener that listens for HtmlForm components that trigger PostAddToViewEvents:
public class FormSubmit implements SystemEventListener {
<system-event-listener>
<system-event-listener-class>org.icefaces.impl.event.FormSubmit</system-event-listener-class>
<system-event-class>javax.faces.event.PostAddToViewEvent</system-event-class>
</system-event-listener>
While this strategy appears to work fine in Mojarra, the form decorations are not being applied when running under MyFaces and the Ajax request is a postback.
<input name="ice.window" type="hidden" value="fbgs26iu6l" />
<input name="ice.view" type="hidden" value="veamhp42" />
<script id="hForm:hForm_captureSubmit" type="text/javascript">
ice.captureSubmit('hForm',false);ice.captureEnterKey('hForm');</script>
This work is done in a class called FormSubmit and is implemented as SystemEventListener that listens for HtmlForm components that trigger PostAddToViewEvents:
public class FormSubmit implements SystemEventListener {
<system-event-listener>
<system-event-listener-class>org.icefaces.impl.event.FormSubmit</system-event-listener-class>
<system-event-class>javax.faces.event.PostAddToViewEvent</system-event-class>
</system-event-listener>
While this strategy appears to work fine in Mojarra, the form decorations are not being applied when running under MyFaces and the Ajax request is a postback.
Issue Links
- blocks
-
ICE-5868 MyFaces 2 compatibility
- Closed
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Deryk Sinotte
created issue -
Deryk Sinotte
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [] | |
Assignee Priority | P1 | |
Assignee | Deryk Sinotte [ deryk.sinotte ] |
Deryk Sinotte
made changes -
Deryk Sinotte
made changes -
Deryk Sinotte
made changes -
Deryk Sinotte
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Fix Version/s | 2.1-Beta [ 10291 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |