[ http://issues.apache.org/jira/browse/ADFFACES-167?page=all ]

Piyush Hari updated ADFFACES-167:
---------------------------------

    Attachment: patch_sept08_1_39PM.patch

I am submiting the PATCH resolving this issue. This is what I had to do to 
support 'autoSubmit' functionality in IE mobile, PIE and BB :

- add hidden input fields needed to submit the form values needed for PPR. On a 
desktop, these elements are created on the fly. On PDA, this DOM support is not 
available. So one has to hard code these values as hidden input elements of a 
form. Since, autoSubmit submits the form values for PPR this is necessary.

-Currently , for selectBooleanRadio autoSubmit JS is included on the onclick 
event handler of the enclosing span element. However, on IE Mobile and PIE 
onclick JS handler on span element is not supported with the current DOM 
support. However, onclick on input Button is supported.  Thus, put the code for 
autoSubmit within onclick of the input type=radio element.

-for a selectOneChoice autoSubmit JS code is contained within onclick which is 
not supported on PIE and IEMobile. However, onchange is supported. so, put the 
JS code in onchange handler instead.








> Add 'autoSubmit' support for basic input components on PDAs
> -----------------------------------------------------------
>
>                 Key: ADFFACES-167
>                 URL: http://issues.apache.org/jira/browse/ADFFACES-167
>             Project: MyFaces ADF-Faces
>          Issue Type: Improvement
>         Environment: PDA
>            Reporter: Piyush Hari
>            Priority: Minor
>         Attachments: patch_sept08_1_39PM.patch
>
>
> 'autoSubmit' on the following basic trinidad components do not work when the 
> device is a PDA. (grouped by browser):
> IE Mobile/Pocket IE
> -----------------------------
> inputText
> inputListOfValues
> selectBooleanCheckbox
> selectBooleanRadio
> selectManyCheckbox
> selectManyListbox
> slectOneChoice
> selectOneListbox
> selectOneRadio
> BlackBerry 4.0+
> ------------------------
> selectBooleanRadio

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to