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

Piyush Hari updated ADFFACES-172:
---------------------------------

    Attachment: patch_sept18_5_49PM_ambiguousselectdata.patch

Patch resolving this issue is attached. 

function createNameValue(String) in core.js creates the XmlHttp data to be sent 
to the server. If form element is of type 'select', it appends key-value pair 
to a variable selectdata that is declared but not initialised. As a result its 
initial value is 'undefined'. When key value pairs are appended to that 
variable, it appends them to 'undefined' . For ex:

a sample request string : 
'undefinedevent=show&source=_id1....'

Therefore, initialise the selectdata variable to "". For ex:
var selectdata = "";



> Components of type 'select' do not get expected response on 'autoSubmit' on a 
> PDA device
> ----------------------------------------------------------------------------------------
>
>                 Key: ADFFACES-172
>                 URL: http://issues.apache.org/jira/browse/ADFFACES-172
>             Project: MyFaces ADF-Faces
>          Issue Type: Bug
>         Environment: PDA
>            Reporter: Piyush Hari
>            Priority: Minor
>         Attachments: patch_sept18_5_49PM_ambiguousselectdata.patch
>
>
> On autoSubmit a value in a select component (like selectOneChoice), ambiguous 
> data ('undefined') appears within XmlHTTP request string. This is not 
> recognised by the server . As a result the response deos not contain expected 
> values.

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