You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by ji...@codehaus.org on 2003/11/20 14:20:12 UTC

[jira] Created: (JELLY-97) MenuBar not shown

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=JELLY-97


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JELLY-97
    Summary: MenuBar not shown
       Type: Bug

     Status: Unassigned
   Priority: Minor

 Original Estimate: 5 minutes
 Time Spent: Unknown
  Remaining: 5 minutes

    Project: jelly
 Components: 
             taglib.swt

   Assignee: 
   Reporter: Kurt Riede

    Created: Thu, 20 Nov 2003 7:19 AM
    Updated: Thu, 20 Nov 2003 7:19 AM
Environment: Plattform: Win2000
Java: JDK 1.4.2

Description:
Affects version: CVS from 17.11.2003

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.

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) {



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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