the following might help:
http://groups.google.se/group/Google-Web-Toolkit/browse_thread/thread/ff70962396ab8ab6/2b1840cd8f7606ca?hl=sv&lnk=gst#2b1840cd8f7606ca
//Adam
On 22 Maj, 09:58, Richard Kennard
wrote:
> Hi guys,
>
> In GWT 1.5 and earlier, I have been unit testing my clic
c/1.6/RefJreEmulation.html
(You'll see under java.lang.String that getBytes() is not listed, so
it's not available in GWT).
Hope that explains/helps
//Adam
On 19 Maj, 00:21, vijay wrote:
> Hi All,
> I am getting a error
>
> *getbytes*() *is undefined for the type string*
>
> th
some approaches and points down on "paper" that will hopefully
help someone else in the future.
//Adam
On 15 Maj, 13:11, Alyxandor wrote:
> Ok, seriously, I'm here, trying to help, and you keep giving me
> terrible ratings for it?
>
> ...SHALLOW!
>
> Oh, and please
ate a click event in that document, e.g. NativeEvent evt =
doc.createClickEvent(0, 0, 0, 0, 0, false, false, false, false); (you
can read the JavaDoc to see all the arguments' meanings)
c) Fire that event on your Button, i.e. DomEvent.fireNativeEvent(evt,
button);
Hope that helps,
Adam
O
>From a GWT perspecive, they're equivalent:
http://code.google.com/p/google-web-toolkit/issues/detail?id=21
http://code.google.com/p/google-web-toolkit/issues/detail?id=21&#c19
http://code.google.com/p/google-web-toolkit/issues/detail?id=933&#c2
//Adam
On 12 Maj, 06:35, jagade
te up here:
http://timepedia.blogspot.com/2009/04/gwts-type-system-is-more-powerful-than.html
//Adam
On 11 Maj, 15:02, Antoine wrote:
> Hello.
>
> I’m currently playing with GWT and there is something I don’t
> understand: why do you use private classes and not enumeration. Fo
a's native interface syntax, hence by extension the
Javascript becomes "native" code in the eyes of the compiler.
//Adam
On 8 Maj, 03:21, Blessed Geek wrote:
> Really, I don't understand why callback is needed.
>
> The article and another
> articlehttp:/
Sudhir - why not post this idea to the GWT contributors forum as well
- you might get some detailed answers/comments from there (http://
groups.google.se/group/Google-Web-Toolkit-Contributors).
//Adam
On 6 Maj, 18:56, Sudhir wrote:
> I've made horizontal and vertical flow panels and
Window.getTitle() should get it for you.
//Adam
On 5 Maj, 19:32, surfi2000 wrote:
> Hi,
>
> Is it possible to get the title of a website that the user is
> currently on?
>
> For example, if in the html code the following is said First title> gwt will give me a variable
n them, then the gwt-
connectors library looks like it could be a good fit for you.
You can see the gwt-connectors library here:
http://code.google.com/p/gwt-connectors/
and an example of it in action here:
http://www.aurea-bpm.com/gwt-connectors/Example.html).
Hope that's of some help!
//Adam
> Hi Adam
>
> Please be patience while I try my best to describe the problem :-)
>
> Here is my code:
>
> public void onModuleLoad() {
>
> // create a label for header and apply a background color
> Label header = new Label("Header");
> header.a
y pending event handlers
have completed" it's really based on timers rather than hooking into
the browser event queue and checking all is done before firing your
command - that said, it works.
Hope that gives you a bit more info.
//Adam
On 3 Maj, 02:00, Stephen Cagle wrote:
> First of all
Cell cellForEvent =
fTable.getCellForEvent(event);
int row = cellForEvent.getRowIndex();
}
});
//Adam
On 1 Maj, 22:26, dk wrote:
> Hi,
>
> I am ttying out 1.6.4 for the first time with a simple
have you tried the GWT drag'n'drop library? Here's an example using
FlexTable which sounds like what you are after:
http://allen-sauer.com/com.allen_sauer.gwt.dnd.demo.DragDropDemo/DragDropDemo.html#FlexTableRowExample
...and a link to the library: http://code.google.com/p/gwt-d
give you nice edges).
//Adam
On 2 Maj, 05:08, hezjing wrote:
> Hi
>
> I want to create a rounded corner panel which has a header and footer,
> similar to the one shown onhttp://www.ebay.com/
> Thanks to the community, I got the customized rounded corners on the
> DecoratorPanel
everything and you should get more
consistent answers.
//Adam
On 2 Maj, 01:12, Stephen Cagle wrote:
> I have a Composite widget within which I have overridden the onResize
> () method. Some of the element widgets of this widget position
> themselves relative to other widgets. That is to
padding etc to get the separation between words as
you want.
//Adam
On 1 Maj, 12:12, hezjing wrote:
> Hi
>
> I want to create a menu contains hyperlinks, and looks like "About us |
> Register | Login".
>
> Here is my code:
>
> Hyperlink about = new Hype
perhaps BlurEvent and BlurHandler are what you're looking for?
//Adam
On 1 Maj, 16:02, H Hale wrote:
> The FocusHandler method onFocus only gets called when the widget gets
> focus. What about lost focus events?
> Shouldn't there be a method like FocusListener#onLostFo
- a constructor runs
on completion of the DOM loading.", so above would appear to be true -
perhaps you can find a way to call the initialize() code through JSNI
once you are done with your GWT code inserting DOM elements?
//Adam
On 28 Apr, 13:24, "frank.wyna...@gmail.com"
wrote:
&g
Hej Arun,
I believe everything you need is in my first post.
//Adam
On 28 Apr, 06:27, Arun wrote:
> Hi Adam,
>
> I would looking for similar solution, Could you please show here how
> to do it?
>
> It would be a great help.
>
> Arun.
>
> On Apr 26, 11:19 am,
compatible?
http://groups.google.se/group/Google-Web-Toolkit-Contributors?hl=sv
You should check that there's no other similar defect first (e.g.
perhaps
http://code.google.com/p/google-web-toolkit/issues/detail?id=2793&q=JsArray).
//Adam
On 26 Apr, 04:53, Blessed Geek wrote:
> I am w
d when you create an
application, in your html code fr history to work in some browsers)
Hope that helps in some way!
//Adam
On 25 Apr, 21:10, mrfreeze81 wrote:
> Hi,
> I'm implementing a code using GWT. I want to implement history using
> ValueChangeHandler. This is a feature in
2 AbsolutePanels with your content in, and then change their x and y
positioning over time on the RootPanel would be one basic approach.
//Adam
On 25 Apr, 10:51, hezjing wrote:
> Hi
> I was trying <http://taskengine.appspot.com/>http://taskengine.appspot.com/
>
> When click
if the images are definitely called 1.gif, 2.gif, 3.gif. why not
just send the next requested number as part of the RPC call and keep
an pointer of where you are in your client side?
//Adam
On 23 Apr, 19:48, raghu prashanth k b wrote:
> hi,
> I have a folder which has few collect
Not really an answer to your question but just to let you know you're
not alone, I also get this (on Mac) every time with GWT 1.6 - though
I've been happily ignoring it and seen no side effects. Would be
interesting to know why though.
//Adam
On 24 Apr, 00:21, davidroe wrote:
>
m which it came.
So in your case, if your GWT application is served from
hellworld.appspot.com your would be ok, if not, then you can't.
//Adam
On 24 Apr, 04:41, satish wrote:
> I am using GWT plugin for eclipse and trying to build an test
> application to be deployed on app engine. I
com/p/
google-web-toolkit-doc-1-5/wiki/
DevGuideDynamicStringInternationalization)
//Adam
On 23 Apr, 19:49, Dobes wrote:
> I'm considering translating my app, but I realized that it currently
> takes 12 minutes for GWT to compile the application - thus, for five
> languages would
'd go through the server which
connects.
Hope that helps.
//Adam
On 21 Apr, 15:34, Jonathan Kushner wrote:
> Hi there! I'm sure this is a pretty naive question, but is there a list
> somewhere of what java objects I can ( or cannot ) use? I tried creating a
> connection to a
our PHP call is only being made to "localhost" then
maybe you could add some more logging code to your catch statement of
the try/catch block surrounding the request builder to see what is
happening.
//Adam
On 10 Apr, 18:43, "scottland.yo...@googlemail.com"
wrote:
> Hi
o the old approach before switching to
the new one)
Hope that helps, at least a bit!
//Adam
On 10 Apr, 14:46, Joe Hudson wrote:
> hello,
>
> I know this is a silly question but I haven't found a reference to
> this...
>
> If I have links within the html document but outside o
window.alert("You are trying to use an incorrect
production status value: ."+badValue);
}
}
//Adam
On 11 Apr, 06:51, Vitali Lovich wrote:
> On Sat, Apr 11, 2009 at 12:50 AM, Vitali Lovich wrote:
> > Nope. In fact, it's even more po
wall is to start breaking up the code.
Adam
On Mar 31, 9:19 am, Chris wrote:
> Adam/Anyone?
>
> We are thinking of moving to trunk for theRunAsyncfeature. What has
> been your experience with the quality/stability of the current trunk?
>
> Is your application in a productio
loaded:
Image theImg = new Image("someimage.png");
theImg.addLoadHandler(new LoadHandler(){
public onLoad(LoadEvent event){
GWT.log("Image loaded",null);
}
});
//Adam
On 1 Apr, 08:23, jagadesh wrote:
> hi guys ,
>
> what is the use of load listener and
rather than run the compile command, and I use the old GWT
hosted mode command rather than the new 1.6 one).
Maybe you've a bunch of cyclic references in your RunAsync call - so
far I've found it best using the pattern on the doc page I linked to.
//Adam
On 31 Mar, 10:53, Ghostcoder
ating when your download doesn't
split as you expect (I've not got the SOYC tool the article mentions
up and running yet). Still, the results are pretty impressive.
//Adam
On 30 Mar, 20:35, Ghostcoder wrote:
> My application is very huge and the HTML file with script is huge ,so
>
#Home token and treat the empty
history token as if the token in the url was #Home (which I think is
what Thomas is saying?), then you avoid the "lock-in" although you
don't explicitly show the user they are "home".
//Adam
On 30 Mar, 13:47, Ian Bambury wrote:
> Hi
You need to access injected scripts through the $wnd variable (http://
code.google.com/docreader/#p=google-web-toolkit-doc-1-5&s=google-web-
toolkit-doc-1-5&t=DevGuideJavaScriptFromJava) - maybe
$wnd.google.language.translate(text, from, to, function(result) would
work for you.
//Adam
O
gth() != 0) {
onHistoryChanged(token);
} else {
History.newItem(HIS_INTRO, true);
}
(where HIS_INTRO is the constant for "intro").
If you're not trying to hook into gwt's history then it's probably not
much use.
//Adam
On 29 Mar,
tween Firefox and others, so I can't see why it doesn't
work.
If you're using it for GWT history, you could alternatively set #Home
as the token when you initialise that subsystem.
//Adam
On 28 Mar, 19:28, Ian Bambury wrote:
> But it's OK in IE and FF
> Any idea
lso need make sure you cope with the new Flash 10 security
restriction (must click on the flash movie to open the file select
rather than before, where you could click on a GWT component and send
that click to the flash movie).
//Adam
On 16 Mar, 06:51, "vaibhav.saxena" wrote:
> Hi,
&
It's not production ready yet, so you need to check out the
contributor's group for information, For example:
http://groups.google.se/group/Google-Web-Toolkit-Contributors/browse_thread/thread/25e55e844d35747e/1e0143674eafdb16?hl=sv#1e0143674eafdb16
//Adam
On 7 Mar, 22:37, Jean w
nd similar, for example
http://code.google.com/p/google-web-toolkit/issues/detail?id=1532&can=1&q=access%20violation%20IE,
but again, that is hosted mode not web mode (and seems not
reproducable).
//Adam
On 15 Feb, 08:46, GWTFan wrote:
> We have developed a fairly large scale application us
Timer to schedule(delay) step
through each image by changing it's setVisible(boolean) method to show
and hide each image in turn.
//Adam
On 9 Feb, 16:48, ytbryan wrote:
> hi all,
>
> i wanna create animation using gwt. can gwt do
> thishttp://designerwiz.com/roberto/flying_butte
odule XML definition, and for web mode you'll need to add an
entry to your servers web.xml file in the normal way.
//Adam
On 9 Feb, 22:13, shgwh wrote:
> So actually i'm trying to upload a file by gwt
> functions:
> protected String readContent(HttpServletRequest request)
>
, e.g.
http://www.google.com/search?ie=UTF-8&oe=UTF-8&sourceid=navclient&gfns=1&q=gwt+image+rotation
//Adam
On 10 Feb, 07:11, vruddhi shah wrote:
> Hi,
>
> How to rotate image using GWT?
> --
> Vruddhi Shah
> Pyther Innovations Pvt. Ltd.
> Land line: 91 78 4
u
don't need to reimplement the wheel.
//Adam
On 9 Feb, 07:08, Amir Michail wrote:
> On Sun, Feb 8, 2009 at 10:02 PM, Adam T wrote:
>
> > just try using the gwt drag n drop library which has solved all these
> > "problems":http://code.google.com/p/gwt-dnd/
>
>
just try using the gwt drag n drop library which has solved all these
"problems": http://code.google.com/p/gwt-dnd/
//Adam
On 8 Feb, 23:26, Amir Michail wrote:
> On Sun, Feb 8, 2009 at 2:18 PM, Dan Ox wrote:
>
> > I think that rather than trying to change
(elem);
}-*/;
if you have direct code, perhaps just add the code as a child to the
"elem" created, i.e. elem.text = "alert('Hello')"; and ignore the
setAttribute("src", url) line??
//Adam
On 4 Feb, 11:11, sgaide wrote:
> Hi,
>
> I'm lookin
o somthing else.
//Adam
On 27 Jan, 12:45, Fred Janon wrote:
> I just tried StringBuilder and StringBuffer, they seem to perform the same,
> I doubt that in the JS environment there is a reason for a difference
> between the 2 since JS is single threaded. The huge difference between
>
Consider using StringBuilder:
http://code.google.com/p/google-web-toolkit/issues/detail?id=945&q=string%20concat
//Adam
On 27 Jan, 06:34, Fred Janon wrote:
> Hi,
>
> I have some code like this:
>
> String name = " " + someString + " ";
>
> Is
You could try the GWT theme generator (via
http://www.ongwt.com/post/2008/10/14/GWT-Theme-Generator
) sounds like it could help you.
//Adam
On 23 Jan, 12:46, Mike wrote:
> Hi all,
>
> Is it correct that there is no easy way to change the color of a
> DecoratorPanel's border
Either set the size of your panels programmatically or through CSS -
browsers can/will display FlowPanels differently which I believe is
what you are seeing; or user a Vertical Panel for your check boxes/
label combinations.
//Adam
On 21 Jan, 12:25, venkat raman wrote:
> Hi All,
>
&g
style OBFUSCATED then this extra code is only
a handful of characters in size - which will be insignificant compared
to your application code (in the various cache.html files)unless
I'm misunderstanding you.
//Adam
On 20 Jan, 19:21, 1jkoch <1jk...@gmx.de> wrote:
> Hi Adam,
>
Hej Jörn,
What "JavaScript code that is hosted mode specific" are you refering
to? You should only get the minimal code necessary for each web
browser to run your application as the standard.
//Adam
On 20 Jan, 14:57, 1jkoch <1jk...@gmx.de> wrote:
> Hi,
>
> my GWT
You could try this library: http://code.google.com/p/gwt-diagrams/
//Adam
On 19 Jan, 12:52, Sri wrote:
> Hi ,
>
> I am developing graphic oriented application using GWT. Can we draw
> lines ie straight lines and as well as curvy lines ? In my application
> I need to connect the
ation. Using Java reflection will ease the RSI strain
involved in doing this. If the codefile implementation is decided
before starting the server, then just configure with Spring. You can
either write your own DispatcherServlet or use
http://gwt-widget.sourceforge.net/?q=node/57
.
HTH!
Adam
On J
wnd.location.href = locArray[0]+"?locale="+newLocale;
}-*/;
//Adam
On 14 Jan, 12:06, galago wrote:
> I'm trying to make a series of buttons with a flag in order to change
> the locale of the app, but I didn't find any way to do that with the
> gwt, any suggestions???
--
d in the module XML file as a
JavaScript fragment that will return the value for the named property
at runtime. In this case, you would want to define the locale property
using a property provider. To see examples of
definitions in action, see the files I18N.gwt.xml and
UserAgent.gwt.xml in the
you can't access local filesystem with JavaScript, therefore you can't
do it with GWT. You could try a signed Java Applet - search this
forum for when this has been asked before.
//Adam
On 13 Jan, 02:50, Mark wrote:
> I want to make an file tree using gwt to prase the local
you need to set the size of the AbsolutePanel.
//Adam
On 13 Jan, 02:48, "tr.x" wrote:
> Hello guys,
>
> The following code does not seem to work on FF and Chrome, however
> works without any problems in IE.
>
> public void onModuleLoad()
>
herefore not in GWT).
To print Step2 after the file contents, you need to move the request
to print it to the onResponseReceived method of your response handler.
//Adam
On 10 Jan, 18:47, Antoine Bruguier wrote:
> Hello,
>
> I am a newbie with GWT so please bear with me. I would like t
or if there's a method as Eric mentions, use that :)
//A
On 11 Jan, 00:48, Adam T wrote:
> .possibly through a JSNI method - pass the WidgetMap object in as
> a parameter and then return the field. I seem to recall doing
> something similar with something else, but can'
p map)/*-{
return m...@com.google.widgetmap::jsoPeer;
}-*/;
Good Luck!
//Adam
On 10 Jan, 20:14, Luciano Broussal wrote:
> hum,
>
> the real underlying Gmap2 object is her into the WidgetMap object
>
> /* Reference to GMap2 object. */
> private final JavaScriptObject j
perhaps use textArea.setText(textArea.getText()+newText)?
On 7 Jan, 19:46, "Sanjith Chungath" wrote:
> Hi,
> I want to write an async method to retrieve some String from the
> server. onSuccess I want to append the reruned string to a TextArea. is it
> possible. i can see only setText() met
Step3331,
You should just download the 1.6 code from svn and look what is
available to calm your nerves down.
//Adam
On 3 Jan, 19:32, "step3...@yahoo.fr" wrote:
> I heard that the listener is deprecated in 1.6 (and removed in 2.0)
> and will be replaced by handler.
>
>
On Dec 27 2008, 7:12 am, Yossi wrote:
> Hi,
>
> I try to build a page that will contain a dock panel - using this
> panel it is very easy to maintain the page layout.
>
> But I want that the "root" dock panel will be centered in the page and
> not aligned to the left.
In Java specify style name
Maybe your code has some issues - how are you trying to display the
different images?
On 19 Dec, 07:14, alided wrote:
> I'm trying to use ImageBundle, but it doesn't work correctly. I put
> different size images into the bundle and when i try to use image it
> is always displays biggest image in
p the getOffsetWidth method in a DeferredCommand
inside the LoadListeners onLoad() method.
//Adam
On 10 Dec, 22:46, sssmack <[EMAIL PROTECTED]> wrote:
> ...and upon that for example getOffsetWidth() will return the rendered
> amount?
>
> thanks
--~--~-~--~~--
they work.
//Adam
On 9 Dec, 07:50, rajasekhar <[EMAIL PROTECTED]> wrote:
> Hi Adam,
>
> Thank you for reply.I getting confused with onAttach
> function ,let me know this function belogs to which class.Can you
> expain me with small example pl
widgets to true using a Timer
class to affect the delay you want.
//Adam
On 9 Dec, 07:15, rajasekhar <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> how to display one by one panel in borderlayout panel,In
> my case borderlayout panel is
> divided into north,w
rReportCallback;)(null, reportCallback);
where the first parameter is "null", and hence your handle function is
always trying to handle "null".
Hope that goes someway to helping/explaining!
//Adam
9 Dec, 05:55, Ryan <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I am tr
It's for the version 1.6 event system:
http://code.google.com/p/google-web-toolkit-incubator/wiki/ProposedEventSystem
//Adam
On 8 Dec, 17:06, Mike <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> Today i was browsing the latest source code for GWT and i saw that
> many event-re
time progresses.
There's another approach here:
http://groups.google.se/group/Google-Web-Toolkit-Contributors/browse_thread/thread/eb9c8cf046cbaaf2/389ca559536c71bf?hl=sv&lnk=gst&q=runAsync#389ca559536c71bf
//Adam
On 1 Dec, 20:55, DaBlick <[EMAIL PROTECTED]> wrote:
> I'm
e does not contain a hyphen, and provide a simple explanation
if
it does so the user can switch to camel case."
http://code.google.com/p/google-web-toolkit/issues/detail?id=2667&q=camel
//Adam
On 28 Nov, 15:07, yilativs <[EMAIL PROTECTED]> wrote:
> Recently I've found out that
http://translate.google.com/translate_t#
Above link might help
//A
On 28 Nov, 05:16, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> I need help , i hava some API of YI language , but all words is
> china words , who can help me?ASAP , thanks.
--~--~-~--~~~---~--~
IE(through a property ingwtex
I'm sorry, but I didn't catch you here. I think your original message
may have become a bit garbled here.
Thanks again.
Adam
On Nov 24, 12:47 pm, rakesh wagh <[EMAIL PROTECTED]> wrote:
> I will agree on the final thing about listeners and fee
Hi Rakesh, Thanks for your response.
> Adam, did you even tryGWT?
As I said earlier in this thread, I've developed applications in GWT.
My most recent one (still in development) is matchomat.com. This
application has some rollover buttons, dialogs, form checking, gwt
rpc, history, and
st
be a learning experience. I'll try to remember to keep track of my
impressions and post them for others to benefit.
Adam
On Nov 23, 10:57 am, Adam T <[EMAIL PROTECTED]> wrote:
> I wouldn't say "contradiction", I believe all aspects mentioned
> (inertia/retooling/SEO
he natural choice is
JavaScript libraries. As we push the boundaries on complexity, so we
need better and better tools/environments etc, and I believe GWT is
well placed for when complexity catches up.
Just for interest, there is a JQuery library for GWT:
http://code.google.com/p/gwtquery/
//Ada
Adam T,
Thank you for your thorough and thoughtful explanation. There appears
to be a contradiction running through the thread of your explanation
and I'm wondering if you or anyone else would like to comment on it.
You write:
> version. Sure, you can do a similar thing with GWT bu
tary libraries/toolkits/frameworks.
So back to the first point, use the tool that is most appropriate for
what has to be done, within the constraints you may have and the
expectations users/client has.
//Adam
On 23 Nov, 07:42, adam <[EMAIL PROTECTED]> wrote:
> I'm not sure which people you
ng work easier" so they don't end
> up looking back at it.
>
> On Nov 22, 9:58 pm, adam <[EMAIL PROTECTED]> wrote:
>
> > I see herehttp://docs.jquery.com/Sites_Using_jQuerythatlots of big
> > projects, most of which are probably led by some smart, deep-thinkin
I see here http://docs.jquery.com/Sites_Using_jQuery that lots of big
projects, most of which are probably led by some smart, deep-thinking,
open-minded individuals, are using jQuery and hand-written javascript.
I notice that this list of projects using GWT
http://www.ociweb.com/mark/programming/G
can
then access the zoomed/cropped image as a new item, then you're going
to have to do that on the server using your favourite server side
language and any of the normal image libraries - try googling for
server side image manipulation.
//Adam
On 22 Nov, 06:07, "vruddhi shah" &l
support in some of the existing widgets and roll your own
for your own widgets.
//Adam
On 22 Nov, 12:12, tapan <[EMAIL PROTECTED]> wrote:
> How can i create excellent animations with GWT. please help
> urgent.
--~--~-~--~~~---~--~~
You received
try looking at
com.google.gwt.i18n.client.constants.CurrencyCodeMapConstants.properties
//A
On 16 Nov, 19:04, jsantaelena <[EMAIL PROTECTED]> wrote:
> Hi all.
>
> What are the availables currency codes? I didn't find it in java docs.
>
> Tks.
--~--~-~--~~~---~--~~
hat you have in your current code
to code that uses conection pooling are in this article:
http://www.javaranch.com/journal/200601/JDBCConnectionPooling.html
Hope that helps.
//Adam
On 15 Nov, 15:57, markww <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am testing out a simple RPC call (
You might have better luck in a gwt.ext forum with your question.
You should check if getWidget(x) is zero index based or not, i.e is
getWidget(1) returning the Image or the Label - if the former, then
the answer why the cast cast exception is obvious.
//A
On 11 Nov, 20:43, m007 <[EMAIL PROTECT
Can't immediately see why that wouldn't work. Just three things from
a diagnostic point of view
a) does your formCollapsedState() method work outside of event
handling?
b) did you wait the 10 seconds you set up as delay?
c) have you sunk the event and wired up that sink to your handler -
i.e. i
you might be stumbling across one of these IE issues relating to
cache:
http://code.google.com/p/google-web-toolkit/issues/list?q=IE%20LoadListener
//Adam
On 9 Nov, 08:50, rjcarr <[EMAIL PROTECTED]> wrote:
> I have large images to display that might take some time to make their
>
get the
pure HTML and embedd this inside the page as a div and not an iframe?
Cheers,
Adam
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to
did you try evt.preventDefault() in your onEventPreview method?
http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/Event.html#preventDefault()
(also your onEventPreview mthod should return a boolean value, but I
guess maybe that's missing in the code below just d
Not sure what you mean by "browse a folder" - using the file upload
the user can navigate around folders to select a file; but I suspect
you mean something else?
You need to remember that GWT is just JavaScript, so if you can't do
something in JavaScript, it's going to be pretty difficult to do i
you could try EventPreview assuming you are using GWT.
Make your entrypoint implement EventPreview interface, as part of your
construction of the application call DOM.addEventPreview(this) and
implement the onEventPreview(Event evt) method to look for your key
combination.
//Adam
jhpark skrev
RightWidget(Widget w) instead.
//Adam
Syed Shahul skrev:
> Hi all.
> iam using hozirantal splitter to display the widgets.
> to display widgets on right pane i use link. i works fine but when i
> click the link twice i cause the following error:
> kindly help me regards
> Than
case:
http://code.google.com/support/bin/answer.py?answer=65632&topic=11368
//Adam
On 21 Okt, 16:24, Slim LAU <[EMAIL PROTECTED]> wrote:
> public native static void getJson(int requestId, String url,
> MyApplication handler) /*-{
> var callback = "callback" + requestId;
>
>
;s article
(http://code.google.com/support/bin/answer.py?
answer=65632&topic=11368 ) for the client side. It works fine,
removes the need for a timer (which is going to take resource in your
application) and truly handles the asynchronous nature of the web.
//Adam
On 7 Okt, 13:46, eggsy84 <
.g.
public native static void setup(YourHandlerClass h, String callback) /
*-{
window[callback] = function(someData) {
[EMAIL PROTECTED]::handleJSONResponse(Lcom/
google/gwt/core/client/JavaScriptObject;)(someData);
}
}-*/;
without the (Lcom/google/gwt/core/client/JavaScriptObject;)(so
Eggsy,
To get it to work you need to get the plumbing right, and it's not
quite the same way as calling from code - btw, the example on that
page is aimed at client side not server side. The server is any
language you want as long as it returns a well-formed JavaScript
segment of the form:
myca
side. On the server side you can use any Java classes you
> want.
>
> Regards,
> Arthur Kalmenson
>
> On Sep 28, 11:21 am, Adam T <[EMAIL PROTECTED]> wrote:
>
>
>
> > Too add to Lothar's comment, you can find which Java classes you can
> > us
101 - 200 of 211 matches
Mail list logo