[ 
https://issues.apache.org/jira/browse/MYFACES-2793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12886075#action_12886075
 ] 

Werner Punz commented on MYFACES-2793:
--------------------------------------

Yes this is definitely a bug, I will commit the fix tomorrow, thanks for 
reporting it.

PS: Since you are from the icefaces team, I would love to have some feedback on 
what you could need for improvement. I have somewhat a lack of feedback from 
the authors of the big complibs.


> 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
>   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.

Reply via email to