smartGWT components as private members of a class
Closed this issue · 4 comments
GoogleCodeExporter commented
What steps will reproduce the problem?
1.SmartGWT Component as a private variable in class which implements reflection
class x implements Reflection{
private IButton button;
}
will not compile from java to javascript
2.
3.
What is the expected output? What do you see instead?
When widgets are placed as private members compilation has no errors.
returning new IButton(); works
using IButton in a function works
using IButton as a function parameter does NOT
What version of the product are you using? On what operating system?
latest, xp
Please provide any additional information below.
Thank you
Original issue reported on code.google.com by lama.gh...@gmail.com
on 23 Aug 2010 at 1:26
GoogleCodeExporter commented
Hi, Lama, could you try annotation "@Reflect_Full" instead of implements
"Reflection" interface? Thanks.
If not compile, would you please send me the error information? Thanks.
James
Original comment by JamesLuo...@gmail.com
on 23 Aug 2010 at 11:23
- Changed state: Accepted
GoogleCodeExporter commented
Thank you, it is working now.
I have a question, though. What is the difference between implementing
reflection and the annotation @Reflect_Full. Thank you
Original comment by lama.gh...@gmail.com
on 24 Aug 2010 at 7:15
GoogleCodeExporter commented
Hi, Lama, There is no much difference, but I think there is a small bug in
"reflection" interface.
I will close this issue , thanks.
Original comment by JamesLuo...@gmail.com
on 24 Aug 2010 at 11:48
- Changed state: Done
GoogleCodeExporter commented
Can you please see the other post.
http://code.google.com/p/gwt-ent/issues/detail?id=27
I posted my error. Its still not working
Original comment by lama.gh...@gmail.com
on 24 Aug 2010 at 1:07