Re: Apache ProxyPass does not return errors, only 500 (Internal Server Error)

2013-04-29 Thread Gregor Kovač
I'm using RequestHeader edit X-GWT-Module-Base ^(http)://([^/]+)/(.*)$ $1://$2/babyCenter/$3 and it works. :) Thanks a lot. Dne petek, 19. april 2013 23:39:19 UTC+2 je oseba Thomas Broyer napisala: On Friday, April 19, 2013 9:20:49 AM UTC+2, Gregor Kovač wrote: I have two ProxyPass

Apache ProxyPass does not return errors, only 500 (Internal Server Error)

2013-04-19 Thread Gregor Kovač
I have two ProxyPass directives: ProxyPass /client/ http://10.0.0.8:8080/client/Location /client/ RequestHeader edit X-GWT-Module-Base ^(.*)/client/(.*)$ $1/client/$2/Location ProxyPass / http://10.0.0.8:8080/client/Location / RequestHeader edit X-GWT-Module-Base ^(.*)/(.*)$

Application cache searches cssmap

2012-08-03 Thread Gregor Frey
, which are not within the generated artifacts. I have no clou what these maps are and how I can get them. Anybody can help me with this? Ciao Gregor -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https

Re: Application cache searches cssmap

2012-08-03 Thread Gregor Frey
I managed to remove the cssmap entries from the manifest by including them in the list of resources to skip in the SimpleAppCacheLinker class. The question remains: what are the cssmaps and why are they EmittedArtifacts, when not emitted? Is this a bug in the 2.5 compiler / linker? Ciao Gregor

How to post json content?

2012-05-20 Thread Gregor Frey
script object, and not a list of key-value pairs. On the other hand the content type application/json doesn't indicate any encoding. But without being url-encoded the json-content gets ruined, when containing special characters and being send in the request header. Gregor -- You received

RequestBuilder does not use charset header for request payload

2012-05-20 Thread Gregor Frey
I have to support German umlauts in my http-request (put or post). But the RequestBuilder ignores the charset attribute in the Content-Type header, which was set to utf-8. Is there another way to get the character set right? Gregor -- You received this message because you are subscribed

How to get hold of the instance in an InstanceRequest

2011-12-22 Thread Gregor Frey
Hi, I'm implementing an InstanceRequest on the server side in a dedicated service class, which is annotated as Service in the RequestContext. This works fine, but how can I get a reference to the instance of the entity, on which I need to operate? The background of my question is, that the

Re: How to get hold of the instance in an InstanceRequest

2011-12-22 Thread Gregor Frey
Thank you. So there is no way to implement an instance method outside the domain class? But why woulnt I include all instance methods in the proxy definition then? I hoped I could add methods, that are originally not in the domain object, but are needed just for doing data transformations for

Re: The RequestFactory ValidationTool must be run for the RequestFactory type

2011-10-23 Thread Gregor
). Gregor -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/NMziSSVBQqMJ. To post to this group, send email to google-web-toolkit@googlegroups.com

Re: Diffrent UI behaviour with browsers

2009-05-14 Thread gregor
Safari put the border on the outside of the decorator SimplePanel, but IE puts the border on the inside of it. However the result is the widget itself comes out exactly the same size and in the same place in all three. regards gregor --~--~-~--~~~---~--~~ You

Re: How to share RPC service between GWT applications?

2009-04-15 Thread gregor
, gregor greg.power...@googlemail.com wrote: You can do this if you place your RPC services in a separate module that is inherited by the two main application modules. In this situation you can specify the RPC servlets in the common module gwt.xml file and this will work for hosted mode, but I

Re: efficiency of my gwt application

2009-04-15 Thread gregor
- the rpc is quite slow. i am using it to return a few thousand by eleven column of data(String) a) RPC is *much* slower in hosted mode than deployed in web mode. You should time your RPC performance (separately to the table draw time) when deployed to find out how it is really performing

Re: How to share RPC service between GWT applications?

2009-04-14 Thread gregor
You can do this if you place your RPC services in a separate module that is inherited by the two main application modules. In this situation you can specify the RPC servlets in the common module gwt.xml file and this will work for hosted mode, but I think you have to map them separately (i.e. in

Re: How to get internal widget to notify its parent widget when clicked (and have the parent execute something)

2009-04-05 Thread gregor
the ChangeListener and SourcesChangeEvents interfaces for example, of if 1.6.x you should use maybe HasValueChangeHandlers and ValueChangeHandler. regards gregor On Apr 5, 3:51 am, matttai matt...@hotmail.com wrote: As per the title :) How to get internal widget to notify its parent widget when clicked

Re: Building your own GWT library

2009-04-04 Thread gregor
will find the module.gwt/xml file first, then follow the source path instruction to find the .java files. regards gregor On Apr 4, 5:28 pm, Gugle gugle.ru...@gmail.com wrote: Hi all, I'm trying to build a small GWT library of my own to implement a new widget. I have created a jar file

Re: RPC Performance/Response Problem

2009-03-27 Thread gregor
, in a selection of popular browsers. regards gregor On Mar 27, 10:35 am, -Lord-67 -lord...@web.de wrote: No, i haven't tried that so far, i will do so and let you know if it's getting better. Maybe a List needs less time to be serialized and deserialized. Greetings, -Lord-67 On Mar 26, 6:27

Re: How do I call a stateless session bean (EJB) from my RPC service?

2009-03-26 Thread gregor
SomeRefLocal -- Local Interface then @EJB SomeRef ref; should work to get the remote interface, right? -Steffen- On 25 Mrz., 21:39, stsc...@schliwinski.de wrote: Hi Gregor, thanks for this extensive answer. I deployed a very simple sample application to JBoss but for any reason I cannot

Re: How do I call a stateless session bean (EJB) from my RPC service?

2009-03-25 Thread gregor
give you the best performance from the simplest code. regards gregor On Mar 25, 2:15 pm, stsch stsc...@schliwinski.de wrote: In Eclipse I have one project (j2eeEjb) containing the Enterprise Java Beans, one projects (j2eeClient) contains the corresponding Remote Interfaces and one project

Re: weak listener in GWT?

2009-03-25 Thread gregor
Interesting question Ed. I read this: http://docstore.mik.ua/orelly/webprog/jscript/ch11_03.htm and a couple of other things. Looks like different browsers do things differently with javascript gc, with IE (surprise surprise) noticeably differing from the others. My feeling is that the JVM

Re: waiting for help

2009-03-24 Thread gregor
Hi Poonam, It would also help answer your question if you could give more information as to why you want to introduce struts. Or are you obliged to do so for some reason? regards gregor On Mar 24, 9:09 am, Ed post2edb...@hotmail.com wrote: Hi, It's difficult to give a concrete answer

Re: waiting for help

2009-03-24 Thread gregor
yes, check the group for struts posts Poonam. Bottom line is don't use struts on server with GWT app unless you absolutely have to (legacy situation), better to use GWT RPC and keep state on client. Reasons have all been spelled out several times before so no point in reiterating them. On Mar

Re: How to configure web.xml to include RPC service?

2009-03-22 Thread gregor
I've always used the same URL mapping formula as that - I have never got to bottom of how to get it to work using wild cards etc I believe the reason is to something do with with the combination of a) GWT.getModuleBaseURL() returning the module path with '.' (dots) instead of '/' (slashes) and

Re: Differences

2009-03-20 Thread gregor
GWT RPC is a propriety GWT mechanism that serializes/deserializes Java objects (those that are supprted by the GWT JRE emulation library) for transport between client and named methods in servlets that implement RemoteServiceServlet. It also provides an asynchronous callback mechanism for the

Re: How to sort a list with objects on client side?

2009-03-19 Thread gregor
than in javascript and it always has to be done and in alpha order only. Subsequently I have considered that this puts additional pressure on the server, so even if it would be technically slower on client, if not materially so, then maybe better on the client. regards gregor On Mar 19, 7:49 am

Re: Generic Serialization

2009-03-16 Thread gregor
Hi Tercio, You can read about this issue in these posts: http://groups.google.com/group/Google-Web-Toolkit-Contributors/browse_thread/thread/25d151960b48b5c4 http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/85cfb087d061e3c6/d325d250c7c19564?lnk=gstq=gregor+generic+RPC

Re: How to align TabPanel on right

2009-03-16 Thread gregor
Not sure, but TabBar has the styles: # .gwt-TabBar .gwt-TabBarFirst { the left edge of the bar } # .gwt-TabBar .gwt-TabBarRest { the right edge of the bar } so if you give TabBarFirst 100% width and give TabBarRest maybe a fixed width to give you a little indent from the right edge if you

Re: Loading Images into GWT via MySQL

2009-03-13 Thread gregor
wrote: Don't forget however to set the content type on the response to an image of some type, otherwise the client's browser will try to download the picture rather than display it. On Fri, Mar 13, 2009 at 2:28 AM, gregor greg.power...@googlemail.comwrote: I think Itamar is right, Jack

Re: Tree Performance

2009-03-11 Thread gregor
I have never tried using StackPanel like that, but I did look at it's code once to enhance it and I think it is at least as complicated as Tree (in the sense it has many HTML boxes) so I would guess it would probably be if anything worse than Tree in your situation. The classic way to deal with

Re: Tree Performance

2009-03-11 Thread gregor
://collectionofdemos.appspot.com/demo/com.google.gwt.demos.fasttr... On Wed, Mar 11, 2009 at 7:37 AM, gregor greg.power...@googlemail.comwrote: I have never tried using StackPanel like that, but I did look at it's code once to enhance it and I think it is at least as complicated as Tree (in the sense it has many

Re: Issue WIth TableListener

2009-03-07 Thread gregor
The simplest way is the have DynamicFormDisplayGrid implement SourcesTableEvents. Then in it's addTableListener(TableListener listener) method you just write: table.addTableListener(listener) So client widgets implementing Table Listener interface can be notified of selection events on the

Re: Sequential workflow in an asynchronous GWT world

2009-03-05 Thread gregor
) and then send the transaction details in one final RPC call. Of course this may not in the end be possible in your application, but it's worth looking into as it will increase performance and decrease complexity, as I think you have realized from your OP regards gregor. On Mar 5, 6:12 am, hazy1

Re: Fix for HorizontalSplitPanel?

2009-03-05 Thread gregor
Might this have something to do with GTX FilllLayout? AFAIK if you place, say, a Composite in HSP and set it's size to 100%,100% it will fill the left/right panel and respond to moving the splitter. On Mar 5, 5:09 pm, Michael mikecg...@gmail.com wrote: The HorizontalSplitPanel class has method

Re: Fix for HorizontalSplitPanel?

2009-03-05 Thread gregor
I think pretty much most straight GWT widgets will do that. It's pretty standard HTML behaviour that if you size a box to 100%,100% it will fill the space made available for it. GXT? Is that part of the Ext family (I can't remember these days). I think the Ext JS library widgets have their own

Re: tabpanel and size computation in onLoad

2009-03-02 Thread gregor
If you size you tab content widgets in % terms, they will size up automatically when tab is selected if the main one is set to 100%, 100%. If you can't do that, there are several ways to approach the problem depending on exactly what your situation is. Perhaps you can be more specific. As Alex

Re: tabpanel and size computation in onLoad

2009-03-02 Thread gregor
1. Widgets that adjust themselves depending on the size of neighbour widgets. Some widgets have their size fixed decided in CSS styles, the other ones adjust depending on this size in the onload() Widgets given fixed sizes in CSS/code should appear correctly when tab selected. Is there a

Re: Unique color for each tab in a TabPanel

2009-03-01 Thread gregor
added a particular colour style from a set list based on tab index. If you MOD it, then the colour cycle would repeat. gregor On Mar 1, 8:25 pm, Ando and...@infiniteloop.co.nz wrote: Hi, I am trying to set a unique color for each tab in a TabPanel, i.e I want the first tab to be blue

Re: Two TabPanels, different CSS styles

2009-02-27 Thread gregor
CSS is often hierarchical in GWT widgets. You have a primary style name and then additional secondary styles that are swapped out according to user actions (like select, hover etc). With a Tab panel the tabs are controlled by the TabBar class, and you can see it has a primary style gwt-TabBar and

Re: Error in Application

2009-02-27 Thread gregor
[WARN]StandardContext[]Exception while dispatching incoming RPC call com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract java.util.List com.company.client.rpc.TeacherService.getPupils(java.lang.Integer)' threw an unexpected exception:

Re: What are your thoughts on Cappuccino and SproutCore?

2009-02-27 Thread gregor
If you watch the Hello world starter tutorial for Cappuccino, there is the basic problem highlighted: He creates an action on the button to call swap to change Hello world to Goodbye - but he forgets to actually create the swap method itself, so app crashes and you see this in firebug:

Re: MVC + RPC architecture

2009-02-25 Thread gregor
against MVC, only that it is not IMO an automatic or universal best choice for a GWT client. Only sometimes. regards gregor On Feb 25, 1:35 pm, Adligo sc...@adligo.com wrote: Hi charles,   I have also written and open sourced a mvc architecture (gwt_util and gwt_util_demo) projects at;http

Re: MVC + RPC architecture

2009-02-24 Thread gregor
it runs as javascript). It makes sense to follow the programming model of your tool kit, or at least to investigate why it follows the pattern it does, rather than blindly follow traditional MVC dogma. regards gregor --~--~-~--~~~---~--~~ You received this message

Re: GWt RPC issue: Unable to instantiate 'org.bcs.server.SelectionSearchServiceImpl

2009-02-21 Thread gregor
I think you are missing gwt-servlet.jar from the classpath section. On Feb 21, 5:26 am, BobM bmar...@bcscomputers.com wrote: Thank you, Gentlemen, both! Let deal with these responses one at a time: Gregor: I am running an ant script based on the AppName-shell which was created

Re: Get subtree parent index?

2009-02-21 Thread gregor
Maybe a cleverer/simpler way to do this, but you could try extending Button to include a reference to the TreeItem it's attached to, say TreeButton. Then in your ClickListener onClick(Widget sender) { if (sender instanceof TreeButton) { TreeItem item =

Re: GWt RPC issue: Unable to instantiate 'org.bcs.server.SelectionSearchServiceImpl

2009-02-21 Thread gregor
that is within the classpath definition in your ant script (which it clearly isn't at the moment) On Feb 21, 1:55 pm, BobM bmar...@bcscomputers.com wrote: Oh, Gregor.  That was a good shot.  I was so hopeful, but no joy.  I added gwt-servlet.jar to classpath but I get the same result

Re: GWt RPC issue: Unable to instantiate 'org.bcs.server.SelectionSearchServiceImpl

2009-02-20 Thread gregor
What is the classpath arguement in your hosted mode command line or script? Whatever it is, it doesn't look like it's got org.bcs.server.SelectionSearchServiceImp covered in it. On Feb 20, 10:41 pm, BobM bmar...@bcscomputers.com wrote: Whoa!  Wait a minute.  You've sent me back to the books ...

Re: Resource not found: org.bcs.Main/org.bcs.Main.nocache.js ??

2009-02-18 Thread gregor
bmar...@bcscomputers.com wrote: Gregor, you get another medal!  I am a little frustrated because I don't really understand why that fixed that problem, but I am happy to let that go for now. However, now my application cannot find the css files which do reside in org.bcs.public.  Here

Re: doGet in remoteserviceservlet (HELP!)

2009-02-18 Thread gregor
? Is there some special reason you do this? gregor On Feb 18, 9:22 am, Lothar Kimmeringer j...@kimmeringer.de wrote: gregor schrieb: Sorry, I misunderstood what you where trying to do. You want the user to be able top download the CSV file to their own disk, right? You can't use GWT RPC

Re: GWT and STRUTS 2

2009-02-17 Thread gregor
Hi Gilles, Have you already searched the group for posts about the Struts/GWT issue? There are a lot of them regards gregor On Feb 17, 9:28 am, Gilles gilles_ta...@yahoo.fr wrote: I am investigating the use of Struts 2 and GWT and I would have a technical questions for this group. Let's

Re: Resource not found: org.bcs.Main/org.bcs.Main.nocache.js ??

2009-02-17 Thread gregor
* The development shell servlet received a request for 'org.bcs.Main/ org.bcs.Main.nocache.js' in module 'org.bcs.CSRapp.gwt.xml'       * Resource not found: org.bcs.Main/org.bcs.Main.nocache.js It may be finding org.bcs.Main/org.bcs.Main.nocache.js in CSRapp.html I cannot find any

Re: doGet in remoteserviceservlet (HELP!)

2009-02-17 Thread gregor
Sorry, I misunderstood what you where trying to do. You want the user to be able top download the CSV file to their own disk, right? You can't use GWT RPC to do that, and I don't think you can return the file as a String either. I think you need a standard HttpServlet that writes the CSV file as

Re: Resource not found: org.bcs.Main/org.bcs.Main.nocache.js ??

2009-02-17 Thread gregor
On Feb 18, 1:39 am, BobM bmar...@bcscomputers.com wrote: Oh, Gregor!  You are so good! I did find the text specifying org.bcs.Main in the CSRapp.html. Now ... when I fixed that I now get the message: * The development shell servlet received a request for 'org.bcs.CSRapp

Re: GWT SVN Build Failed com.google.gwt .ant.taskdefs.SvnInfo cannot be found

2009-02-16 Thread gregor
Might be this: http://groups.google.com/group/Google-Web-Toolkit-Contributors/browse_thread/thread/1116e49af25aab8b/17cbba95ae5e58e0?lnk=gstq=gregor+command+line+client#17cbba95ae5e58e0 On Feb 16, 4:07 pm, Allahbaksh a.allahba...@gmail.com wrote: Hi, I am trying to build GWT from the SVN. I

Re: Code refactoring to minimize listeners decoupling actions from view class

2009-02-15 Thread gregor
discussion about listeners I did a quick test to see how GWT generates javascript for them. You may find it interesting, it's towards the bottom of this thread: http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/1fa4af5d2728c5ab/d693b9ac6256fde1?lnk=gstq=gregor+clicklistener

Re: How to debug/resolve RPC call problem?

2009-02-15 Thread gregor
mode shel and runs the app in a sub shell. On Feb 14, 5:28 pm, gregor greg.power...@googlemail.com wrote: That looks like a glassfish message? Are we talking about hosted mode here or web mode? On Feb 14, 8:07 pm, BobM bmar...@bcscomputers.com wrote: This is how the service

Re: Code refactoring to minimize listeners decoupling actions from view class

2009-02-14 Thread gregor
and listen to. regards gregor --~--~-~--~~~---~--~~ 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

Re: How to debug/resolve RPC call problem?

2009-02-14 Thread gregor
exception entries and one of them should say it can't find SelectionSearchServiceImpl - what does it say? if 2) you should be getting to here public void onFailure(Throwable caught) { setMessage(Selection search failed. ); } what is caught.getMessage()? gregor On Feb 14

Re: How to debug/resolve RPC call problem?

2009-02-14 Thread gregor
. Does your program get to public void onFailure(Throwable caught) { setMessage(Selection search failed. ); } in which case what is caught.getMessage()? gregor On Feb 14, 12:48 pm, BobM bmar...@bcscomputers.com wrote: Okay.  Here is my code: From the client side

Re: Servlets / war file help

2009-02-14 Thread gregor
to be Tomcat, any Java EE application server or servlet container will do. If you don't have such a thing, you could use HttpRequets instead of GWT RPC using JSON as your wire data transfer protocol. If you had a php or python server for example, this is a popular approach I believe. gregor

Re: How to debug/resolve RPC call problem?

2009-02-14 Thread gregor
That looks like a glassfish message? Are we talking about hosted mode here or web mode? On Feb 14, 8:07 pm, BobM bmar...@bcscomputers.com wrote: This is how the service is called:     selectionSearchService.findAllLikeThis(serviceProvider, selectionSearchCallBack); How the service is

Re: Buttons in horizontal panel not aligning to the left

2009-02-10 Thread gregor
defined and set it's cell-horizontal-align to left. On 10 Feb., 05:02, gregor greg.power...@googlemail.com wrote: You could try putting the buttons in a second HP nested inside your existing one and assign it to cell 1. Don't size it (or maybe you will have to give it a cell width of 1

Re: Buttons in horizontal panel not aligning to the left

2009-02-09 Thread gregor
You could try putting the buttons in a second HP nested inside your existing one and assign it to cell 1. Don't size it (or maybe you will have to give it a cell width of 1%) but set spacing as desired. Then i think you may need to put a filler widget of some kind (e.g. SimplePanel/HTML) in cell

Re: help for normal servlet

2009-02-09 Thread gregor
Use RequestBuilder, see docs. There are examples of how to do the servlet in the group if you are in doubt, e.g. http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/9b59ee258f01d5bb/86ae704a16f5a077?lnk=gstq=file+download+servlet#86ae704a16f5a077 On Feb 10, 3:47 am,

Re: ScrollPanel maxWidth or maxHeight?

2009-02-06 Thread gregor
:10, gregor greg.power...@googlemail.com wrote: Hi Alex, I think you have to explicitly specify the height of a ScollPanel in pixels to get the scroll bars to kick in, and that will set the height of the panel from the word go. If what you mean is that you want a panel

Re: Best image preloading practice?

2009-02-06 Thread gregor
@Litty: yes, I think you are right, my ignorance. Image.prefetch() will causes the image to be loaded into browser cache. You then use the same URL to instantiate an Image object later in code, and hopefully the image binary will be already downloaded. This old Mozzilla doc describes the process:

Re: multiple rpc calls to server (can someone advise me!)

2009-02-06 Thread gregor
logic to call updateGrid1(..) from the async callback onSuccess(..) method. What is happening at the moment is that the grid update code is running at the same time the RPC call is executing over the wire, so ther is no new data in displayData1. regards gregor On Feb 6, 12:33 pm, ytbryan ytbr

Re: Calling of business method from Client

2009-02-06 Thread gregor
find it looks a lot better and is easier to use. There are other alternatives involving DisclosurePanels etc. This approach may not only be easier for the user, but you may find it a lot easier to code as well. regards gregor On Feb 6, 3:48 pm, Arul arulmanikandan.sriniva...@gmail.com wrote: Hi

Re: ScrollPanel maxWidth or maxHeight?

2009-02-06 Thread gregor
. Any ideas? Thx On 6 Feb., 15:23, gregor greg.power...@googlemail.com wrote: Is there a real browser-event or should i just call a check procedure whenever i add elements? The latter, no browser event available AFAIK. I have looked in vain for a general method to get

Re: Best image preloading practice?

2009-02-05 Thread gregor
in one request since they come in a single binary file. Cheers, Darkflame On Feb 4, 7:51 pm, gregor greg.power...@googlemail.com wrote: I'm not sure this a best practice issue as such - I think you may have more of an edge case here. I've tried your game (although I can't understand what

Re: Get remaining height of a panel or window

2009-02-05 Thread gregor
It sounds as though you are calling getOffsetHeight before the display has been fully rendered. A solution is to put your sizing algorithms inside a DeferredCommand. That way panel A should have been rendered already, and now it will have its height property set. On Feb 5, 1:15 pm, aragorn

Re: View remaining content of a full ocuupied window after resizing

2009-02-05 Thread gregor
can attach a WindowResizeListener to your EntryPoint class and kick off resizing algorithms from the onWIndowResize(..) method. regards gregor On Feb 5, 1:09 pm, aragorn sagar5...@gmail.com wrote: I have created a webpage which fits itself to the size of the browser window at start. Whenevr

Re: ScrollPanel maxWidth or maxHeight?

2009-02-05 Thread gregor
suppose one approach might be to set up a timer to check the current height at intervals and take appropriate action when it hit the limit, but this sounds very inefficient. regards gregor On Feb 5, 9:29 am, alex.d alex.dukhov...@googlemail.com wrote: Hi folks, I'm trying to impelement

Re: ScrollPanel maxWidth or maxHeight?

2009-02-05 Thread gregor
...@googlemail.comwrote: On 5 Feb., 16:10, gregor greg.power...@googlemail.com wrote: Hi Alex, I think you have to explicitly specify the height of a ScollPanel in pixels to get the scroll bars to kick in, and that will set the height of the panel from the word go. If what you mean

Re: Best image preloading practice?

2009-02-05 Thread gregor
 pm, gregor greg.power...@googlemail.com wrote: I'm not sure I can be of much more help on this myself, since I have never written anything like this, and I have not come across any specific posts about it I can recall - maybe some members have, so you can hope A few ideas/comments

Re: Best image preloading practice?

2009-02-04 Thread gregor
be worth searching the javascript forums for some ideas, as I'm sure this has been done before. regards gregor On Feb 4, 1:37 pm, darkflame darkfl...@gmail.com wrote: No, this is a large number of very large images, bundles are not approporate as that would mean they would all be loaded at once

Re: Events loop

2009-02-04 Thread gregor
It's difficult to see from this. You could strip out your data loading code and event handling, put them back bit by bit until you hit the problem, and post the relevant code if it's still not clear. On Feb 4, 6:13 pm, Vijay bhvijayku...@gmail.com wrote: Hi I am new to GWT and currently

Re: What is the most preferred way !!??

2009-02-03 Thread gregor
extra ClickListener references, as the number of ClickListener references is equal to the number of anonymous instances. Your thoughts ..?? On Feb 2, 11:17 pm, gregor greg.power...@googlemail.com wrote: This case requires one class ( anonymous extended EButton) creation. Your thoughts

Re: What is the most preferred way !!??

2009-02-02 Thread gregor
This case requires one class ( anonymous extended EButton) creation. Your thoughts ..?? Yes, but you are not reducing the number of event listeners by doing this. Each button is now itself a separate click event listener. So I don't think this answers the warning given in the link about

Re: Self-Updating List

2009-01-31 Thread gregor
Use GWT RPC (or you can use HttpRequestBuilder if your backend is not Java). It is an asynchronous mechanism therefore client's thread is released as soon as the request is fired off, the response being fielded later in a separate Callback method. The UI is therefore free for the duration of the

Re: What is the most preferred way !!??

2009-01-30 Thread gregor
Composite 2 registers with Composite 1, and Composite 1 mediates between Composite 2 and the button concerned. regards gregor On Jan 30, 6:15 am, Ajay Garg ajaygargn...@gmail.com wrote: Thanks danox for your viewpoint. However, just curious, isn't case 2 doable as a case 1; i.e. after

Re: what design pattern to use with DWT

2009-01-30 Thread gregor
I think the guts of MVC was invented (as so much was) at Xerox's Palo Alto research center when they invented the first WIMP UIs in the 70's. This fed into Smalltalk and was taken up also with Apple Lisa by the early 80's. Since most systems at the time were based around text screens run from

Re: what design pattern to use with DWT

2009-01-30 Thread gregor
into GWT's model - we have the browser's event queue, and we also often use anonymous inner classes for event listeners. On Jan 30, 12:03 pm, gregor greg.power...@googlemail.com wrote: I think the guts of MVC was invented (as so much was) at Xerox's Palo Alto research center when they invented

Re: What is the most preferred way !!??

2009-01-30 Thread gregor
/#p=google-web-toolkit-doc-1-5s=goog... On Jan 30, 5:27 pm, Ajay Garg ajaygargn...@gmail.com wrote: Thanks Gregor. Seeing the link, it says that creating an anonymous clicklistener class per widget is a performance overhead. This repops the question - what if the Button itself

Re: What is the most preferred way !!??

2009-01-30 Thread gregor
. Well, that's what the article I linked was warning you about. I can't see that what you are proposing is that much different from the standard anonymous ClickListener per button approach. Waiting for your thoughts ... On Jan 30, 6:00 pm, gregor greg.power...@googlemail.com wrote: Well

[gwt-contrib] 1.6 heap and stack size

2009-01-29 Thread gregor
if there's a way to release the extra 400M, or some other trick to get this to compile. The same module compiles under 1.5.3 at -Xms128m -Xmx150m (it fails out of memory at -Xms128m -Xmx140m), so it looks like something is a bit wrong here. Gregor

[gwt-contrib] Re: 1.6 heap and stack size

2009-01-29 Thread gregor
there is an order of magnitude increase in memory requirement (plus the stack frame increase) when compiling for all permutations under 1.6. Anyway, that's got me out of trouble for now, thanks Scott. On Thu, Jan 29, 2009 at 12:47 PM, gregor greg.power...@googlemail.comwrote: I'm trying

Re: what design pattern to use with DWT

2009-01-28 Thread gregor
in a real world stack) is much more important than worrying about what a controller is. regards gregor On Jan 28, 4:35 pm, Jason Essington jason.essing...@gmail.com wrote: MVC is a good design pattern to use with GWT. If you are new to GWT, get Ryan Dewsbury's book Google Web Toolkit   Applications

Re: interacting users

2009-01-27 Thread gregor
between player I making move and player 2 receiving it etc. regards gregor On Jan 27, 3:33 pm, Owen Powell opow...@gmail.com wrote: Hi guys, I'd like to know a bit about how to setup user interactions. For example, suppose I wanted to make a website where people can play chess against each other

Re: Web ontology language file (OWL) into gwt tree

2009-01-27 Thread gregor
layer, get next layers if/when user clicks to open branch). This is very quick (Sesame does the queries in about 16-32ms). If you need to edit the ontology itself, that's another matter. regards gregor On Jan 27, 11:42 pm, eoc...@googlemail.com eoc...@googlemail.com wrote: Hi, I have a web

Re: Problem with file upload

2009-01-24 Thread gregor
, Tomcat, and any other servlet container or application server you add support for in that getSystemBaseDir() method. regards gregor On Jan 24, 12:24 pm, Daniele dany.hat...@gmail.com wrote: Nothing works!!! For Gregory: Application see new photo uploaded when I click on refresh button on gwt

Re: Deployment server side issues

2009-01-24 Thread gregor
Have you set up your web.xml file properly for deployment? Search group for web.xml for loads of posts about that if not, otherwise post your web.xml for help. On Jan 24, 4:49 am, Feltros felt...@gmail.com wrote: Some help would be much appreciated. On Jan 17, 6:25 am, Feltros

Re: GWT and MS Office interoperability

2009-01-23 Thread gregor
I came across an MS Office feature mentioned in some web page (can't remember which I'm afraid) that suggested you could open an iframe in a panel within MS Office apps. That might be worth exploring, but I know no details. On Jan 23, 1:47 am, Arthur Kalmenson arthur.k...@gmail.com wrote: I

Re: Concerns about scalability and limitation in GWT

2009-01-23 Thread gregor
is big, it is usually building the UI HTML (i.e. running the javascript) that takes the time, therefore phasing construction, generating parts in reasonable chunks on demand, can make a much bigger difference. regards gregor What will happen when I finish developing my product? Will I end

Re: Problem with file upload

2009-01-22 Thread gregor
running it still won't find it. But if you hit refresh it will. Gregor On Jan 21, 7:28 pm, gregor greg.power...@googlemail.com wrote: OK, say I have test project com.willow.sandbox.Sandbox.gwt.xml I run project in hosted mode and URL in the hosted mode browser when I run it is:    http

Re: How to know if my application is running in Firefox or in IE or in any other browser

2009-01-21 Thread gregor
; }-*/; } regards gregor On Jan 21, 12:12 pm, LFCPD laieta.hip.hop...@gmail.com wrote: Thank Lothar for answering so fast. My problem may be solved in another way, but I didn't find it and I'm desperate. The problem I have in my application is the following one: In a TextArea I insert different

Re: Problem with file upload

2009-01-21 Thread gregor
error in your client side code (however unlikely that may seem since it works when you reboot), or something weird going on with browser caching. regards gregor On Jan 21, 5:27 pm, Daniele dany.hat...@gmail.com wrote: I don't understand.. 2009/1/20, gregor greg.power...@googlemail.com

Re: Problem with file upload

2009-01-20 Thread gregor
I reload application, this message disappear. Daniele 2009/1/19, Daniele dany.hat...@gmail.com: I try! 2009/1/18, gregor greg.power...@googlemail.com: so if you place a debug point here:       private static final long serialVersionUID = 403L;         public String[] getImageName

Re: Problem with file upload

2009-01-18 Thread gregor
when application make a upload call. But image doesn't appear when open a album widget... 2009/1/14, Daniele dany.hat...@gmail.com: I try some. Thanks. Daniele. 2009/1/14, gregor greg.power...@googlemail.com: There's nothing obviously wrong with this, and the fact

Re: GWT for SOA development

2009-01-16 Thread gregor
this solution conciliate with scalability issues. Is this architecture scalable? Can this architecture support the goals of my project? What do you think? On Jan 15, 5:35 pm, gregor greg.power...@googlemail.com wrote: If, for example, I've an application with a rich client interface (e.g

Re: GWT for SOA development

2009-01-15 Thread gregor
ESB vendors would like people to think of their message buses as Controllers, and in the multi-system business process scenario discussed above they undoubtedly are, but MVC usually refers to how a UI interacts with the Domain Model. regards gregor My idea is that, FROM A PRACTICAL

Re: Problem with file upload

2009-01-14 Thread gregor
for your file upload servlet (the one that uploads a new image) and your RPC servlet that returns lists of image names for a given album, we might be able to help you sort it out regards gregor On Jan 14, 8:56 am, mon3y darkside...@hotmail.com wrote: Hmmm..i just read that and it confused me What i

  1   2   3   >