Use classes from external jars

2011-04-05 Thread Andrej Stanisev
Hello, I'm trying to use GWT to develop a tool for Sakai, and I have a problem using sources from external libraries. The project dependencies are managed by maven and I'm trying to use a class from one of the dependency jars. I was planing to call a RPC that will return an object of that type.

Re: ScrollPanel modification

2009-08-09 Thread andrej
You could use two divs, one with overflow-x: scroll, and another panel with overflow-y: scroll. Then listen to scroll events on either one. Each of those two divs contains a 1px wide/high div. On Aug 7, 3:57 pm, wicher rwi...@gmail.com wrote: Not exactly, I want to have a small canvas that

Re: Widget not rendered completely when its appended to DOM dynamically.

2009-08-06 Thread andrej
Syam, can you post more detail on your original 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 Google-Web-Toolkit@googlegroups.com To

Re: Widget not rendered completely when its appended to DOM dynamically.

2009-08-05 Thread andrej
Your HorizontalPanel was not added to a parent widget, so Widget.onAttach() was not called. This is where event handlers are setup. You could hack your panel to call Widget.onAttach(), but there's probably a cleaner ways to do this. Can't you use RootPanel.get (parentId).add(panel) to add your

Re: no createDocumentFragment() in com.google.gwt.dom.client.Document

2009-06-11 Thread andrej
I'm running off trunk right now. There's no Document.createDocumentFragment() method either. Just wondering why that is. Could someone comment on issue 2955? -- http://code.google.com/p/google-web-toolkit/issues/detail?id=2955 The issue was created almost a year ago, but it's still in NEW

no createDocumentFragment() in com.google.gwt.dom.client.Document

2009-06-07 Thread andrej
How do I create a document fragment? There's a DocumentFragment in package com.google.gwt.xml.client, but that doesn't seem applicable. And this object can only be created from com.google.gwt.xml.client.Document. Thanks in advance! --~--~-~--~~~---~--~~ You

Re: no createDocumentFragment() in com.google.gwt.dom.client.Document

2009-06-07 Thread andrej
Was able to do this by adding this method to my class: private native DocumentFragment createFragment() /*-{ return $doc.createDocumentFragment(); }-*/; And defining my own DocumentFragment class: class DocumentFragment extends com.google.gwt.dom.client.Node {

Pure GWT LiveGrid

2009-05-04 Thread Andrej Harsani
Searching for open source pure gwt LiveGrid. LiveGrid is must if application needs to display big data sets (1000), it simply replace classic pager with grid slider which loads and render data on demand. --~--~-~--~~~---~--~~ You received this message because you

Class.newInstance and Class.cast

2009-04-28 Thread andrej
Wrote the following code, and then realized that I can't translate this to javascript: public T extends Entity T create(ClassT type, long id) { T t = type.newInstance(); t.setId(id); return type.cast(t); } Two problems: (1) Class.newInstance not implemented (2) Class.cast not

Re: Class.newInstance and Class.cast

2009-04-28 Thread andrej
Have been able to implement Class.cast(), which was easy. But newInstance() is pretty hard, no wonder it hasn't been implemented yet. Sorry for the noise... On Apr 28, 12:03 pm, andrej gab...@gmail.com wrote: Wrote the following code, and then realized that I can't translate

Junit 4.0/4.5 support planned?

2009-02-03 Thread andrej
Any idea? Thx. --~--~-~--~~~---~--~~ 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

FastStringMap is not public class

2008-10-17 Thread Andrej Harsani
Hi, I want to use FastStringMap instead of HashMap, due to 4x better performance. I have to copy this class, is there a reason why its visibility is default? thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: FastStringMap is not public class

2008-10-17 Thread Andrej Harsani
I'm talking about com.google.gwt.user.client.ui.FastStringMap - class which is already in GWT... On Oct 18, 1:16 am, kozura [EMAIL PROTECTED] wrote: Only a small subset of the Java library is emulated for use on the client side;

Re: GWT copy protection

2008-10-04 Thread Andrej Harsani
What is the reason of copy protection? You can protect both content or application itself on server side. I hope you don't need to protect client side of application - because it is obfuscated and without server side useless. Andrej On Oct 4, 10:10 am, rov.ciso [EMAIL PROTECTED] wrote: Good

Re: GWT SITE? (example)

2008-10-03 Thread Andrej Harsani
check this out: http://www.demo.qualityunit.com/pax4/merchants/ Andrej www.gwtphp.com --~--~-~--~~~---~--~~ 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

Re: GWT Timers - say no to it with IE

2008-10-02 Thread Andrej Harsani
in gwt 1.5 Timers works OK in IE7. what IE and GWT version are you using? could you post test case? our application use Timers, you can check it here: Andrej http://www.gwtphp.com/ On Oct 2, 3:19 pm, Ivan [EMAIL PROTECTED] wrote: Hello everybody, I have encountered one problem:  it's

Re: Troubles linking GWT and php server using JSon

2008-10-02 Thread Andrej Harsani
is important I hope this helps. Andrej On Oct 2, 8:50 pm, RamI [EMAIL PROTECTED] wrote: Pavel, I tried String url = http://localhost:/com.op.Portail/authenticate.php? name=\'RamI\'pwd=\'+pass+\'; but the result is the same :s RamI

Re: THE IMPORTANCE OF ERROR MESSAGE

2008-09-24 Thread Andrej
Hi, Why do you spam with uppercase thread title? I think you skip some lessons at school... Andrej. On Sep 24, 8:41 pm, Xavier Mathews [EMAIL PROTECTED] wrote: WOW 1. Ok first i am a student at a high school (Hill Crest) and i am taking Classes Online (Computer Science). Right now one

Re: Posting string from GWT to PHP

2008-09-20 Thread Andrej
'] Andrej. On Sep 20, 8:05 pm, Amit Dhingra [EMAIL PROTECTED] wrote: Hi, I am trying to post string so as to pass the value from gwt to php using the following code. Below is the code i am using in php to accept the posted value. Everytime I get an empty string. Am I missing something. Please help

Re: Posting string from GWT to PHP

2008-09-20 Thread Andrej
gwt-php application: http://www.demo.qualityunit.com/pax4/merchants/ Andrej On Sep 20, 9:04 pm, Amit Dhingra [EMAIL PROTECTED] wrote: Hi Andrej, Googling gave me one more option which seems to be working... if (!isset($HTTP_RAW_POST_DATA))    $HTTP_RAW_POST_DATA = file_get_contents(php

Re: Out of Memory Error During GWT compilation

2008-09-16 Thread Andrej
the reason is Out of memory; to increase the amount of memory, use the -Xmx flag at startup so try to increase memory (and/or ensure that you are _using_ -Xmx param.) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Gwt Php Framework

2008-09-02 Thread Andrej
Hi Алексей, I'm sorry I don't speak Russian; this group language is English. Andrej On Sep 2, 10:21 am, Junnyjourney [EMAIL PROTECTED] wrote: Андрей, привет. у тебя есть онлайн контакты? Простоинтересно было бы пообщатся по поводу вашей разработки. Спасибо. Алексей On 28 авг, 22:05

Re: Gwt Php Framework

2008-08-29 Thread Andrej
Hi Vivek, All GUI elements are part of our GPF framework, written using GWT (no JSNI). I plan to post our experiences/solutions with data exchange, multilanguage support, template/theme system, etc... used in our GWT-PHP applications. Andrej On Aug 29, 7:34 am, Vivek Singhwal [EMAIL