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.
The code of the class is fairly simple, and its translatable to JS.

How can I include the source of this class, so that GWT compiles it? I
tried to add a source path property pointing to that package in my
*.gwt.xml file.

-- 
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.



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  wrote:
> Not exactly,
> I want to have a small canvas that will represent a much larger space
> and I need some scrollbars to move around it. The problem is I cant
> make ScrollPanel to expand his scrollbars without making the canvas
> bigger. Of course I can make my own scrollbars.
>
> On 7 Sie, 14:26, "alex.d"  wrote:
>
>
>
> > You mean like google-maps?
>
> > On 7 Aug., 11:23, wicher  wrote:
>
> > > Hello,
> > > Is there a way to modify slidebar behaviour?
> > > I want to put a small panel (perfect fit) into a ScrollPanel but also
> > > I need it to behave like it would contain a much bigger and virtually
> > > resizable panel.
> > > 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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



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 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
-~--~~~~--~~--~--~---



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 panel to the DOM tree? Then onAttach() is called
automatically.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



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 status.

(I just tried out OOPHM and it rocks! Thank you gwt team!)
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



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 {
protected DocumentFragment() {
}
}


Did I miss something or why wasn't this part of the existing API?

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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



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 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
-~--~~~~--~~--~--~---



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 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
-~--~~~~--~~--~--~---



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  wrote:
> Wrote the following code, and then realized that I can't translate
> this to javascript:
>
>   public  T create(Class 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 implemented
>
> Class.cast should be easy to implement, since it's pretty much just an
> identity function. I.e.
> type.cast(t) --> t
>
> Class.newInstance() seems also relatively easy to implement. Just
> another prototype function to
> the class literal object?
>
> This is regarding the following 
> issue:http://code.google.com/p/google-web-toolkit/issues/detail?id=487&can=...
>
> It's apparently low priority. But it seems it could be implemented
> easily. Am I wrong? Can I add this
> functionality myself? Any pointers? Unfortunately I'm just getting
> started with GWT, so I don't have
> a good understanding of how this works under the hood yet.
>
> Thank you
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



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 create(Class 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 implemented

Class.cast should be easy to implement, since it's pretty much just an
identity function. I.e.
type.cast(t) --> t

Class.newInstance() seems also relatively easy to implement. Just
another prototype function to
the class literal object?

This is regarding the following issue:
http://code.google.com/p/google-web-toolkit/issues/detail?id=487&can=1&q=newInstance

It's apparently low priority. But it seems it could be implemented
easily. Am I wrong? Can I add this
functionality myself? Any pointers? Unfortunately I'm just getting
started with GWT, so I don't have
a good understanding of how this works under the hood yet.

Thank you

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



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; 
> seehttp://code.google.com/docreader/#p=google-web-toolkit-doc-1-5&t=RefJ
>
> You can use any library you desire for server-side code, but on the
> client everything has to be properly emulated to handle javascript and
> browser compatibility issues, so is limited to the above set.  The "4x
> better performance" might be true in Java, but does not correlate at
> all to how it might be implemented in js!
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



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 
"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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Approximate release time for GWT 2.0

2008-10-08 Thread Andrej Harsani

Hi,
If all you need is "XLIFF", you are welcome to implement it into GWT.


On Oct 7, 8:04 pm, jbdhl <[EMAIL PROTECTED]> wrote:
> Can anyone give an estimate for when GWT 2.0 will be released? Will it
> be within a year? Or two years?
>
> I ask because we have decided to move our fairly large application to
> GWT as soon as the i18n-part becomes sufficiently mature and we need
> to know how to prioritize our resources. That is, we will perform the
> re-implementation when GWT supports XLIFF which is a standard for
> internationalization message exchange, but in contrast to property
> files XLIFF supports metadata. According to the issue tracker [1] GWT
> will support XLIFF from version 2.0. From release to release we need
> to provide our translators with information on which messages that
> have been added, deleted and modified similar to the information the
> translators are provided in gettext (which we currently use). This is
> easier accomplished with XLIFF.
>
> Regards
>
> References:
> [1]http://code.google.com/p/google-web-toolkit/issues/detail?id=2926
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



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 day. I develop my GWT project. I want to do copy protection. When
> I upload my site to internet everybody can copy my GWT site. Do I have
> my site can not be copied?
> Can I do that, he worked only on my domain?
> 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Troubles linking GWT and php server using JSon

2008-10-02 Thread Andrej Harsani

Hi,

I suggest to use your Apache (with configured php) instead of tomcat
running at port .

Open you module's *.launch file and use something like this:


"-noserver" 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
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



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 well known that there's a Timer class:
> com.google.gwt.user.client.Timer
>  and of cource it is not a secret that it works in Firefox, Opera, and
> Google Chrome
>  without any problems,
>
> but what's about Internet Explorer ?
>
> Well, the answer is unfortunately - no!
>
> Does anybody have an idea how it is possible to run this function in
> IE?
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Info Windows

2008-09-29 Thread Andrej

Xavier, you didn't post 1 useful post here.
It is SPAM, for me new kind of SPAM, it seems that you are trying to
win any maximum post count race...


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



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 of our insturtor
> are employees of google..he has us doing some lame projects but at the
> same time i know why he has us doing them i think it is so that he can sort
> out those who have the qualifications to be future Tech Support Agents from
> those who are waisting his time! So there are about ten of us who have been
> selected for this advance class to work as google "Tech Support Agents".
> This is not an offical title for us but we must do this for about 2years
> before we can really have this title!
>
> 2. Position: Well my class is a client base class which means that What ever
> the Client needs we have to be able to help them BASED on what they need. (I
> am new to all of this myself forgive me if this is complicated) So lets say
> that you are in a group with marketing then i have to be able to assist you
> with marketing.
>
> 3. Because i was approve to have this title and i am a student i guess and
> not an employee of google that is why i am using gmail. Plus my class is
> required to have a gmail account (Teacher says it the rules but other say
> that it is BS).
>
> 4. Web-master (I am new to this also) I work with C++ etc...Site
> BuilderWeb Pages etc... Hacker Base info (that is a class in itself i
> just started it is very complex and keeps me perplexed) LOL And i basicly do
> everything you can do on the web from web sites to search engines) PHP is
> the hardest thing for me i am really haveing a hard time understanding it!
>
> 5. That was a mistake one which i think my professor will see and i may lose
> some points but i am not worried because as of yesturday when i took on
> three new groups to do the Tech.S with i became top of my class (It is a
> total of like 57 of us)
>
> If we succeed with this we can move on and become paid Google
> Employeeswe get paid now but just in a weird way!
>
> I hope this cleared the air! But i still have over 200 e-mails that i have
> to get to.
>
> GOOD DAY
>
> XAVIER MATHEWS
>
> Xavier A. Mathews
> Student/Developer/Web-Master
> Google Group Client Based Tech Support
> Hazel Crest Illinois
> [EMAIL PROTECTED]
> "Fear of a name, only increases fear of the thing itself."
>
> On Wed, Sep 24, 2008 at 1:22 PM, Ian Bambury <[EMAIL PROTECTED]> wrote:
> > Just for clarification. 'pillock' is pretty much the same thing as
> > 'wazzock' - i.e. very much like 'numpty' but without the excuse of
> > ignorance..
>
> > :-)
>
> > Ian
>
> >http://examples.roughian.com
>
> > 2008/9/24 walden <[EMAIL PROTECTED]>
>
> >> then you are being a pillock, whatever that is.
>
>
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Posting string from GWT to PHP

2008-09-20 Thread Andrej

Hi,
I already describe best option:

Request response = builder.sendRequest("D=" +
URL.encodeComponent(postData),...
then you can access data in php with:
$_REQUEST['D']

It works on all php installations (webservers) without problems. Raw
post data
solution is blocked on some hostings.

Check our 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://input");
> $input = $GLOBALS['HTTP_RAW_POST_DATA'];
>
> Please guide me to which of the methods is a better to use?
>
> Thanks a lot!!!
>
> Cheers,
> Amit
>
>
>
> On Sun, Sep 21, 2008 at 12:29 AM, Andrej <[EMAIL PROTECTED]> wrote:
>
> > Hi,
> > php.ini parameter "always_populate_raw_post_data" should be set to
> > TRUE if you want to read $GLOBALS['HTTP_RAW_POST_DATA']
>
> > better way to post data is to do:
> > Request response = builder.sendRequest("D=" +
> > URL.encodeComponent(postData),...
>
> > then you can access data in php with:
> > $_REQUEST['D']
>
> > 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!!!
>
> > >     public void doPost(String postData) {
> > >         RequestBuilder builder = new RequestBuilder(RequestBuilder.POST,
> > "http://localhost/JSONTEST/index2.php";);
>
> > >         try {
> > >             builder.setHeader("Content-Type",
> > > "application/x-www-form-urlencoded");
> > >             Request response = builder.sendRequest("from gwt", new
> > > RequestCallback() {
>
> > >                 public void onError(Request request, Throwable exception)
> > {
> > >                     // code omitted for clarity
> > >                 }
>
> > >                 public void onResponseReceived(Request request, Response
> > > response) {
> > >                     // code omitted for clarity
> > >                     Window.alert(response.getText());
> > >                 }
> > >             });
> > >         } catch (RequestException e) {
> > >             Window.alert("Failed to send the request: " +
> > e.getMessage());
> > >         }
> > >     }
>
> > > PHP Code
> > > 
> > > $input = $GLOBALS['HTTP_RAW_POST_DATA'];
> > > if ($input == "")
> > >     $input = "Error";
> > > ...
>
> > > Thanks in advance... :)
>
> > > --
> > > Warm Regards,
> > > Amit Dhingra
>
> --
> Warm Regards,
> Amit Dhingra
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Posting string from GWT to PHP

2008-09-20 Thread Andrej

Hi,
php.ini parameter "always_populate_raw_post_data" should be set to
TRUE if you want to read $GLOBALS['HTTP_RAW_POST_DATA']

better way to post data is to do:
Request response = builder.sendRequest("D=" +
URL.encodeComponent(postData),...

then you can access data in php with:
$_REQUEST['D']

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!!!
>
>     public void doPost(String postData) {
>         RequestBuilder builder = new RequestBuilder(RequestBuilder.POST, 
> "http://localhost/JSONTEST/index2.php";);
>
>         try {
>             builder.setHeader("Content-Type",
> "application/x-www-form-urlencoded");
>             Request response = builder.sendRequest("from gwt", new
> RequestCallback() {
>
>                 public void onError(Request request, Throwable exception) {
>                     // code omitted for clarity
>                 }
>
>                 public void onResponseReceived(Request request, Response
> response) {
>                     // code omitted for clarity
>                     Window.alert(response.getText());
>                 }
>             });
>         } catch (RequestException e) {
>             Window.alert("Failed to send the request: " + e.getMessage());
>         }
>     }
>
> PHP Code
> 
> $input = $GLOBALS['HTTP_RAW_POST_DATA'];
> if ($input == "")
>     $input = "Error";
> ...
>
> Thanks in advance... :)
>
> --
> Warm Regards,
> Amit Dhingra
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Out of Memory Error During GWT compilation

2008-09-16 Thread Andrej

Hi,
My module have about 800 java classes and -Xmx256M is enough. Non-
gzipped compiled .cache.html size is 1MB
How many permutation do you have?

example:
http://www.demo.qualityunit.com/pax4/

Andrej


On Sep 16, 11:20 pm, Filipe Sousa <[EMAIL PROTECTED]> wrote:
> Bal Krishna wrote:
> > Hi All,
> > I am using GWT in my application.
> > My system is having 2GB RAM and I have around 2000 Java files to
> > compile. During compiling the files, I am using JVM argument -Xmx1024M
> > but my GWT compilation is failing and throwing this error.
>
> I'm having the same problem and I have 8GB of RAM. I've tried -Xmx1024M
> and -Xmx2048M. Should I upgrade my system to 16GB?
>
>  signature.asc
> < 1KViewDownload
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: GWT Compilation Time

2008-09-16 Thread Andrej

Hi,
Instead of 4 cache.html files per module (one for each browser:
ff,ie,safari,opera)
there will be 4 x 3(3 locales) = 12 cache.html files. It seems that
compilation time
depends on #permutations.


On Sep 16, 12:21 pm, Bal Krishna <[EMAIL PROTECTED]> wrote:
> Hi All,
> I am implementing I18 support for my application and I am using GWT
> I18 support.
> In my module file, I extended three locales and compilation time for
> my java files increased drastically. Earlier it was taking around
> 30-40 mins but after adding three locales in my module configuration
> file it is taking around 120-130 mins.
> I am very surprised by seeing this much difference in compilation
> time. Why is it so??
> Is there any mistake I made in adding support of locale to my
> application or something wrong with handling of I18 by GWT API??
> Can anyone help me out??
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



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 
"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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Performance optimization - Profiler

2008-09-08 Thread Andrej

Hi,
I want to optimize application performance and searching for any gwt/
java profiler. Do you have any experiences with
performance tunning?

Speed of application is quite good in Google Chrome and Firefox3, but
it should be better in IE... Is it possible to improve IE(7)
performance?

http://demo.qualityunit.com/pax4/

Thanks for tips.
Andrej
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Gwt Php Framework

2008-09-03 Thread Andrej

Hi MN,

You can switch layout to "Desktop" by changing theme to "blue_aero".
(StartMenu->Panel Setting->Theme)
There is also "classic" theme which has "Single content" layout.

This works in all gwt-supported browsers, nothing special for chrome.

Our framework applications support different content management.
It is possible to switch to SingleContentManager or
DesktopContentManager.

Andrej


On 3. Sep., 12:36 h., MN <[EMAIL PROTECTED]> wrote:
> did you have a special layout for the google chrome browser and IE6?
> (i not see in chrome a "desktop". only the "start-menu" as a static
> navigation and each frame as a part of the right content with no
> windows style)
>
> how did you solve this different layouts?

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



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, Andrej <[EMAIL PROTECTED]> wrote:
>
>
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Gwt Php Framework

2008-09-02 Thread Andrej

Hi Alejandro,

We are using package com.google.gwt.json.client to encode/decode data
exchange Java object.

Business objects use few basic data exchange objects like RecordSet,
Form, Action, Grid, etc
internally. These serializable objects are implemented on both client
and server side.

We cannot use GWT RPC, because on server side is PHP. Anyway this
solution is platform independent,
so it is possible to create custom client or server.


On Sep 2, 4:22 pm, "Alejandro D. Garin" <[EMAIL PROTECTED]> wrote:
> Hi Andrej
>
> How do you serialize Java objects to and from JSON ?
> GWTApps in the Database Editor example uses a very nice technique to do that
> but It works with gwt 1.4.
>
> Thanks.
>
> On Tue, Sep 2, 2008 at 7:38 AM, Andrej <[EMAIL PROTECTED]> wrote:
>
> > Hi Alex,
>
> > > 1. What are your reasons for coding server side in PHP? Didn't you use
> > > GWT's RPC methods? (I'm not very familiar with PHP, but as far as I
> > > know, u need servlets to comunicate through RPC).
> > We are using PHP because nearly all hosting companies supports PHP.
> > Anyway our client and server side exchange JSON encoded data, so it is
> > platform
> > independent.
>
> > Andrej
>
>
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Gwt Php Framework

2008-09-02 Thread Andrej

Hi Alex,


> 1. What are your reasons for coding server side in PHP? Didn't you use
> GWT's RPC methods? (I'm not very familiar with PHP, but as far as I
> know, u need servlets to comunicate through RPC).
We are using PHP because nearly all hosting companies supports PHP.
Anyway our client and server side exchange JSON encoded data, so it is
platform
independent.

Andrej
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Gwt Php Framework

2008-09-01 Thread Andrej

Hi,

> When are you planning to release GPF framework?
We have no exact relase date yet, probably by end of October.

> It is going to be open source?
It will be open source, but type of license is not decided yet...

Andrej

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Gwt Php Framework

2008-08-28 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 PROTECTED]> wrote:
> Hi,
>
> Fantastic, Are you using any GUI framework (like GWT-EXT) along with GWT?
>
> We earlier tried using GWT-EXT with PHP at server but somehow that does not
> work for me. while GWT worked. 
> checkhttp://www.drivenbycuriosity.com/mywp/?p=30
>
> Vivekwww.gwt4enterprise.com
>
> -- Forwarded message --
> From: Andrej <[EMAIL PROTECTED]>
> Date: Fri, Aug 29, 2008 at 12:35 AM
> Subject: Gwt Php Framework
> To: Google Web Toolkit 
>
> Hi,
>
> I'd like to introduce our new web application framework called GPF
> (Gwt Php Framework). Server part
> is completely written in PHP5.
> We plan to release it as soon as we tune critical parts.
>
> As an example, you can look at Affiliate Management application (Post
> Affiliate Xpress) build on GPF.
> Framework is still in development, we are tuning GUI and features.
>
> You try it here:http://www.demo.qualityunit.com/pax4/merchants/index.php
> u:[EMAIL PROTECTED] <[EMAIL PROTECTED]>
> p:merchant
>
> Thanks for feedback
>
> Best regards,
> Andrej
>
>
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Gwt Php Framework

2008-08-28 Thread Andrej

Hi,

I'd like to introduce our new web application framework called GPF
(Gwt Php Framework). Server part
is completely written in PHP5.
We plan to release it as soon as we tune critical parts.

As an example, you can look at Affiliate Management application (Post
Affiliate Xpress) build on GPF.
Framework is still in development, we are tuning GUI and features.

You try it here:
http://www.demo.qualityunit.com/pax4/merchants/index.php
u:[EMAIL PROTECTED]
p:merchant

Thanks for feedback

Best regards,
Andrej
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---