[jira] [Updated] (OFBIZ-5557) Render multiMenu problem when linktype="hidden-form"

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

[jira] [Updated] (OFBIZ-5557) Render multiMenu problem when linktype="hidden-form"

Nicolas Malin (Jira)

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

Jacques Le Roux updated OFBIZ-5557:
-----------------------------------

    Attachment: OFBIZ-5557.patch

Hi Rong,

I'm not quite sure how to test this change. So I have created a OFBIZ-5557.patch based on your work. Could you please

# Check it corresponds to your changes
# Explain how to test it (I tried the [^up] button but nothing happens, I see no "down" button, so maybe I miss something?)

Note: while checking js errors I found those on this page:

* "NetworkError: 404 Not Found - https://localhost:8443/content/images/contentForum.css"
* TypeError: document.childTemplateLine_up_LF_8.submit is not a function

Thanks for your help

> Render multiMenu problem when linktype="hidden-form"
> ----------------------------------------------------
>
>                 Key: OFBIZ-5557
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5557
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Rong Nguyen
>         Attachments: 0001-Content.patch, ModelMenu.java, OFBIZ-5557.patch
>
>
> Scenario:
> 1. Go to Content webapp
> 2. Go to CompDoc menuitem
> 3. Search
> 4. Go to 'Tree' view
> 5. We can not use 'Up' and 'Down' function
> When menu with linktype="hidden-form" was render for each menu, they has the same name for form element, so it cause error.
> My solution is add extra attribute(extra-index) for Menu, and then in menu definition we provide this attribute and the forms with different name will be rendered.
> My implement was tested in this bug for Content webapp



--
This message was sent by Atlassian JIRA
(v6.2#6252)