[jira] Created: (OFBIZ-3922) Dependent dropdowns mechanism does not work anymore

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (OFBIZ-3922) Dependent dropdowns mechanism does not work anymore

Nicolas Malin (Jira)
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
            Reporter: Jacques Le Roux
            Assignee: Jacques Le Roux




--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-3922) Dependent dropdowns mechanism does not work anymore

Nicolas Malin (Jira)

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

Jacques Le Roux updated OFBIZ-3922:
-----------------------------------

        Fix Version/s: jQuery
    Affects Version/s: jQuery
          Description: 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...

> 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 | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-3922) Dependent dropdowns mechanism does not work anymore

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-3922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12906236#action_12906236 ]

Jacques Le Roux commented on OFBIZ-3922:
----------------------------------------

OK, anyway we need to rewite it using jQuery...

> 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 | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-3922) Dependent dropdowns mechanism does not work anymore

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-3922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12906241#action_12906241 ]

Jacques Le Roux commented on OFBIZ-3922:
----------------------------------------

Temporarily fixed at 992587. But anyway I will soon transform this mechanism to use only jQuery

> 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 | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-3922) Dependent dropdowns mechanism does not work anymore

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-3922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12906247#action_12906247 ]

Sascha Rodekamp commented on OFBIZ-3922:
----------------------------------------

Hehe Jacques, don't worry i'll have a look at Monday. Should not so difficult. I write a dependent drop down in the order application. (See my last patch) Maybe i can use that code.

Have a good day
Cheers
Sascha

> 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 | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-3922) Dependent dropdowns mechanism does not work anymore

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-3922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12906268#action_12906268 ]

Jacques Le Roux commented on OFBIZ-3922:
----------------------------------------

Hi Sascha,

Thank, it's almost done, I will have certainly finished this weekend. I have to learn jQuery ;) I will have a look at your last patch though...

> 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 | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-3922) Dependent dropdowns mechanism does not work anymore

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-3922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12906327#action_12906327 ]

Sascha Rodekamp commented on OFBIZ-3922:
----------------------------------------

Hehe ok Jacques, well done, i will have a look when you've finished you're patch :)

Have a good Sunday

> 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 | Threaded
Open this post in threaded view
|

[jira] Closed: (OFBIZ-3922) Dependent dropdowns mechanism does not work anymore

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ 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 | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-3922) Dependent dropdowns mechanism does not work anymore

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-3922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12906440#action_12906440 ]

Sascha Rodekamp commented on OFBIZ-3922:
----------------------------------------

Hi Jacques,
you're patch looks good. I think for now it's a good way to create a separate JSON Object which contains the param. Array. We can change this when we adapt the method.

Well done!
Cheers
Sascha

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