Yep, you will need to do some refactoring and remove any GWT component from where you’re using SmartGWT.
In other words: don’t mix GWT and SmartGWT components.
We’ve worked around using a timer, putting a loading dialog for 5secs and clicking in one of the components that reloads/refresh SmartGWT. It worked for us but we’re looking to move to the proper solution soon.
If I only knew that from the beginning..
As far as I know it can, but it just a set of SmartGWT components that can work with GWT.
However, this is not a recommended approach.
I wish it was that easy.
I can just repeat what Isomorphic said: “don’t mix GWT and SmartGWT components.”
To be honest we’re looking into ways to reduce to the minimum our dependency on SmartGWT components.
You pretty much will need now to decide between GWT and SmartGWT.
After a long time 1 and half day,i got the solution for this error
In my project,also the same error is coming,i think that some error in my code,but now i understand its due to mixing of gwt and smartgwt
In my code,i created an absolutepanel(gwt component) and am adding VLayout(smartgwt) extended custom class to it.thats the problem.
Really thankful for this thread..
but i have a doubt,actually smartgwt is extended component of gwt,so y it is not compatible in smartgwt???
Also I more doubt,is there any substitute for absolutepanel(in GWT) to smartgwt ???
Glad to hear that this thread helped and you have solved your problem.
I had a look in the SmartGWT code and it extends GWT just so it can be compiled and used in the GWT entry points.
Besides, the classes have no coding at all, its just a wrapper that makes a bunch of JavaScript calls to SmartClient JS.
Am xtremely thankful for clearing my doubts also..
Then , for absolutepanel,there is no substitute..
actually i started my project in gwt and place the components absolutely..later i extended to smartgwt,but i dnt thnk there will be problem in mixing.so i had done that.but later am xtemely fed up with that error issue..but later on a search is made and this thread help me to correct me as well.
now i changed the code fully to smartgwt components and now no problem
as i want to place components absolutely in that,i ask the question for the substitute of absolutepanel,later i didnt get ..still i place the components in Layout class and positioning made by layout margins .