OFBiz
  1. OFBiz
  2. OFBIZ-3814

jQuery Implementtion - Umbrella Main Task

    Details

      Description

      This task is to group the related sub-tasks.
      We plan to replace all prototype/ dojo based javascript Code with jQuery based code.

      For this task a special development branch exists: jquery.
      It will be merged into the trunk after all problems/issue are solved.

      The jQuery branch have been merged in trunk. A beforejQuery tag has been put.

      1.
      Content Navigation Tree implemented with jQuery Sub-task Closed Sascha Rodekamp
       
      2.
      Basic Menu Changes to make them work with jQuery Sub-task Closed Erwan de FERRIERES
       
      3.
      jQuery Calendar Implementation Sub-task Closed Erwan de FERRIERES
       
      4.
      jQuery Lookup Layer Transformation Sub-task Closed Jacques Le Roux
       
      5.
      Multiple lookups target problem Sub-task Closed Erwan de FERRIERES
       
      6.
      selectall.js jquery transformation Sub-task Closed Jacques Le Roux
       
      7.
      HR file upload progressbar jQuery implementation Sub-task Closed Erwan de FERRIERES
       
      8.
      jQuery Drag'n'Drop for myPortal Sub-task Closed Jacques Le Roux
       
      9.
      Accounting Cost Centers Sub-task Closed Erwan de FERRIERES
       
      10.
      jQuery plotter implementation Sub-task Closed Jacques Le Roux
       
      11.
      Auto-complete for dropdowns (it's currently in selectall.js) Sub-task Closed Jacques Le Roux
       
      12.
      Order Application Mirgrated Sub-task Closed Jacques Le Roux
       
      13.
      Dependent dropdowns mechanism does not work anymore Sub-task Closed Jacques Le Roux
       
      14.
      Add asmselect plugin Sub-task Closed Jacques Le Roux
       
      15.
      The window attribute of the element Lookup does not work well (looks like a decorator issue) Sub-task Closed Jacques Le Roux
       
      16.
      Accounting Application Migration Sub-task Closed Jacques Le Roux
       
      17.
      renderCheckField in htmlFormMacroLibrary.ftl does not work Sub-task Closed Jacques Le Roux
       
      18.
      Seems like there is an issue with <@htmlTemplate.renderDateTimeField in FTL Sub-task Closed Jacques Le Roux
       
      19.
      Localisation of labels in javascript Sub-task Closed Jacques Le Roux
       
      20.
      Collection task for application jQuery Migration Sub-task Closed Jacques Le Roux
       
      21.
      Ofbiz Website Migration Sub-task Closed Jacques Le Roux
       
      22.
      Ecommerce Migration Sub-task Closed Jacques Le Roux
       
      23.
      Clean Themes Sub-task Closed Jacques Le Roux
       
      24.
      webPos Migration and Cleanup Sub-task Closed Jacques Le Roux
       
      25.
      Lookup bug fixes Sub-task Closed Jacques Le Roux
       
      26.
      jQuery Test and Bug fixing Sub-task Closed Unassigned
       
      27.
      The time part (cursors) of the Date Time picker is not internationalized Sub-task Closed Jacques Le Roux
       
      28.
      We need to replace all references to whizzywig.js Sub-task Closed Jacques Le Roux
       
      29.
      jquery branch's autocomplete is CJK incompatible Sub-task Closed Jacques Le Roux
       
      30.
      i18n for elrte editor Sub-task Closed Jacques Le Roux
       
      31.
      Update the Datepicker to version 0.9.1 Sub-task Closed Jacques Le Roux
       
      32.
      Update jsTree to RC3 Sub-task Closed Jacques Le Roux
       
      33.
      Bug In Jquery Integration - js File Not Found Sub-task Closed Sascha Rodekamp
       
      34.
      Fix Portal Drag'n'Drop Sub-task Closed Jacques Le Roux
       
      35.
      jQuery ecommerce onepagecheckout issue Sub-task Closed Jacques Le Roux
       
      36.
      Find button is not working in the 'googlebase' application Sub-task Closed Jacques Le Roux
       
      37.
      Adding content in CMS using add long text (right mouse click) doesn't work Sub-task Closed Jacques Le Roux
       
      38.
      The online help navigation panel is too narrow Sub-task Closed Jacques Le Roux
       
      39.
      The variants case does not work in product lookups Sub-task Closed Jacques Le Roux
       
      40.
      Links to Path Alias and Meta Tags in CMS don't work any more Sub-task Closed Jacques Le Roux
       
      41.
      Small issues in Content/CMS Sub-task Closed Jacques Le Roux
       
      42.
      The lookup popup window does not close when finished Sub-task Closed Jacques Le Roux
       
      43.
      The lookup widget does not support the target-parameter tag anymore Sub-task Closed Jacques Le Roux
       

        Activity

        Hide
        Jacques Le Roux added a comment -

        Not unhappy to close this one

        Show
        Jacques Le Roux added a comment - Not unhappy to close this one
        Hide
        Jacques Le Roux added a comment -

        Apart "The time part (cursors) of the Date Time picker is not internationalized" (OFBIZ-4015), all is done here. We will also wait elrte editor update before closing anyway

        Show
        Jacques Le Roux added a comment - Apart "The time part (cursors) of the Date Time picker is not internationalized" ( OFBIZ-4015 ), all is done here. We will also wait elrte editor update before closing anyway
        Hide
        Sascha Rodekamp added a comment -

        Cool rhoit thanks, can u post me a link here: OFBIZ-4068 I will fix ASAP

        Show
        Sascha Rodekamp added a comment - Cool rhoit thanks, can u post me a link here: OFBIZ-4068 I will fix ASAP
        Hide
        Rohit Sureka added a comment -

        hi,

        i found another error...the find button is not working in the 'googlebase' application. The 'googlebase' application has a page using which u can to search for product to be submitted to google base. the find button is not submitting the page at all.

        this bug is related to the jQuery merger.

        thanks,

        rohit

        Show
        Rohit Sureka added a comment - hi, i found another error...the find button is not working in the 'googlebase' application. The 'googlebase' application has a page using which u can to search for product to be submitted to google base. the find button is not submitting the page at all. this bug is related to the jQuery merger. thanks, rohit
        Hide
        Sascha Rodekamp added a comment -

        Thanks Rhoit i create a task for me OFBIZ-4067. Fix comes ASAP.

        Show
        Sascha Rodekamp added a comment - Thanks Rhoit i create a task for me OFBIZ-4067 . Fix comes ASAP.
        Hide
        Rohit Sureka added a comment -

        hi..
        with the jQuery branch being merged into the trunk, 2 new issues have been identified in the onepagecheckout, and they are:

        1) the remove item link does not work in the shoppingcart panel, and
        2) the cart is not updated if cart quantity is changed or promo codes are entered.

        Rohit

        Show
        Rohit Sureka added a comment - hi.. with the jQuery branch being merged into the trunk, 2 new issues have been identified in the onepagecheckout, and they are: 1) the remove item link does not work in the shoppingcart panel, and 2) the cart is not updated if cart quantity is changed or promo codes are entered. Rohit
        Hide
        Jacques Le Roux added a comment -

        Quoting http://markmail.org/message/tuncovtwewvzucai

        We are not yet completly ready (almost all is done, we need more testing), but I think that when we will merge the jQuery branch we should use

        jQuery.noConflict();

        and keep using jQuery( instead of the $( shortcut. Until we all agree about not doing so. Because some of us are certainly using Dojo or/and Prototype in their custom projects based on trunk and it would be a nightmare otherwise.

        OOTB we will "remove" all Prototype/Dojo libs loading. Actually we will comment lines out to simplify using them if needed...

        Show
        Jacques Le Roux added a comment - Quoting http://markmail.org/message/tuncovtwewvzucai We are not yet completly ready (almost all is done, we need more testing), but I think that when we will merge the jQuery branch we should use jQuery.noConflict(); and keep using jQuery( instead of the $( shortcut. Until we all agree about not doing so. Because some of us are certainly using Dojo or/and Prototype in their custom projects based on trunk and it would be a nightmare otherwise. OOTB we will "remove" all Prototype/Dojo libs loading. Actually we will comment lines out to simplify using them if needed...
        Hide
        Michael Xu added a comment -

        hi Sascha,

        Yes, we do need a wish list and I think JIRA is good enough for that.

        Also, I have created a new issue for my wish: OFBIZ-3981

        thanks,
        Michael

        Show
        Michael Xu added a comment - hi Sascha, Yes, we do need a wish list and I think JIRA is good enough for that. Also, I have created a new issue for my wish: OFBIZ-3981 thanks, Michael
        Hide
        Sascha Rodekamp added a comment - - edited

        Hey Michael, Hey Bruno and Good morning
        yes the jQuery tabels would be a great thing. We should think about this after the migration is completed.


        Maybe we should make a wish/ idea list what we can do with the new jQuery lib to improve or widget framework.

        Show
        Sascha Rodekamp added a comment - - edited Hey Michael, Hey Bruno and Good morning yes the jQuery tabels would be a great thing. We should think about this after the migration is completed. Maybe we should make a wish/ idea list what we can do with the new jQuery lib to improve or widget framework.
        Hide
        Bruno Busco added a comment -

        Michael,
        I think those form features would be very interesting to have in OFBiz.
        Thank you for any effort you would provide on this topic.

        Show
        Bruno Busco added a comment - Michael, I think those form features would be very interesting to have in OFBiz. Thank you for any effort you would provide on this topic.
        Hide
        Michael Xu added a comment -

        hi,

        I wish we could have such feature implemented by jquery.

        Replace/enhance current list form with jquery table, which allow users to:

        1. show/hide any columns
        2. group by any column
        3. change the position of columns by drag&drop
        4. export table to csv/excel

        What do you think?

        Regards,
        Michael

        Show
        Michael Xu added a comment - hi, I wish we could have such feature implemented by jquery. Replace/enhance current list form with jquery table, which allow users to: show/hide any columns group by any column change the position of columns by drag&drop export table to csv/excel What do you think? Regards, Michael
        Hide
        Jacques Le Roux added a comment -

        Also, of course, when we will have finished the migration we will not only remove Prototype but also replace all "jQuery." by "$."

        Show
        Jacques Le Roux added a comment - Also, of course, when we will have finished the migration we will not only remove Prototype but also replace all "jQuery." by "$."
        Hide
        Jacques Le Roux added a comment -

        As we use the jQuery branch in development of a custom project and we need all to work, I put back Prototype in the GlobalDecorator. It was temporarily needed for Dependent dropdowns mechanism but it's not the only reason, as I will soon transform this mechanism to use jQuery

        It was removed at r956423 for https://issues.apache.org/jira/browse/OFBIZ-3817. It can be commented out temporarily while working on stuff where it's easier to not have it in, following Sascha's comment in OFBIZ-3817: <<I removed the prototype loading in the commons screens, the result is that the browser throws an error evertime he find JS code that's not compatible to jQuery. It's easier to find related issues.>>

        We will remove it when all will have been migrated. It seems we have the same problem with Dojo... Please consider that some projects may have chosen to work directly with this branch...

        Thanks

        Show
        Jacques Le Roux added a comment - As we use the jQuery branch in development of a custom project and we need all to work, I put back Prototype in the GlobalDecorator. It was temporarily needed for Dependent dropdowns mechanism but it's not the only reason, as I will soon transform this mechanism to use jQuery It was removed at r956423 for https://issues.apache.org/jira/browse/OFBIZ-3817 . It can be commented out temporarily while working on stuff where it's easier to not have it in, following Sascha's comment in OFBIZ-3817 : <<I removed the prototype loading in the commons screens, the result is that the browser throws an error evertime he find JS code that's not compatible to jQuery. It's easier to find related issues.>> We will remove it when all will have been migrated. It seems we have the same problem with Dojo... Please consider that some projects may have chosen to work directly with this branch... Thanks
        Hide
        Sascha Rodekamp added a comment - - edited
        1. Outstanding jQuery Transformations #

        Hey everybody, i like to give you a short update, what we have done in our
        jQuery migration project so far and which tasks are still pending.

        Maybe someone have time to take the one or other point!

        1.) js Files in Order Modul
        2.) Framework / common / JavaScriptTests
        3.) HTML Editor (we have to discuss which one we should use)
        4.) specialpurpose / ecommerce (Ankit started to migrate the OnePageCheckout process)
        5.) specialpurpose / ofbizwebsite
        6.) specialpurpose / webpos
        7.) Update all Themes
        8.) Delete all old javascript libraries and plugins (prototype and dojo)

        I hope i don't forget any tasks.

        Cheers


        Edit:
        The most things are done

        Show
        Sascha Rodekamp added a comment - - edited Outstanding jQuery Transformations # Hey everybody, i like to give you a short update, what we have done in our jQuery migration project so far and which tasks are still pending. Maybe someone have time to take the one or other point! 1.) js Files in Order Modul 2.) Framework / common / JavaScriptTests 3.) HTML Editor (we have to discuss which one we should use) 4.) specialpurpose / ecommerce (Ankit started to migrate the OnePageCheckout process) 5.) specialpurpose / ofbizwebsite 6.) specialpurpose / webpos 7.) Update all Themes 8.) Delete all old javascript libraries and plugins (prototype and dojo) I hope i don't forget any tasks. Cheers – Edit: The most things are done

          People

          • Assignee:
            Erwan de FERRIERES
            Reporter:
            Sascha Rodekamp
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development