Flash Control Drawing Over Vaadin Window Header in FF (works in IE)

Hello,

I’m developing an application using Vaadin 6.4.3. I built a custom Vaadin widget that displays Flash charts. When I use this widget within my application it operates correctly, however the Flash component is drawn over some Vaadin components.

I’ve attempted to add the “wmode=opaque” as I’ve read in another thread that this resolves the issue. This appears to work for IE8, but in FF3.6 (Firefox) it does not work (see the screenshot below).


 private void setFlash() {

        String html =
                "<script type=\"text/javascript\" src=\"" + GWT.getModuleBaseURL() + "js/json/json2.js\"></script>"
                + "<object id=\"fxofc2"
                + uidlId
                + "\" classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" width=\"100%\""
                + " height=\"100%\" codebase=\"http://fpdownload.adobe.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0\">"
                + "<param name=\"movie\" value=\""
                + GWT.getModuleBaseURL()
                + "open-flash-chart.swf\">"
                + "<param name=\"quality\" value=\"high\">"
                + "<param name=\"wmode\" value=\"opaque\">"
                + "<param name=\"allowScriptAccess\" value=\"sameDomain\" /> "
                + "<param name=\"flashVars\" value=\"pid="
                + uidlId
                + "\" />"
                + "<embed name=\"fxofc2"
                + uidlId
                + "\" flashVars=\"pid="
                + uidlId
                + "\" src=\""
                + GWT.getModuleBaseURL()
                + "open-flash-chart.swf\" width=\"100%\" height=\"100%\" "
                + "quality=\"high\" "
                + "param name=\"allowScriptAccess\" value=\"sameDomain\" "
                + "pluginspage=\"http://www.adobe.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\">"
                + "</embed>" + "</object>";
        flash.setHTML(html);
    }

Below is a screenshot:

Do any of you have any ideas on how I can resolve this issue?

Thank you,
Ajay

Hmm, strange. Tested with Sampler (the Flash example), using FF3.6/OSX. I opened the “View Source” window, and it worked as it should (no overlapping).

Can you test this with Sampler, does it happen there too?

Jouni,

I attempted the same Sampler test on FF3.6/Windows 7 and I am able to reproduce the issue. Unfortunately, the application I am developing will only be used on Windows machines.

Please see the image below:

Thanks,
Ajay

Looks like a Vaadin bug (regression) to me.

Created a ticket for this
http://dev.vaadin.com/attachment/ticket/5879/

Hi,

I worked on the issue a bit. The wmode hack worked for me. There is also a trivial theme fix that worked on my test environment. Wouldn’t be surprised though it there still were issues in some environments. If you want to help, you could test tomorrows 6.5.0.nightly build and report if this is still an issue for you. More details in the ticket.

cheers,
matti

Hi Matti,

I’ll assist to resolve this issue in anyway I can as the next release of the software product my company is building (which depends on the Vaadin framework) will go into Production a month from now.

At present I am using the 6.4.3 version of Vaadin. I recently upgraded to 6.4.8 without any issues.

I am now trying to upgrade to use the nightly build 6.5.0 (vaadin-6.5.0.nightly-20110107-c16808), but I get an error during widget compilation of a custom widget I’ve built for Flash charting. I also attempted to use the 6.5.0 pre 2 build with the same error as the nightly build. Below is the error that I am receiving:


C:\Development\OFC2\stable>ant -f build-widgetset.xml
Buildfile: C:\Development\OFC2\stable\build-widgetset.xml

configure:

init:
     [echo]
 Requirements for classpath:
     [echo]
   C:\Development\OFC2\stable\gwt/gwt-dev.jar
     [echo]
   C:\Development\OFC2\stable\gwt/gwt-user.jar
     [echo]
   C:\Development\OFC2\stable\WebContent/WEB-INF/lib/vaadin-6.5.0.pre
2.jar
     [echo]
   C:\Development\OFC2\stable\WebContent/WEB-INF/src
     [echo]
 Output will be written into C:\Development\OFC2\stable\WebContent/VA
ADIN/widgetsets

compile-server-side:
    [javac]
 C:\Development\OFC2\stable\build-widgetset.xml:125: warning: 'includ
eantruntime' was not set, defaulting to build.sysclasspath=last; set to false fo
r repeatable builds

configure-widgetset:
     [echo]
 Modify this example Ant script to compile your own widget sets.

generate-widgetset:

compile-widgetset:
     [echo]
 Compiling com.cs.ofc2.widgetset.Ofc2Widgetset...
     [java]
 Compiling module com.cs.ofc2.widgetset.Ofc2Widgetset
     [java]
    Validating newly compiled units
     [java]
       [ERROR]
 Errors in 'jar:file:/C:/Development/OFC2/stable/WebCon
tent/WEB-INF/lib/vaadin-6.5.0.pre2.jar!/com/vaadin/terminal/gwt/client/ui/VUploa
d.java'
     [java]
          [ERROR]
 Line 234: The method scheduleDeferred(Scheduler.Sch
eduledCommand) in the type Scheduler is not applicable for the arguments (new Co
mmand(){})
     [java]
       [ERROR]
 Errors in 'jar:file:/C:/Development/OFC2/stable/WebCon
tent/WEB-INF/lib/vaadin-6.5.0.pre2.jar!/com/vaadin/terminal/gwt/client/ui/VSplit
Panel.java'
     [java]
          [ERROR]
 Line 266: The method scheduleDeferred(Scheduler.Sch
eduledCommand) in the type Scheduler is not applicable for the arguments (new Co
mmand(){})
     [java]
       [ERROR]
 Errors in 'jar:file:/C:/Development/OFC2/stable/WebCon
tent/WEB-INF/lib/vaadin-6.5.0.pre2.jar!/com/vaadin/terminal/gwt/client/ui/VWindo
w.java'
     [java]
          [ERROR]
 Line 539: The method scheduleFinally(Scheduler.Sche
duledCommand) in the type Scheduler is not applicable for the arguments (new Com
mand(){})
     [java]
          [ERROR]
 Line 715: The method scheduleDeferred(Scheduler.Sch
eduledCommand) in the type Scheduler is not applicable for the arguments (new Co
mmand(){})
     [java]
          [ERROR]
 Line 734: The method scheduleDeferred(Scheduler.Sch
eduledCommand) in the type Scheduler is not applicable for the arguments (new Co
mmand(){})
     [java]
       [ERROR]
 Errors in 'jar:file:/C:/Development/OFC2/stable/WebCon
tent/WEB-INF/lib/vaadin-6.5.0.pre2.jar!/com/vaadin/terminal/gwt/client/ui/richte
xtarea/VRichTextArea.java'
     [java]
          [ERROR]
 Line 301: The method scheduleDeferred(Scheduler.Sch
eduledCommand) in the type Scheduler is not applicable for the arguments (new Co
mmand(){})
     [java]
          [ERROR]
 Line 343: The method scheduleDeferred(Scheduler.Sch
eduledCommand) in the type Scheduler is not applicable for the arguments (new Co
mmand(){})
     [java]
       [ERROR]
 Errors in 'jar:file:/C:/Development/OFC2/stable/WebCon
tent/WEB-INF/lib/vaadin-6.5.0.pre2.jar!/com/vaadin/terminal/gwt/client/ui/VNativ
eButton.java'
     [java]
          [ERROR]
 Line 138: The method scheduleDeferred(Scheduler.Sch
eduledCommand) in the type Scheduler is not applicable for the arguments (new Co
mmand(){})
     [java]
       [ERROR]
 Errors in 'jar:file:/C:/Development/OFC2/stable/WebCon
tent/WEB-INF/lib/vaadin-6.5.0.pre2.jar!/com/vaadin/terminal/gwt/client/ui/VTextF
ield.java'
     [java]
          [ERROR]
 Line 261: The method scheduleDeferred(Scheduler.Sch
eduledCommand) in the type Scheduler is not applicable for the arguments (new Co
mmand(){})
     [java]
          [ERROR]
 Line 300: The method scheduleDeferred(Scheduler.Sch
eduledCommand) in the type Scheduler is not applicable for the arguments (new Co
mmand(){})
     [java]
       [ERROR]
 Errors in 'jar:file:/C:/Development/OFC2/stable/WebCon
tent/WEB-INF/lib/vaadin-6.5.0.pre2.jar!/com/vaadin/terminal/gwt/client/Util.java
'
     [java]
          [ERROR]
 Line 611: The method scheduleDeferred(Scheduler.Sch
eduledCommand) in the type Scheduler is not applicable for the arguments (new Co
mmand(){})
     [java]
       [ERROR]
 Errors in 'jar:file:/C:/Development/OFC2/stable/WebCon
tent/WEB-INF/lib/vaadin-6.5.0.pre2.jar!/com/vaadin/terminal/gwt/client/ui/VDragA
ndDropWrapper.java'
     [java]
          [ERROR]
 Line 175: The method scheduleDeferred(Scheduler.Sch
eduledCommand) in the type Scheduler is not applicable for the arguments (new Co
mmand(){})
     [java]
       [ERROR]
 Errors in 'jar:file:/C:/Development/OFC2/stable/WebCon
tent/WEB-INF/lib/vaadin-6.5.0.pre2.jar!/com/vaadin/terminal/gwt/client/ui/VConte
xtMenu.java'
     [java]
          [ERROR]
 Line 140: The method scheduleDeferred(Scheduler.Sch
eduledCommand) in the type Scheduler is not applicable for the arguments (new Co
mmand(){})
     [java]
       [ERROR]
 Errors in 'jar:file:/C:/Development/OFC2/stable/WebCon
tent/WEB-INF/lib/vaadin-6.5.0.pre2.jar!/com/vaadin/terminal/gwt/client/ui/Shortc
utActionHandler.java'
     [java]
          [ERROR]
 Line 170: The method scheduleDeferred(Scheduler.Sch
eduledCommand) in the type Scheduler is not applicable for the arguments (new Co
mmand(){})
     [java]
          [ERROR]
 Line 177: The method scheduleDeferred(Scheduler.Sch
eduledCommand) in the type Scheduler is not applicable for the arguments (new Co
mmand(){})
     [java]
          [ERROR]
 Line 208: The method scheduleDeferred(Scheduler.Sch
eduledCommand) in the type Scheduler is not applicable for the arguments (new Co
mmand(){})
     [java]
       [ERROR]
 Errors in 'jar:file:/C:/Development/OFC2/stable/WebCon
tent/WEB-INF/lib/vaadin-6.5.0.pre2.jar!/com/vaadin/terminal/gwt/client/ui/VSlide
r.java'
     [java]
          [ERROR]
 Line 182: The method scheduleDeferred(Scheduler.Sch
eduledCommand) in the type Scheduler is not applicable for the arguments (new Co
mmand(){})
     [java]
          [ERROR]
 Line 232: The method scheduleDeferred(Scheduler.Sch
eduledCommand) in the type Scheduler is not applicable for the arguments (new Co
mmand(){})
     [java]
       [ERROR]
 Errors in 'jar:file:/C:/Development/OFC2/stable/WebCon
tent/WEB-INF/lib/vaadin-6.5.0.pre2.jar!/com/vaadin/terminal/gwt/client/ui/VFilte
rSelect.java'
     [java]
          [ERROR]
 Line 1104: The method scheduleDeferred(Scheduler.Sc
heduledCommand) in the type Scheduler is not applicable for the arguments (new C
ommand(){})
     [java]
       [ERROR]
 Errors in 'jar:file:/C:/Development/OFC2/stable/WebCon
tent/WEB-INF/lib/vaadin-6.5.0.pre2.jar!/com/vaadin/terminal/gwt/client/ui/VTextA
rea.java'
     [java]
          [ERROR]
 Line 73: The method scheduleDeferred(Scheduler.Sche
duledCommand) in the type Scheduler is not applicable for the arguments (new Com
mand(){})
     [java]
       [ERROR]
 Errors in 'jar:file:/C:/Development/OFC2/stable/WebCon
tent/WEB-INF/lib/vaadin-6.5.0.pre2.jar!/com/vaadin/terminal/gwt/client/ui/VTree.
java'
     [java]
          [ERROR]
 Line 1517: The method scheduleDeferred(Scheduler.Sc
heduledCommand) in the type Scheduler is not applicable for the arguments (new C
ommand(){})
     [java]
          [ERROR]
 Line 1577: The method getCharCode() is undefined fo
r the type NativeEvent
     [java]
       [ERROR]
 Errors in 'jar:file:/C:/Development/OFC2/stable/WebCon
tent/WEB-INF/lib/vaadin-6.5.0.pre2.jar!/com/vaadin/terminal/gwt/client/ui/VTabsh
eet.java'
     [java]
          [ERROR]
 Line 353: The method scheduleDeferred(Scheduler.Sch
eduledCommand) in the type Scheduler is not applicable for the arguments (new Co
mmand(){})
     [java]
          [ERROR]
 Line 913: The method scheduleDeferred(Scheduler.Sch
eduledCommand) in the type Scheduler is not applicable for the arguments (new Co
mmand(){})
     [java]
       [ERROR]
 Errors in 'jar:file:/C:/Development/OFC2/stable/WebCon
tent/WEB-INF/lib/vaadin-6.5.0.pre2.jar!/com/vaadin/terminal/gwt/client/ui/VScrol
lTable.java'
     [java]
          [ERROR]
 Line 833: The method scheduleDeferred(Scheduler.Sch
eduledCommand) in the type Scheduler is not applicable for the arguments (new Co
mmand(){})
     [java]
          [ERROR]
 Line 1531: The method scheduleDeferred(Scheduler.Sc
heduledCommand) in the type Scheduler is not applicable for the arguments (new C
ommand(){})
     [java]
          [ERROR]
 Line 1566: The method scheduleDeferred(Scheduler.Sc
heduledCommand) in the type Scheduler is not applicable for the arguments (new C
ommand(){})
     [java]
          [ERROR]
 Line 1875: The method scheduleDeferred(Scheduler.Sc
heduledCommand) in the type Scheduler is not applicable for the arguments (new C
ommand(){})
     [java]
          [ERROR]
 Line 2794: The method scheduleDeferred(Scheduler.Sc
heduledCommand) in the type Scheduler is not applicable for the arguments (new C
ommand(){})
     [java]
          [ERROR]
 Line 4660: The method scheduleDeferred(Scheduler.Sc
heduledCommand) in the type Scheduler is not applicable for the arguments (new C
ommand(){})
     [java]
          [ERROR]
 Line 4777: The method scheduleDeferred(Scheduler.Sc
heduledCommand) in the type Scheduler is not applicable for the arguments (new C
ommand(){})
     [java]
          [ERROR]
 Line 4830: The method scheduleDeferred(Scheduler.Sc
heduledCommand) in the type Scheduler is not applicable for the arguments (new C
ommand(){})
     [java]
          [ERROR]
 Line 5443: The method getCharCode() is undefined fo
r the type NativeEvent
     [java]
       [ERROR]
 Errors in 'jar:file:/C:/Development/OFC2/stable/WebCon
tent/WEB-INF/lib/vaadin-6.5.0.pre2.jar!/com/vaadin/terminal/gwt/client/ui/VOptio
nGroup.java'
     [java]
          [ERROR]
 Line 194: The method scheduleDeferred(Scheduler.Sch
eduledCommand) in the type Scheduler is not applicable for the arguments (new Co
mmand(){})
     [java]
       [ERROR]
 Errors in 'jar:file:/C:/Development/OFC2/stable/WebCon
tent/WEB-INF/lib/vaadin-6.5.0.pre2.jar!/com/vaadin/terminal/gwt/client/VDebugCon
sole.java'
     [java]
          [ERROR]
 Line 27: The import com.google.gwt.event.shared.Umb
rellaException cannot be resolved
     [java]
          [ERROR]
 Line 462: Incompatible conditional operand types Th
rowable and UmbrellaException
     [java]
          [ERROR]
 Line 462: UmbrellaException cannot be resolved to a
 type
     [java]
          [ERROR]
 Line 463: UmbrellaException cannot be resolved to a
 type
     [java]
          [ERROR]
 Line 463: UmbrellaException cannot be resolved to a
 type
     [java]
          [ERROR]
 Line 474: Incompatible conditional operand types Th
rowable and UmbrellaException
     [java]
          [ERROR]
 Line 474: UmbrellaException cannot be resolved to a
 type
     [java]
          [ERROR]
 Line 475: UmbrellaException cannot be resolved to a
 type
     [java]
          [ERROR]
 Line 475: UmbrellaException cannot be resolved to a
 type
     [java]
       [ERROR]
 Errors in 'jar:file:/C:/Development/OFC2/stable/WebCon
tent/WEB-INF/lib/vaadin-6.5.0.pre2.jar!/com/vaadin/terminal/gwt/client/ui/VMenuB
ar.java'
     [java]
          [ERROR]
 Line 535: The method scheduleDeferred(Scheduler.Sch
eduledCommand) in the type Scheduler is not applicable for the arguments (Comman
d)
     [java]
          [ERROR]
 Line 640: The method scheduleDeferred(Scheduler.Sch
eduledCommand) in the type Scheduler is not applicable for the arguments (new Co
mmand(){})
     [java]
       [ERROR]
 Errors in 'jar:file:/C:/Development/OFC2/stable/WebCon
tent/WEB-INF/lib/vaadin-6.5.0.pre2.jar!/com/vaadin/terminal/gwt/client/Applicati
onConnection.java'
     [java]
          [ERROR]
 Line 653: The method scheduleDeferred(Scheduler.Sch
eduledCommand) in the type Scheduler is not applicable for the arguments (new Co
mmand(){})
     [java]
       [ERROR]
 Errors in 'jar:file:/C:/Development/OFC2/stable/WebCon
tent/WEB-INF/lib/vaadin-6.5.0.pre2.jar!/com/vaadin/terminal/gwt/client/ui/MenuBa
r.java'
     [java]
          [ERROR]
 Line 383: The method scheduleDeferred(Scheduler.Sch
eduledCommand) in the type Scheduler is not applicable for the arguments (Comman
d)
     [java]
       [ERROR]
 Errors in 'jar:file:/C:/Development/OFC2/stable/WebCon
tent/WEB-INF/lib/vaadin-6.5.0.pre2.jar!/com/vaadin/terminal/gwt/client/ui/VView.
java'
     [java]
          [ERROR]
 Line 243: The method scheduleDeferred(Scheduler.Sch
eduledCommand) in the type Scheduler is not applicable for the arguments (new Co
mmand(){})
     [java]
          [ERROR]
 Line 375: The method scheduleDeferred(Scheduler.Sch
eduledCommand) in the type Scheduler is not applicable for the arguments (new Co
mmand(){})
     [java]
          [ERROR]
 Line 436: The method scheduleDeferred(Scheduler.Sch
eduledCommand) in the type Scheduler is not applicable for the arguments (new Co
mmand(){})
     [java]
       [ERROR]
 Errors in 'jar:file:/C:/Development/OFC2/stable/WebCon
tent/WEB-INF/lib/vaadin-6.5.0.pre2.jar!/com/vaadin/terminal/gwt/client/ui/VCusto
mComponent.java'
     [java]
          [ERROR]
 Line 69: The method scheduleDeferred(Scheduler.Sche
duledCommand) in the type Scheduler is not applicable for the arguments (new Com
mand(){})
     [java]
    Finding entry point classes
     [java]
       [ERROR]
 Unable to find type 'com.vaadin.terminal.gwt.client.Ap
plicationConfiguration'
     [java]
          [ERROR]
 Hint: Previous compiler errors may have made this t
ype unavailable
     [java]
          [ERROR]
 Hint: Check the inheritance chain from your module;
 it may not be inheriting a required module or a module may not be adding its so
urce path entries properly

BUILD FAILED
C:\Development\OFC2\stable\build-widgetset.xml:159: Java returned: 1

Total time: 8 seconds

When I build with 6.4.8 (I get the following successful widget compilation):


C:\Development\OFC2\stable>ant -f build-widgetset.xml
Buildfile: C:\Development\OFC2\stable\build-widgetset.xml

configure:

init:
     [echo]
 Requirements for classpath:
     [echo]
   C:\Development\OFC2\stable\gwt/gwt-dev.jar
     [echo]
   C:\Development\OFC2\stable\gwt/gwt-user.jar
     [echo]
   C:\Development\OFC2\stable\WebContent/WEB-INF/lib/vaadin-6.4.8.jar

     [echo]
   C:\Development\OFC2\stable\WebContent/WEB-INF/src
     [echo]
 Output will be written into C:\Development\OFC2\stable\WebContent/VA
ADIN/widgetsets

compile-server-side:
    [javac]
 C:\Development\OFC2\stable\build-widgetset.xml:125: warning: 'includ
eantruntime' was not set, defaulting to build.sysclasspath=last; set to false fo
r repeatable builds

configure-widgetset:
     [echo]
 Modify this example Ant script to compile your own widget sets.

generate-widgetset:

compile-widgetset:
     [echo]
 Compiling com.cs.ofc2.widgetset.Ofc2Widgetset...
     [java]
 Compiling module com.cs.ofc2.widgetset.Ofc2Widgetset
     [java]
    Scanning for additional dependencies: jar:file:/C:/Development/OF
C2/stable/WebContent/WEB-INF/lib/vaadin-6.4.8.jar!/com/vaadin/terminal/gwt/clien
t/WidgetSet.java
     [java]
       Computing all possible rebind results for 'com.vaadin.terminal
.gwt.client.WidgetMap'
     [java]
          Rebinding com.vaadin.terminal.gwt.client.WidgetMap
     [java]
             Invoking com.google.gwt.dev.javac.StandardGeneratorConte
xt@b57ca1
     [java]
                Detecting Vaadin components in classpath to generate
WidgetMapImpl.java ...
     [java]
                [WARN]
 Widget class com.example.ofc2.widgetset.client
.ui.VOFC_poller was not found. The component com.example.ofc2.OFC_poller will no
t be included in the widgetset.
     [java]
                [WARN]
 Widget class org.vaadin.henrik.superimmediatet
extfield.client.ui.VSuperImmediateTextField was not found. The component org.vaa
din.henrik.superimmediatetextfield.SuperImmediateTextField will not be included
in the widgetset.
     [java]
                [WARN]
 Widget class com.example.ofc2.widgetset.client
.ui.VOFC2 was not found. The component com.example.ofc2.OFC2 will not be include
d in the widgetset.
     [java]
                [WARN]
 Widget class com.example.ofc2.widgetset.client
.ui.VRefresher was not found. The component com.example.ofc2.Refresher will not
be included in the widgetset.
     [java]
                Widget set will contain implementations for following
 components:
     [java]
                     com.cs.ofc2.OFC2
     [java]
                     com.cs.ofc2.Refresher
     [java]
                     com.cs.ofc2.SuperImmediateTextField
     [java]
                     com.vaadin.ui.AbsoluteLayout
     [java]
                     com.vaadin.ui.Accordion
     [java]
                     com.vaadin.ui.Button
     [java]
                     com.vaadin.ui.CheckBox
     [java]
                     com.vaadin.ui.ComboBox
     [java]
                     com.vaadin.ui.CssLayout
     [java]
                     com.vaadin.ui.CustomComponent
     [java]
                     com.vaadin.ui.CustomLayout
     [java]
                     com.vaadin.ui.DateField
     [java]
                     com.vaadin.ui.DragAndDropWrapper
     [java]
                     com.vaadin.ui.Embedded
     [java]
                     com.vaadin.ui.Form
     [java]
                     com.vaadin.ui.FormLayout
     [java]
                     com.vaadin.ui.GridLayout
     [java]
                     com.vaadin.ui.HorizontalLayout
     [java]
                     com.vaadin.ui.HorizontalSplitPanel
     [java]
                     com.vaadin.ui.Label
     [java]
                     com.vaadin.ui.Link
     [java]
                     com.vaadin.ui.ListSelect
     [java]
                     com.vaadin.ui.MenuBar
     [java]
                     com.vaadin.ui.NativeButton
     [java]
                     com.vaadin.ui.NativeSelect
     [java]
                     com.vaadin.ui.OptionGroup
     [java]
                     com.vaadin.ui.OrderedLayout
     [java]
                     com.vaadin.ui.Panel
     [java]
                     com.vaadin.ui.PasswordField
     [java]
                     com.vaadin.ui.PopupView
     [java]
                     com.vaadin.ui.ProgressIndicator
     [java]
                     com.vaadin.ui.RichTextArea
     [java]
                     com.vaadin.ui.Select
     [java]
                     com.vaadin.ui.Slider
     [java]
                     com.vaadin.ui.SplitPanel
     [java]
                     com.vaadin.ui.TabSheet
     [java]
                     com.vaadin.ui.Table
     [java]
                     com.vaadin.ui.TextArea
     [java]
                     com.vaadin.ui.TextField
     [java]
                     com.vaadin.ui.Tree
     [java]
                     com.vaadin.ui.TwinColSelect
     [java]
                     com.vaadin.ui.Upload
     [java]
                     com.vaadin.ui.UriFragmentUtility
     [java]
                     com.vaadin.ui.VerticalLayout
     [java]
                     com.vaadin.ui.VerticalSplitPanel
     [java]
                     com.vaadin.ui.Window
     [java]
                Done. (1seconds)
     [java]
    Scanning for additional dependencies: jar:file:/C:/Development/OF
C2/stable/WebContent/WEB-INF/lib/vaadin-6.4.8.jar!/com/vaadin/terminal/gwt/clien
t/ui/dd/VAcceptCriteria.java
     [java]
       Computing all possible rebind results for 'com.vaadin.terminal
.gwt.client.ui.dd.VAcceptCriterionFactory'
     [java]
          Rebinding com.vaadin.terminal.gwt.client.ui.dd.VAcceptCrite
rionFactory
     [java]
             Invoking com.google.gwt.dev.javac.StandardGeneratorConte
xt@b57ca1
     [java]
                Detecting available criteria ...
     [java]
                creating mapping for com.vaadin.event.dd.acceptcriter
ia.SourceIs
     [java]
                creating mapping for com.vaadin.ui.AbstractSelect.Acc
eptItem
     [java]
                creating mapping for com.vaadin.event.dd.acceptcriter
ia.Or
     [java]
                creating mapping for com.vaadin.ui.Table.TableDropCri
terion
     [java]
                creating mapping for com.vaadin.ui.Tree.TreeDropCrite
rion
     [java]
                creating mapping for com.vaadin.event.dd.acceptcriter
ia.SourceIsTarget
     [java]
                creating mapping for com.vaadin.ui.AbstractSelect.Tar
getItemIs
     [java]
                creating mapping for com.vaadin.ui.Tree.TargetInSubtr
ee
     [java]
                creating mapping for com.vaadin.event.dd.acceptcriter
ia.AcceptAll
     [java]
                creating mapping for com.vaadin.event.dd.acceptcriter
ia.ServerSideCriterion
     [java]
                creating mapping for com.vaadin.event.dd.acceptcriter
ia.TargetDetailIs
     [java]
                creating mapping for com.vaadin.event.dd.acceptcriter
ia.And
     [java]
                creating mapping for com.vaadin.event.dd.acceptcriter
ia.Not
     [java]
                creating mapping for com.vaadin.event.dd.acceptcriter
ia.ContainsDataFlavor
     [java]
                Done. (0seconds)
     [java]
    Compiling 6 permutations
     [java]
       Compiling permutation 0...
     [java]
       Compiling permutation 1...
     [java]
       Compiling permutation 2...
     [java]
       Compiling permutation 3...
     [java]
       Compiling permutation 4...
     [java]
       Compiling permutation 5...
     [java]
    Compile of permutations succeeded
     [java]
 Linking into C:\Development\OFC2\stable\WebContent\VAADIN\widgetsets
\com.cs.ofc2.widgetset.Ofc2Widgetset.
     [java]
    Link succeeded
     [java]
    Compilation succeeded -- 112.988s

BUILD SUCCESSFUL
Total time: 1 minute 55 seconds

I reviewed the release notes for 6.5.0 but could not find anything related to widgets that would affect me.

Please let me know how I should proceed so that I could move forward with the 6.5.0 builds and hopefully take advantage of any fixes that have been put in that could resolve my original z-order issue.

Thanks,
Ajay

Hi,

Check that you have your GWT version in par with Vaadin. With 6.5 you should use GWT 2.1. Our plugin should take care of this automatically, but if you are building with ant script you probably need to take care of this manually.

cheers,
matti

Matti,

I upgraded to GWT2.1 and compiled successfully. I used the last nightly build and the z-order issue looks to be resolved however I thought it would be useful to show you how the final result looks:

For my purposes, the current state of things are sufficient. But you’ll notice that the shadowed borders are not rendered over the Flash control (and maybe this is not possible). I thought I’d let you know in case this is something that could be resolved.

Thanks,
Ajay

Matti,

Unfortunately after more testing (I am using 6.5.0), I’ve realized that now FF works fine but unfortunately IE8 and Chrome9 no longer work.

I just upgraded to the nightly build of vaadin-6.5.1.nightly-20110210-c17255.jar and it’s exhibiting the same issue.

This is IE8:

This is Chrome9:

Please help.

Thanks,
Ajay

Hi,

I’d bet you are not using Embedded but still attaching flash manually into a label in XHTML mode. At least I can’t reproduce the issue in sampler anymore.

I think we can’t add a hook to Vaadin label to magically add the infamous wmode hook into labels that contain a flash tags. So if you can’t use Embedded, add to your object tag and wmode=“transparent” parameter to embed tag. That should solve the issue. Google wmode+flash and you’ll find dozens of pages describing the issue.

cheers,
matti