History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: SM-53
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Matt Raible
Reporter: Matt Raible
Votes: 0
Watchers: 0
Operations

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

CSSListMenuDisplayer does not render onmouseover attribute on parent <Item> elements

Created: 23/Aug/06 06:10 PM   Updated: 23/Mar/07 03:39 PM
Component/s: Displayers
Affects Version/s: 2.4.1
Fix Version/s: 2.4.2


 Description  « Hide
I added the following to the sample app's menu config:

<Menu name="ToDoListMenuFile" title="FILE" description="test" width="50">
       <Item name="TDLnew" title="NEW" onmouseover="alert('foo')">
           <Item name="TDLnewcase" title="CASE" image="images/case-new.png"
                   location="NewCase.jsp"/>
           <Item name="TDLnewitem" title="ITEM" image="images/item-new.png"
                   location="index.jsp"/>
           <Item name="TDLnewparty" title="PARTY" onmouseover="alert('bar')" image="images/party-new.png"
                   location="index.jsp"/>
       </Item>

This resulted in:

<li class="menubar">
<a href="#">New</a>
<ul>

<li><a href="NewCase.jsp" title="Case">Case</a></li>
<li><a href="index.jsp" title="Item">Item</a></li>

<li><a href="index.jsp" title="Party" onmouseover="alert('bar')">Party</a></li>
</ul>
</li>

And it should result in:

<li class="menubar">
<a href="#" onmouseover="alert('foo')">New</a>
<ul>

<li><a href="NewCase.jsp" title="Case">Case</a></li>
<li><a href="index.jsp" title="Item">Item</a></li>

<li><a href="index.jsp" title="Party" onmouseover="alert('bar')">Party</a></li>
</ul>
</li>



 All   Comments   Change History   FishEye      Sort Order:
There are no comments yet on this issue.