Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-1484

upgrade struts2 dojo widget due to upgrading dojo to 0.4

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.1
    • 2.0.2
    • Plugin - Tags
    • None

    Description

      Some of the initial thoughts are:-

      • use dojo.widget.defineWidget instead of the old-way of using
        dojo.provide, dojo.extends etc. Dojo got most of its widget rewritten using
        this way.
      • have struts2 widgets/utils as a separate module and add them in
        using dojo.setModulePrefix(...) (0.3) I think the method is renamed in 0.4
        and the concept of module is namespace in 0.4
      • have javadoc comments in our widget, hopefully it would be easier
        to follow and maybe if possible able to generate docs like
        http://dojotoolkit.org/api But I am not sure about how to do this yet.
        Definitely interested in finding out more.
      • have a test folder, like dojo's where we could have pages that test
        the widget, we could use Pat's product to do test the pages (something
        like HostedQA or Selenium)

      Please feel free to add on information / discuess / express thoughts etc.

      Attachments

        1. WW-1484_2.patch
          19 kB
          Musachy Barroso
        2. WW-1484_1.patch
          10 kB
          Musachy Barroso
        3. ajax.zip
          20 kB
          Rainer Hermanns
        4. WW-1484.patch
          376 kB
          Musachy Barroso

        Issue Links

          Activity

            People

              rainerh Rainer Hermanns
              tm_jee tm_jee
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: