may i know how to cast JavascriptObject get from JSNI into gwt as gwt
CUstomWidget
CustomWiget widget = (CustomWidget) javascriptObjectFromJSNI; //doesnt
work
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send
This is what I do
@UiField
Hyperlink imageLink;
...
String imgStr=img src='+url+'/;
imageLink.setHTML(imgStr);
Andrey
On Jan 15, 4:25 pm, zixzigma zixzi...@gmail.com wrote:
g:InlineHyperLink, g:HyperLink and g:Anchor cannot contain an element
if I'm correct.
do you know how we can then
I've been toying with Maps Api v3 and markerclusterer and run into a
strange constellation with the following setup:
IE 8 (64 bit) both hosted and production mode, GWT 2.1.1
Markercluster apparently does something to the Map, so that the map
cannot be operated upon immediately when running IE8,
It is probably triggering window.onerror in IE. See gwt-log's setErrorHandler
method in the class below if you'd like to register a handler for it in GWT.
http://code.google.com/p/gwt-log/source/browse/trunk/Log/src/com/allen_sauer/gwt/log/client/impl/LogImplBase.java
On Sun, Jan 16, 2011 at
did you find any solution to this problem?
On Dec 7 2010, 12:50 pm, metalhammer29a metalhammer...@gmail.com
wrote:
I have the same problem : (
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to
Hello,
im thinking about how to handle user-sessions.
As i can remember there is the possibility to use HTTPSession
(Servlet).
Is this recommendable? Or is it a better idea to use an own solution?
Im thinking about storing the session-id in a NoSQL database named
redis.
The session id will be
Not sure if Message can be an abstract class and can implement Serializable.
--
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
How do you add nodes in the first place?
If you use TreeModel's AbstractNodeInfo, then you pass AbstractDataProvider
to the AbstractNodeInfo's constructor. You can call updateRowCount()
and updateRowData() on the data provider to add more nodes.
--
You received this message because you are
Yeah, that makes sense. And this is only client side anyway. But I
have tried with and without the Serializable implementation and get
the same result. Do I somehow need to convert the string to a JSON
object before passing it to eval()?
--
You received this message because you are subscribed
See
http://code.google.com/webtoolkit/doc/latest/DevGuideCompilingAndDebugging.html#What_options_can_be_passed_to_development_mode
(hint:
-gen), and same for the compiler.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this
On Sunday, January 16, 2011 8:47:12 AM UTC+1, agi wrote:
@Thomas I was thinking about using all those new 2.1 classes like
UserInformation etc... but I have read that in gwt 2.1.1 some classes
used to support some simple authentication will be deleted ( or
already are), as mentioned
as far as I know jdbc connection is not allowed when deployed to the
cloud/appengine.google.com.
all you could do if you want to use your own database server would be
to implement a service on your DB Server to provide the data in json
or XML. and in your application to parse that data.
i hope my
IIRC, eval()-ing a literal object will throw because the braces are seen
as opening a block of code, and not an object literal; that's why most uses
of eval() for JSON parsing enclose the string within parens.
But really, you should use com.google.gwt.core.client.JsonUtils instead,
which takes
Thank you Thomas. You are, as always, extremely helpful!
Regards,
Joe
--
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
Thank You,
do you know if its possible to use GWT Image type with your
approach ?
in other words, the image itself is not coming from a URL, it is a GWT
Image object.
http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/ui/Image.html
On Jan 16, 6:03 am, ailinykh
to clarify, the Image is coming from ImageSource in ClientBundle.
public interface Resources extends ClientBundle {
@Source(icon.png)
ImageResource icon();
}
then in Java code backing UiBinder
Resources res;
Image image = new Image(res.icon());
On Jan 16, 11:30 am, zixzigma
Use AbstractImagePrototype.create(res.icon()).getHTML() instead of an Image
widget.
--
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,
wow this is good, thanks for the link, I should check teh repository
more often
On Jan 15, 12:27 am, Thomas Broyer t.bro...@gmail.com wrote:
Have a look at how the Expenses sample uses Google AppEngine's UserService
to authenticate users with
I used Image#getUrl() and it just worked !!!
Thank You very much,
I had seen many solutions,
and yours by far was the cleanest, simplest decent one.
Thank You !
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send
On Sunday, January 16, 2011 8:59:28 PM UTC+1, zixzigma wrote:
I used Image#getUrl() and it just worked !!!
Make sure to test in IE6/7 !
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to
Thomas is absolutely right about JsonUtils. In addition you may
consider JsonpRequestBuilder if you are planing to use JSON services
Regarding this particular example, I have some old code that uses plain
eval(): it works, but I don't use quotes around field names (*type* and *
timeleft*).
--
Thank You Thomas : )
I was so excited I forgot.
--
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
Hello,
I would like to display the tab header more on the right. Currently they are
fixed on the left side with a css attribute left that is set to 0.
The code that is generated by GWT is the following :
div class=gwt-TabLayoutPanelTabs style=left: 0px; right: 0px; bottom:
0px;
inside this,
This recent discussion may help
https://groups.google.com/forum/?fromgroups#!topic/google-web-toolkit/c1zlxMRD4gM
--
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
I had that error once after renaming one of my modules. I found out both the
old and new module where still in my war directory. Try deleting the modules
(and other compiled files) and re-compiling GWT. You'll then see which
modules are generated and thus which modules are configured correctly.
Hi David,
Any update on the documentation?
ServiceLayerDecorators are a hook to support advanced customization
of
RequestFactory like hooking in Spring as a Locator locator, but are
not
required to use RequestFactory. Thanks for your questions--I'll make
sure
they're answered in the forthcoming
Thanks, I´ll try both methods
Frank
--
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
is there a UiBinder equivalent for ImageResource ?
we have this g:Image resource= /
but this is of type Image, not ImageResource.
is it possible to get use ImageResource in UiBinder ?
for example use a variablel in place of resource attribute ?
in ui.xml
g:Image resource=varX/
in .java
If your widgets are adding event handlers to the event bus (SimpleEventBus,
for example) then they would 'probably' need to clean themselves up at some
point by removing the handlers. When they should do this is really specific
to the life-cycle of your widgets. If they are singletons with an
ui:image ? (and there's ui:data for DataResource-s)
http://code.google.com/webtoolkit/doc/latest/DevGuideUiBinder.html#Hello_Stylish_World
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to
Yes, there is:
ui:with field='res' type='com.me.client.MyResources' /
The above's type points to your resource budle.
Then:
g:Image resource={res.myimage} /
The above, res is the field name defined in with. myimage is some image
resource defined in you resource bundle. It is now typesafe and
I meant to say ClientBundle, not ResourceBundle.
On Sun, Jan 16, 2011 at 7:27 PM, Jeff Schwartz jefftschwa...@gmail.comwrote:
Yes, there is:
ui:with field='res' type='com.me.client.MyResources' /
The above's type points to your resource budle.
Then:
g:Image resource={res.myimage} /
BTW handlers can also ignore events while unattached. Lot of choices here.
On Sun, Jan 16, 2011 at 7:18 PM, Jeff Schwartz jefftschwa...@gmail.comwrote:
If your widgets are adding event handlers to the event bus (SimpleEventBus,
for example) then they would 'probably' need to clean themselves
is it possible to create a custom widget in UiBinder that can contain
unknown number of child elements ?
similar to FlowPanel and HTMLPanel.
for example, how to create a MyContainer, that can contain One or More
Hyperlinks ?
my:MyContainer
g;HyperLink ui:field=a /
g;HyperLink ui:field=b /
public class MyContainer extends Composite {
}
MyContainer.ui.xml
g:FlowPanel
/g:FlowPanel
--
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
public class MyContainer extends Composite {
}
MyContainer.ui.xml
g:FlowPanel
g:FlowPanel ui:field=list/
/g:FlowPanel
I want to use this MyContainer as I described in previous post.
I want to get hold of all those child links, and add them to the inner
FlowPanel (ui:fiel=list)
is it
Has anyone experienced an issue where code splitting has actually
increased the size of their application by a significant amount?
Before I introduced code splitting my application weighed in at around
109KB. While that' not gigantic considering there is logic for over 10
screens I thought that
hi Joao,
You might want to take a look at the questions posts in the Roo forum
(http://forum.springsource.org/forumdisplay.php?f=67) to decide for
yourself.
But form my limited experience with it so far on my testing project, I
would not want to plan on using Roo+GWT on real projects yet.
I spent some time on the locale translations.. there are 2 ways which I have
seen being adopted.
1. Create a constants class which has its associated property files. The
property files can be for each locale
2. If you are using UIBinder you can read up on the Internationalization for
UIBinder
thanks
--
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
http://gwt-code-reviews.appspot.com/1273801/show
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
http://gwt-code-reviews.appspot.com/1273801/diff/1/2
File user/src/com/google/gwt/user/client/rpc/CustomFieldSerializer.java
(right):
http://gwt-code-reviews.appspot.com/1273801/diff/1/2#newcode19
user/src/com/google/gwt/user/client/rpc/CustomFieldSerializer.java:19: *
An interface that may be
http://gwt-code-reviews.appspot.com/1288801/show
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
43 matches
Mail list logo