[
https://issues.apache.org/jira/browse/MYFACES-2793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Werner Punz resolved MYFACES-2793.
----------------------------------
Fix Version/s: 2.0.1-SNAPSHOT
Resolution: Fixed
Fixed, thank you again for sending the bugfix in.
> jsf.ajax.request source should accept form element
> --------------------------------------------------
>
> Key: MYFACES-2793
> URL: https://issues.apache.org/jira/browse/MYFACES-2793
> Project: MyFaces Core
> Issue Type: Bug
> Components: JSR-314
> Affects Versions: 2.0.1-SNAPSHOT
> Environment: MyFaces 2.0.1-SNAPSHOT, ICEfaces 2.0
> Reporter: Ted Goddard
> Fix For: 2.0.1-SNAPSHOT
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> In some cases it is useful to directly pass the form element as the "source"
> parameter for jsf.ajax.request(source, |event|, { |OPTIONS| });
> The following modification to _Dom.js provides this feature:
> fuzzyFormDetection : function(elem) {
> ...
> //before going into the more complicated stuff we try the simple
> approach
> if (!_Lang.isString(elem)) {
> if (_Lang.equalsIgnoreCase(elem.tagName, "form")) {
> return elem;
> }
> return this.getParent(elem, "form");
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.