You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-issues@incubator.apache.org by "Piyush Hari (JIRA)" <ad...@incubator.apache.org> on 2006/09/11 09:44:22 UTC
[jira] Created: (ADFFACES-172) Components of type 'select' do not
get expected response on 'autoSubmit' on a PDA device
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
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
[jira] Updated: (ADFFACES-172) Components of type 'select' do not
get expected response on 'autoSubmit' on a PDA device
Posted by "Piyush Hari (JIRA)" <ad...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/ADFFACES-172?page=all ]
Piyush Hari updated ADFFACES-172:
---------------------------------
Status: Patch Available (was: Open)
> 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
>
> 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
[jira] Updated: (ADFFACES-172) Components of type 'select' do not
get expected response on 'autoSubmit' on a PDA device
Posted by "Adam Winer (JIRA)" <ad...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/ADFFACES-172?page=all ]
Adam Winer updated ADFFACES-172:
--------------------------------
Status: Resolved (was: Patch Available)
Resolution: Fixed
Committed patch.
> 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
[jira] Updated: (ADFFACES-172) Components of type 'select' do not
get expected response on 'autoSubmit' on a PDA device
Posted by "Matthias Weßendorf (JIRA)" <ad...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/ADFFACES-172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthias Weßendorf updated ADFFACES-172:
----------------------------------------
Fix Version/s: 1.0.0-incubating-core
Affects Version/s: 1.0.0-incubating-core
> Components of type 'select' do not get expected response on 'autoSubmit' on a PDA device
> ----------------------------------------------------------------------------------------
>
> Key: ADFFACES-172
> URL: https://issues.apache.org/jira/browse/ADFFACES-172
> Project: MyFaces ADF-Faces
> Issue Type: Bug
> Affects Versions: 1.0.0-incubating-core
> Environment: PDA
> Reporter: Piyush Hari
> Priority: Minor
> Fix For: 1.0.0-incubating-core
>
> 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.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (ADFFACES-172) Components of type 'select' do not
get expected response on 'autoSubmit' on a PDA device
Posted by "Piyush Hari (JIRA)" <ad...@incubator.apache.org>.
[ 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