You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2003/11/19 15:58:54 UTC

DO NOT REPLY [Bug 24825] New: - MenuBar not shown in JellySWT

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24825>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24825

MenuBar not shown in JellySWT

           Summary: MenuBar not shown in JellySWT
           Product: Commons
           Version: 1.0 Alpha
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Jelly
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: kurt.riede@web.de


Menubar is not attached to parent shell an thus not shown.

Reason:
Wrong signature of method attachWidgets() in class 
org.apache.commons.jelly.tags.swt.MenuTag:

What happens:
Instead of the method in the derived class MenuTag, the default method in the 
super class WidgetTag is called.

The enclosed patch fixes this problem.

Plattform: Win2000
Java: JDK 1.4.2



Index: MenuTag.java
===================================================================
RCS file: /home/cvspublic/jakarta-commons/jelly/jelly-
tags/swt/src/java/org/apache/commons/jelly/tags/swt/MenuTag.java,v
retrieving revision 1.5
diff -r1.5 MenuTag.java
103c103
<     protected void attachWidgets(Widget parent, Widget widget) {
---
>     protected void attachWidgets(Object parent, Widget widget) {

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org