Issue Details (XML | Word | Printable)

Key: SM-79
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Matt Raible
Reporter: Gaurav Kumar
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Struts Menu

Same duplicate names do not show up properly

Created: 20/Apr/07 12:11 PM   Updated: 31/May/07 02:15 PM   Resolved: 31/May/07 02:15 PM
Component/s: Displayers
Affects Version/s: 2.3
Fix Version/s: 2.4.3

Environment: Windows, Unix


 Description  « Hide
In case of the following tree structure:
 
Root
    Marketing_Information
        Images
            Image1.jpg
            Image2.jpg
            Image3.jpg
        Brochures
            Borchure1.jpg
            Borchure2.jpg
        Samples
            Sample1.txt
            Sample2.txt
            Sample3.txt
    Personal_Information
        Images
            Image3.jpg
            Image4.jpg
            Image4.jpg
        Brochures
            Borchure3.jpg
            Borchure4.jpg
        Assets
            Assets1.doc
            Assets2.doc
            Assets3.doc
 
While rendering it is not able to render elements which have the same name, once it has occurred previously in the tree. For e.g. Root/Personal_Information/Images does not show any children, while Root/Marketing_Information/Images show all children. The same happens with "Brochers". But those which come for the first time like 'Assets' are being displayed properly. After investigating the problem I found the problem is because of the non-unique element id (e.g <a href="#" id="BrochuresActuator" class="actuator">Brochures</a>
<ul style="display: block;" id="BrochuresMenu" class="submenu">) .



Matt Raible made changes - 20/Apr/07 12:57 PM
Field Original Value New Value
Fix Version/s 2.4.3 [ 10131 ]
Matt Raible added a comment - 31/May/07 02:15 PM
Fixed in CVS.

Matt Raible made changes - 31/May/07 02:15 PM
Resolution Fixed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]