Dynamic Gwt Module embed leads to blank page (onInjectionDone)

2010-11-08 Thread Sandler
Hi, im trying to dynamically embed a gwt module into an jquery
application. In this application i have pages which contain gwt
modules. In such an page, i simply add the gwt container div, the
script (nocache.js) and the css tag to the html body code. The problem
is, when i do that this way, the page gets loaded and disappears after
the gwt module was loaded.
Than i just get a blank page, with this script inside:
andorialowlevelanimations.onInjectionDone('andorialowlevelanimations')

When i add the script tag and the div id to the main startpage, inside
the head, (where jquery and other scripts get loaded) everything works
fine. Can anybody tell me why this happens?

Greets and thanks, ah and sorry for my english :)

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Eclipse, JSNI and Alt+Shift+F

2010-10-08 Thread Sandler
Hi, im not quite sure what i did, but native methods with a jsni block
get handled like normal comments. This looks really terrible when i
try to format the classes. Is there any way to get rid of that? Don´t
want to reinstall eclipse. Code Style -> Formatter helped nothing.

Please help!! ^^

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



2 Questions: getOffsetHeight ignores margin && CssRe source doesn´t include css property

2010-10-05 Thread Sandler
Hi guys, i´ve got 2 questions.
I´m using getOffsetHeight to get the height of an Widget. This works
fine, but when i adding a css margin to the widget, the css-property
seems to be ignored. The doc says: "This is the total width of the
object, including decorations such as border, margin, and padding". Is
this an bug?

The next thing i would like to know is, if its possible to use none
WC3 valid css-properties like: "background: -moz-linear-gradient(top,
white 0%, skyblue  75%);" inside a ClientBundle, CssResource CssFile.
Is there an config property to allow such css? Im using this for an
private Project and it would be annoying if this was not possible.

Greets from Austria,
Six Michael

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



data exchange from gwt to flash and back

2009-05-26 Thread Sandler

hi im creating a browsergame together with a friend.
at the beginning we decided to do the animations for the fightsystem
(like old school rpgs) in gwt per javascript, but after a closer look
for manipulating images per javascript we decided to animate the
fights via flash for a smoother animation.
The input should still be done by gwt, the server calculates
everything and sends the data back to the client, where gwt parses the
data to flash and flash starts to animate.
shortly^^: gwt input -> server -> gwt -> flash -> animation -> yeah

unfortunately i dont know how i can manage this the best way. i found
the project http://code.google.com/p/gwt-fabridge/ which seems to be
exactly what i needed.
but im not 100% sure, so have you guys any tips or experience for
combining gwt and flash?

greets Sandler!

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---