gslender / ofcgwt

Automatically exported from code.google.com/p/ofcgwt
0 stars 0 forks source link

GWT2SWF & OFCGWT conflict #39

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Integrate GWT2SWF and OFCGWT in a same project adding widgets generated
by both classes in a same "page"

What is the expected output? What do you see instead?
I'd expect to see all flashes, instead only one or other is shown,
depending on its instantiation order.

What version of the product are you using? On what operating system?
Using last OFCGWT version 2.0.1-beta, tried to use 2.0.0-beta and was the
same issue happening.

Please provide any additional information below.
I found out the problem, both OFCGWT and GWT2SWF use the same prefix to
name layers which are created dynamically.

I'm attaching a patch that solves the issue providing a new constructor for
chartWidget class allowing to pass in the layer and flash prefixes.

Original issue reported on code.google.com by iagoto...@gmail.com on 23 Apr 2009 at 11:27

Attachments: