Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-4631

When clicking on the ajax category tree, it should cause a GET http request rather than an ajax call to ofbiz.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • Trunk, Upcoming Branch
    • None
    • product
    • None
    • Bug Crush Event - 21/2/2015

    Description

      Currently, when a user clicks on a catalog entry in the "Browse Catalogs/Categories" tree. The appropriate edit catalog page is shown. The issue is that the url at the browser address bar remains unchanged after the interaction.

      Doing some research, I found that when a user clicks on the tree entry, an ajax request for EditProdCatalogAjax was triggered.
      At first I thought it was a simple matter to modify the EditProdCatalogAjax request-map with the following. But that did not work as it ended up showing the target page within the previous page (ie. the entire target page inside <div id="content-main-section" class="leftonly"> of the previous page).

      <response name="success" type="request-redirect" value="EditProdCatalog">
      <redirect-parameter name="prodCatalogId"/>
      </response>

      I think it would be better to modify the entries in the ajax category tree to contain a link <a> to the target category page.

      Attachments

        Activity

          People

            Unassigned Unassigned
            wt Wai
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: