[ 
https://issues.apache.org/jira/browse/OFBIZ-3922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jacques Le Roux closed OFBIZ-3922.
----------------------------------

    Resolution: Fixed

Hi Sascha,

Done at r992731

I used jQuery.post, but I sumbled upon an issue I finally bypassed. I tried to 
pass an array as it was used with Prototype.
{code}
var params = new Array();
params[paramKey] = jQuery('#' + paramField).val(); // get requested value from 
parent dropdown field
{code}

I tried to use .param(), .serialize(), .serializeArray() but did not find 
better than:
{code}
data = [ { name: paramKey, value: jQuery('#' + paramField).val()} ]; // 
{code}
because it has to be an array of names and values. Anyway if you compare the 2 
syntax above it's not so bad actually, it's jQuery ;)

BTW, if you want you may have a look at getServiceResult, I did not transform 
it yet

> Dependent dropdowns mechanism does not work anymore
> ---------------------------------------------------
>
>                 Key: OFBIZ-3922
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3922
>             Project: OFBiz
>          Issue Type: Sub-task
>    Affects Versions: jQuery
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>             Fix For: jQuery
>
>
> Not sure why and for how long, but yes it seems to not work anymore in jQuery 
> branch. I will need to fix it because one project I work on relies on it. 
> Help appreciated of course...

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