Development Mode requires the Google Web Toolkit Developer Plugin

2010-05-12 Thread Magnus
above. The available browsers in Debian are Iceweasel, Iceape, Epiphany and Konqueror. I would like to stay in the scope of my package management system. What can I do? Magnus -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post

Where to place new Widget class?

2010-05-27 Thread Magnus
use the ServerPanel, I get errors within eclipse, e. g. [ERROR] [firstwebapp] Unable to find type 'fwa.Application.client.FirstWebApp' Any hints? Thank you Magnus -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send

Re: Where to place new Widget class?

2010-05-27 Thread Magnus
As I said, I am absolutely new to GWT. I don't know, which code to put on the server and which on the client. Is there a basic rule, then please let me know. In general, I would try to put as much as possible to the server, but I cannot really judge, what fits where best... Thank you Magnus

how to use one panel for the whole browser window?

2010-05-27 Thread Magnus
Hello, I would like to build my GUI within one panel that fills the whole browser window. What do I have to do in the host page and/or in the panel to stretch it to this dimensions? Thank you! Magnus -- You received this message because you are subscribed to the Google Groups Google Web

how to center a panel within another panel?

2010-05-28 Thread Magnus
panel is centered within the DockLayoutPanel's center (but not resized) Thank you Magnus -- 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-tool...@googlegroups.com. To unsubscribe from this group

Menubar - retrieving the selected menu item within the Command object?

2010-05-29 Thread Magnus
compact, i. e. using a single method that reacts on menu item selections and distinguishes the items with a select statement... Many thanks Magnus -- 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

Re: Menubar - retrieving the selected menu item within the Command object?

2010-05-30 Thread Magnus
this the normal way in java? Doesn't this blow up the code in an unnecessary way?? Magnus On May 29, 8:25 pm, kozura koz...@gmail.com wrote: No, but you can do something close: m.addItem(Login, new MenuCmd(1)); m.addItem(Logout, new MenuCmd(2)); class MenuCmd implements Cmd { private int

eclipse: using external jar library - No source code is available for type type; did you forget to inherit a required module?

2010-05-30 Thread Magnus
is available for type mylib.Method; did you forget to inherit a required module? What does this mean and how can I resolve it? Thanks Magnus -- 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

DockPanel - how to maximize center?

2010-05-31 Thread Magnus
bit heigher than the MenuBar. And: When I add small content to pnl_Center, its heigher than when I add big content to the center. How can I achieve that the north part is just as high as the MenuBar? Thank you Magnus -- You received this message because you are subscribed to the Google Groups

best panel for forms?

2010-06-01 Thread Magnus
Magnus -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options

nested layout issues

2010-06-01 Thread Magnus
it to be that small? Help would be great! I post my layout method below... Thanks Magnus - private boolean createPanel () { // // pnl pnl.setSize (100%,100%); pnl.addNorth (new SimplePanel (),mtr_Border); pnl.addSouth (new SimplePanel (),mtr_Border); pnl.addWest (new

inserting space between form elements

2010-06-01 Thread Magnus
(TextBox); But nothing happens... How can I get some space between the items? Magnus -- 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-tool...@googlegroups.com. To unsubscribe from this group

Re: nested layout issues

2010-06-02 Thread Magnus
Hi, well, to center my main panel horizontally and vertically, I need a method to set the alignment. These methods are provided by Horiziontal/ VerticalPanel, but not by DockLayoutPanel. Or am I wrong? Thanks Magnus On 1 Jun., 23:32, kozura koz...@gmail.com wrote: although given that you

login/logout/remember

2010-06-02 Thread Magnus
folder of a GWT project, or it could be realized as a servlet. When do I use a servlet and how? Thank you! Magnus -- 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-tool...@googlegroups.com

Re: login/logout/remember

2010-06-03 Thread Magnus
Hi, thank you for the code! I adopted it to my application. So you authenticate the user via the remote service! But how do you actually store the user context the app is running in? Do you do some session management? Thanks Magnus On Jun 2, 7:15 pm, Bruno Lopes bruno.lourenco.lo...@gmail.com

how to identify users within a session

2010-06-03 Thread Magnus
Hi, I can authenticate a user that logs in using a remote service (thanks to Bruno). But how do I remember that user in the current session? Should I store the username in the session? And how can I store things in the current session? Thanks Magnus -- You received this message because you

building a gui with different panels - nothing works...

2010-06-05 Thread Magnus
within another panel. Well, nothing works. So GWT does not make any fun. Please help me! Magnus -- 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-tool...@googlegroups.com. To unsubscribe from

Re: building a gui with different panels - nothing works...

2010-06-05 Thread Magnus
set the vertical size for the menubar container to match its real height? It is hardcoded (100). Thanks Magnus On Jun 5, 8:22 pm, fmod francisco.mode...@gdsoft.eu wrote: If you want to have nested Layout Panels, they need to be inside the Layout family. Otherwise they will not render well. So

Re: building a gui with different panels - nothing works...

2010-06-05 Thread Magnus
the browser window. But when I change the inner SimplePanel to a LayoutPanel (as you told), then the HorizontalPanel (the red frame) gets to small, so the inner contents are not shown completely. Please help! Its disappointing to work in trial error mode... Thanks a lot! Magnus -- You

Re: building a gui with different panels - nothing works...

2010-06-05 Thread Magnus
and the current main panel centered. Thanks Magnus -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr

layout problems with positioning or aligning content

2010-06-06 Thread Magnus
and what to do with CSS. Could you please point me into the right direction? Maybe I should do it totally different. Thank you Magnus -- 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-tool

Re: layout problems with positioning or aligning content

2010-06-06 Thread Magnus
The link: http://h1403230.stratoserver.net/apache2-default/tmp/gwt-layout.png -- 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-tool...@googlegroups.com. To unsubscribe from this group, send

Re: layout problems with positioning or aligning content

2010-06-07 Thread Magnus
, but I thought, the promise of GWT is to get away from such workarounds... Please consider giving me just a small hint. I would be thankful for each one... Thank you Magnus On 6 Jun., 16:33, Magnus alpineblas...@googlemail.com wrote: The link:http://h1403230.stratoserver.net/apache2-default/tmp

1 layout - 3 browsers - 3 results?

2010-06-08 Thread Magnus
serious mistakes (I hope so), or - predictable layouts are not realizable with GWT I have reduced the code to a minimum. If you like, you can view the main source files or download the whole eclipse project: http://h1403230.stratoserver.net/apache2-default/tmp/LayoutTest/ What do you think? Magnus

Re: layout problems with positioning or aligning content

2010-06-08 Thread Magnus
is not suitable for doing predictable layouts in my opinion... Magnus -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web

Re: layout problems with positioning or aligning content

2010-06-08 Thread Magnus
Hi fmod, I am thinking about your advice using UIbinder, but I think I cannot use it, because my layout is dynamically generated. I think that the declarative way using UIbinder is for fixed panels like forms, isn't it? Magnus -- You received this message because you are subscribed

Re: 1 layout - 3 browsers - 3 results?

2010-06-08 Thread Magnus
This is the case for TestLayout.html: !doctype html Magnus On Jun 8, 6:08 pm, kozura koz...@gmail.com wrote: Not sure how many times this has been stated, but if you use the Layout panels as it seems you are, you must use standards mode by adding !DOCTYPE HTML to the top of your html file

Re: 1 layout - 3 browsers - 3 results?

2010-06-08 Thread Magnus
Hi Ian, does this mean that I have to do all the layout in absolute coordinates manually? I thought this would GWT do for me. In addition, the layout under IE 7 is totally broken. What is the whole set of layout panels good for, when it does not provide some predictable results? Magnus On Jun

Re: layout problems with positioning or aligning content

2010-06-08 Thread Magnus
for a new account. And I would like the form to be centered within the middle space... Magnus On Jun 8, 5:48 pm, Tristan Slominski tristan.slomin...@gmail.com wrote: What do you mean by dynamically generated? Are you setting styles and widths programmatically? What's the use case? On Tue

Re: 1 layout - 3 browsers - 3 results?

2010-06-08 Thread Magnus
Is there a typo? top:50%;margin:top:-300px; Do you mean margin-top? I don't understand it. What's the effect of this? Magnus On Jun 8, 7:25 pm, Ian Bambury ianbamb...@gmail.com wrote: I'm sure someone will correct me if I'm wrong, but layout panels are more for using the whole of an area

Re: 1 layout - 3 browsers - 3 results?

2010-06-08 Thread Magnus
for the other environments... But what about the differences in the browsers? I thought that GWT manages them? Magnus On Jun 8, 7:54 pm, Ian Bambury ianbamb...@gmail.com wrote: I think you might need to use 'position:absolute' and set left and margin-left the same way. It's a long time since I've used

Re: 1 layout - 3 browsers - 3 results?

2010-06-09 Thread Magnus
://roughian.com/magnus/) looks wrong in Linux/FF? There is something missing, especially the chess board, which should be centered within the red box. Look at my screenshots. BTW, didn't get the screenshot. I put them here and they should be world-readable: http://h1403230.stratoserver.net/apache2-default/tmp

Re: 1 layout - 3 browsers - 3 results?

2010-06-09 Thread Magnus
is a Grid. I don't know its pixel size. How do I do this? Maybe this could be a perfect solution... Thank you! Magnus On 8 Jun., 18:29, Ian Bambury ianbamb...@gmail.com wrote: I think your best bet is to use the onResize and just calculate it. CSS doesn't support centring vertically and I don't

Re: 1 layout - 3 browsers - 3 results?

2010-06-09 Thread Magnus
. The point is that I add another layout pane to the remaining space. Where is the contradiction? So this (http://roughian.com/magnus/) looks wrong in Linux/FF? There is something missing, especially the chess board, which should be centered within the red box. Look at my screenshots. I didn't

Re: 1 layout - 3 browsers - 3 results?

2010-06-09 Thread Magnus
? Thanks Magnus -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more

Re: 1 layout - 3 browsers - 3 results?

2010-06-09 Thread Magnus
/apache2-default/tmp/LayoutTest/Screenshots/Linux%20-%20Firefox%203.6.3.jpg Sorry for this confusion... Magnus -- 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-tool...@googlegroups.com

Re: 1 layout - 3 browsers - 3 results?

2010-06-09 Thread Magnus
On 9 Jun., 14:11, Ian Bambury ianbamb...@gmail.com wrote: You don't need a parent panel as such, just position it absolutely after adding it to the RootPanel. But how do I get the Resize-Event if I don't subclass an existing layout panel? Magnus -- You received this message because you

Re: 1 layout - 3 browsers - 3 results?

2010-06-09 Thread Magnus
a widget needs *independently* of its current size. Or how would you resize the menubar? Thanks Magnus On 9 Jun., 15:35, Ian Bambury ianbamb...@gmail.com wrote: But how do I get the Resize-Event if I don't subclass an existing layout panel? Window.addResizeHandler(handler); -- You received

Re: 1 layout - 3 browsers - 3 results?

2010-06-09 Thread Magnus
Hi, everything you said is correct. Magnus On Jun 9, 5:09 pm, Alejandro D. Garin aga...@gmail.com wrote: Hi, To be clear: What are you expecting to have in your layout scenario? i.e. A menu on top, a Chess Widget centered in the browser with same margins from top/left/right/bottoms? Also

Re: 1 layout - 3 browsers - 3 results?

2010-06-09 Thread Magnus
Hi Alejandro, this looks very good and I am still analyzing the java code. I will give you a more detailed feedback later... The java code looks clean, but the html file is pumped up with of JavaScript. Does this code belong to the solution or is it just generated from other sources? Magnus

Re: 1 layout - 3 browsers - 3 results?

2010-06-09 Thread Magnus
Hi Alejandro, forget my question about the html file. Following your link to the html file leads to the JavaScript hell. :-) But I managed to download the original source, which is quite friendly. I'll test and I'll answer! Many thanks! Magnus On Jun 9, 8:28 pm, Magnus alpineblas

Re: 1 layout - 3 browsers - 3 results?

2010-06-10 Thread Magnus
on FF and IE. Good job! Thanks again! Magnus On 9 Jun., 20:31, Alejandro D. Garin aga...@gmail.com wrote: Just from the webappcreator. Nothing special. On Jun 9, 2010 3:28 PM, Magnus alpineblas...@googlemail.com wrote: Hi Alejandro, this looks very good and I am still analyzing the java

Re: 1 layout - 3 browsers - 3 results?

2010-06-10 Thread Magnus
, (Command)null); m.addItem (Logout,(Command)null); m.addItem (Register,(Command)null); m.addItem (Profile,(Command)null); menu.addItem (Account,m); What's that again? Magnus On 10 Jun., 13:08, Magnus alpineblas...@googlemail.com wrote: Hi Alejandro, thank you very much

opening popup menu hides all remaining page content

2010-06-10 Thread Magnus
. There is no other code and no CSS, just the empty project created with the eclipse plugin. Since there is nothing special in this code, I assume that this problem must be known to others. Thank you Magnus - package test.client; import com.google.gwt.core.client.EntryPoint; import

retrieving the size of a panel/widget before it is added

2010-06-10 Thread Magnus
Are there methods to do this? Thanks Magnus -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit

Re: layout problems with positioning or aligning content

2010-06-11 Thread Magnus
Hi, your example does not work for me. g:VerticalPanel horizontalAlignment=ALIGN_MIDDLE This means AFAIK that the content of the VerticalPanel are aligned within the VerticalPanel, but not the VerticalPanel itself. Also it does not align vertically... Magnus On 11 Jun., 09:40, Tristan

UIbinder reference?

2010-06-11 Thread Magnus
Hi, I cannot find a reference documentation for the UIBinder XML syntax. I googled all day long, but all that I find are examples, even on code.google.com. E. g. I need the allowed tags and attributes for a Grid structure... Where is the documentation? Thank you Magnus -- You received

Re: retrieving the size of a panel/widget before it is added

2010-06-11 Thread Magnus
Hi, what makes the difference? Magnus On 11 Jun., 15:12, Thomas Broyer t.bro...@gmail.com wrote: On 11 juin, 07:53, Magnus alpineblas...@googlemail.com wrote: Hi, when I add a VerticalPanel to the center of a DockLayoutPanel, it will immediately be stretched to the remaining size

Re: 1 layout - 3 browsers - 3 results?

2010-06-11 Thread Magnus
is needed to do the centering as you did in your code. How would you do this? Can you help me again? Thank you Magnus On Jun 11, 6:54 pm, Alejandro D. Garin aga...@gmail.com wrote: Hi, I added the menu items you mention and it is working, tested in IE8. On Fri, Jun 11, 2010 at 1:42 AM, Magnus

Re: 1 layout - 3 browsers - 3 results?

2010-06-15 Thread Magnus
: doc.getParent ().gettOffsetHeight(); ? The latter code would also be usable for parents that are no DockLayoutgPanel. Is there a special reason? Magnus On 12 Jun., 15:11, Alejandro D. Garin aga...@gmail.com wrote: Hi Try this: (only tested on mac FF and Safari) http://www.puntosoft.com.ar/gwt

Re: using gwt for games - svg, canvas or something else?

2010-06-15 Thread Magnus
in the future? Are'nt there methods for using canvas with plain GWT? Magnus On 11 Jun., 17:43, Hilco Wijbenga hilco.wijbe...@gmail.com wrote: On 11 June 2010 07:56, Aljosa Mohorovic aljosa.mohoro...@gmail.com wrote: i've found several gwt extensions that have svg or canvas support but i have no idea

Re: retrieving the size of a panel/widget before it is added

2010-06-15 Thread Magnus
Hi, sorry for my late reply. You were totally right. I fixed it with an AbsolutePanel. Magnus On Jun 11, 4:36 pm, Thomas Broyer t.bro...@gmail.com wrote: On 11 juin, 15:37, Magnus alpineblas...@googlemail.com wrote: Hi, what makes the difference? The intermediate panel would be sized

Re: login/logout/remember

2010-06-15 Thread Magnus
What's PersonDTO? Magnus On 3 Jun., 22:36, Bruno Lopes bruno.lourenco.lo...@gmail.com wrote: Then on the server side for the LoginService public LoginResponse login(String username, String password) {         LoginPService loginService = ServiceLocator.getLoginService();         PersonDTO

GWT and CSS

2010-06-16 Thread Magnus
to inherit a style into another style, e. g. my-button inherits gwt-Button, so that I just add my adjustments? Another question in this context: The MenuBar within the GWT widget gallery looks much cooler than mine. But I did not apply any styles at all. What's the reason for this? Magnus -- You received

AsyncCallback - returning values to enclosing block

2010-06-16 Thread Magnus
Hi, because I cannot access a variable in the enclosing block from within an AsyncCallback method I found the following workaround with a class global variable, which I find very unpretty. How can one do this better? String tmp_str_usr = ; String getUser () { SystemServiceAsync svc =

first time deploy on tomcat - ServiceImpl not found on server

2010-06-16 Thread Magnus
exclude name=WEB-INF/** / webinf dir=war/WEB-INF/ include name=**/*.jar / /webinf /war /target target name=deploy copy file=ics.war todir=. / /target /project Can you help? Thanks Magnus -- You received this message because you are subscribed to the Google Groups Google Web

Re: opening popup menu hides all remaining page content

2010-06-16 Thread Magnus
Hi, what does this mean: Fixed in 2.1M1? When will this fix be available to all? Thanks Magnus On 11 Jun., 15:09, Thomas Broyer t.bro...@gmail.com wrote: On 11 juin, 07:07, Magnus alpineblas...@googlemail.com wrote: Hello, I found a strange problem under IE 7: When I click on a menu

using buttons - attaching Command objects?

2010-06-16 Thread Magnus
btn_3 = new Button (B3); Command cmd_1 = new Command(1); Command cmd_2 = new Command(2); Command cmd_3 = new Command(3); ... // in ClickHandler: public void onClick (ClickEvent e) { Command c = getCommandForButtonFromClickEvent(e); } Thanks Magnus -- You received this message because you

Re: using buttons - attaching Command objects?

2010-06-16 Thread Magnus
Thank you, I found the rest: subclassing Command. Magnus On Jun 16, 6:59 pm, Jaroslav Záruba jaroslav.zar...@gmail.com wrote: On Wed, Jun 16, 2010 at 6:47 PM, Magnus alpineblas...@googlemail.comwrote: Hi, is the following possible: 1) Having one ClickHandler for several Buttons

Re: GWT and CSS

2010-06-16 Thread Magnus
Hi Sven, I think that's an issue for me. When I use addStyleName with padding/ margin, it has no effect. I guess it's overwritten. However, copying the standard.css sounds not nice to me. Isn't there another (programmatical) solution? Magnus On Jun 16, 1:35 pm, Sven sven.ti...@googlemail.com

enable/disable widgets?

2010-06-17 Thread Magnus
Hi, how can I enable/disable a widget (TextBox, Button, etc.)? I would like to iterate all Widgets of a form and set this status. I found no appropriate methods in the Widget class... Magnus -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group

Re: first time deploy on tomcat - ServiceImpl not found on server

2010-06-17 Thread Magnus
Hi, I found it: The ant file above (which I found in the net) has an exclude statement (exclude name=WEB-INF/** /) which also excluded the classes dir. Magnus On 16 Jun., 14:50, Magnus alpineblas...@googlemail.com wrote: Hi, I deployed my app for the first time on a tomcat server

central configuration file (xml) - where to place?

2010-06-18 Thread Magnus
Hi, I want to have a central configuration xml file to store things like database connection. The file should be accessible from the client and the server code. Where should I place this file and how can I access it (are java properties supported in client code?)? Thank you Magnus -- You

Re: central configuration file (xml) - where to place?

2010-06-19 Thread Magnus
question: Where in the file system should I put them? Direct in the war directory? Or somewhere below? Thank you Magnus On Jun 18, 5:15 pm, Magnus alpineblas...@googlemail.com wrote: Hi, I want to have a central configuration xml file to store things like database connection. The file should

grid/table - combining cells like in colspan in HTML?

2010-06-19 Thread Magnus
Hi, I am using Grid to layout forms. For longer TextBoxes I need to combine a cell with its (horizintal) neighbour cell. In HTML it would be something like that: tr tdField 1/td tdField 2/td /tr tr td colspan=2Field X/td /tr Thanks Magnus -- You received this message because you

server side entry point to open/close database?

2010-06-20 Thread Magnus
like that. An alternative way would be to open and close the database on each service call. How do you do this? Thank you Magnus -- 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-tool

Exceptions after unchecking Use Google AppEngine

2010-06-20 Thread Magnus
help? Thank you Magnus [WARN] Server class 'com.google.appengine.repackaged.org.apache.commons.logging.impl.Log4JLogger' could not be found in the web app, but was found on the system classpath [WARN] Adding classpath entry 'file:/home/wagner/.eclipse/ org.eclipse.platform_3.3.0_385211434

Re: Exceptions after unchecking Use Google AppEngine - SOLVED

2010-06-20 Thread Magnus
when running the app in hosted mode. My (unsatisfactory but working) approach: Create a new Web Application Project, where AppEngine is unchecked at project creation. I hope this will be usefull for someone... Magnus On Jun 20, 2:35 pm, Magnus alpineblas...@googlemail.com wrote: Hello, after

Grid - controlling pixel sizes

2010-06-23 Thread Magnus
anything. The heigth ist set correctly. As a consequence, I cannot really controll the cell's pixel sizes. What's that? The code for my component is shown below. Thank you Magnus - package chess.client; import com.google.gwt.user.client.*; import com.google.gwt.user.client.ui.*; public class

Re: server side entry point to open/close database?

2010-06-23 Thread Magnus
Hello, after your post I would open/close my db within each service call. If I would do it with a pool, I would need 2 entry points, one to open the pool and one to close it. If I would go this way, would these entry point exist (is there a deinit)? Thanks Magnus On 20 Jun., 15:58, roji rojan

Re: enable/disable widgets?

2010-06-23 Thread Magnus
Hello, I actually needed the functionality in the widget class to let my own Form class enable/disable all its child widgets at the same time. However, I made this workaround and it's ok for me at the moment: public void setEnabled (boolean e) { IteratorWidget itr = grd.iterator (); // grd

How could this be realized? (see URL)

2010-06-24 Thread Magnus
Hello, I wonder how this can be realized: http://www.jinchess.com/chessboard/composer/ I believe the left board is not a HTML Table or a subclass of it (Grid, ...). How would you do this? Magnus -- You received this message because you are subscribed to the Google Groups Google Web Toolkit

accessing images in src folder

2010-06-24 Thread Magnus
in src/.../MyClass/subfolder/ myImage.png? Thanks Magnus -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit

Re: accessing images in src folder

2010-06-25 Thread Magnus
Thank you, this works fine! Magnus On 24 Jun., 21:25, roji rojan...@gmail.com wrote: Hi Magnus. The GWT way of referencing images (and other static resources)  is to use a ClientBundle. You can see some instructions athttp://code.google.com/webtoolkit/doc/latest/DevGuideClientBundle.html

Re: How could this be realized? (see URL)

2010-06-25 Thread Magnus
widget, but this is in an experimental state and I don't know if I should build on it. What do you think about this? Thanks Magnus -- 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-tool

Re: accessing images in src folder

2010-06-25 Thread Magnus
Can I also access XML or property files in this way? I found TextResource, but this is not parsed. Magnus On 25 Jun., 08:13, Magnus alpineblas...@googlemail.com wrote: Thank you, this works fine! Magnus On 24 Jun., 21:25, roji rojan...@gmail.com wrote: Hi Magnus. The GWT way

TabPanel - 100% height for client widget?

2010-06-26 Thread Magnus
2); Thanks Magnus -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com

how to control the pixel sizes of a Grid?

2010-06-26 Thread Magnus
of the grid must therefore be 8*50 + 2*10 = 420 (width and height). I cannot get this realized with a grid. Although I set the pixel sizes for every cell, it's never correct. The annotation cells are always of the same size as the other cells. Below is my code. What can I do? Thanks Magnus

Re: how to control the pixel sizes of a Grid?

2010-06-28 Thread Magnus
, and I verified that there is vertical space between the images. (I set cellspacing and cellpadding to 0) How can I get the grid to show its cells without any space? Thanks Magnus On 27 Jun., 12:59, andreas horst.andrea...@googlemail.com wrote: Hey, maybe this can help you: http

Re: how to control the pixel sizes of a Grid?

2010-06-28 Thread Magnus
Hi, I also set the border width to 0: grd.setBorderWidth(0); Thanks Magnus On 28 Jun., 09:53, andreas horst.andrea...@googlemail.com wrote: Try setting the border width on the Grid instance to 0: http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/g...) - Andreas On 28

Re: how to control the pixel sizes of a Grid?

2010-06-28 Thread Magnus
Hi, I made a screenshot of the table: cannot post link to imageshack, why? I drew a cross on the transparent images for debugging. As you can see, there is always a vertical space between the images. I post my current code below. Thanks for help Magnus --- private void init

Re: how to control the pixel sizes of a Grid?

2010-06-28 Thread Magnus
Here is the screenshot: http://yfrog.com/j7chessboardj Magnus -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google

Re: how to control the pixel sizes of a Grid?

2010-06-28 Thread Magnus
Hello, I made another screenshot with red borders around the images: http://yfrog.com/cachessboardj As you can see there is vedrtical space below each image. I just found out that this is not the case in IE. Thanks Magnus On 28 Jun., 11:51, andreas horst.andrea...@googlemail.com wrote: Where

Re: how to control the pixel sizes of a Grid?

2010-06-28 Thread Magnus
having so many panels? Doesn't this consume much resources? Magnus On Jun 28, 3:14 pm, andreas horst.andrea...@googlemail.com wrote: Yes I see. Maybe the image file dimensions and the dimensions of the Image instances are conflicting. When I get it right the dimensions of the Image instances

Re: how to control the pixel sizes of a Grid?

2010-06-28 Thread Magnus
BTW: I must set the grids pixel size, because it will be of height 0. The parent is a DockLayoutPanel... But it's ok, since I know the correct size... Magnus -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send

Re: how to control the pixel sizes of a Grid?

2010-06-29 Thread Magnus
/standard.css is empty... Below is my code. Maybe someone is also interested in finding out what's going on there. Thanks Magnus - import ics.client.gui.brd.img.WikiMedia.Resources; import java.io.InputStream; import com.google.gwt.core.client.GWT; import com.google.gwt.dom.client.*; import

overriding CSS styles using the !important; keyword

2010-06-30 Thread Magnus
. But it succeeded in other cases. How can I get rid of the bottom border? Thanks Magnus -- 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-tool...@googlegroups.com. To unsubscribe from

Re: TabPanel - 100% height for client widget?

2010-07-03 Thread Magnus
border) is ok. But its child panel (blue border) is crunched at the top. How can I get the blue border maximized to the red border? Thanks Magnus -- 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

Re: TabPanel - 100% height for client widget?

2010-07-03 Thread Magnus
(); p.setPixelSize (100,200); HTML txt1 = new HTML(This isa Text 1.); p.add (txt1); // txt1.setPixelSize (200,200); pnl.add (p,Home 1); HTML txt2 = new HTML(This is Text 2.); pnl.add (txt2,Home 2); } Magnus On Jul 3, 6:43 pm, aditya sanas 007aditya.b...@gmail.com wrote: I think for that you

gradient background over multiple panels?

2010-07-04 Thread Magnus
Hi, I have multiple different panels stacked vertically I assigned a gradient background to each of them. But this does not look good, because the gradient begins again at each panel. Can I assign a common background image over multiple panels? Magnus -- You received this message because you

RPC - which exception types may be used???

2010-07-05 Thread Magnus
IllegalArgumentException: works, but is not that what I want Question 1: What Exception types may be used for RPC? Question 2: Where (which source files) do I have to declare the exception? Service ServiceAsync ServiceImpl Thanks Magnus -- You received this message because you are subscribed

Re: gradient background over multiple panels?

2010-07-05 Thread Magnus
Hi, thanks! How can I make them transparent? Magnus -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web

Re: RPC - which exception types may be used???

2010-07-06 Thread Magnus
Exception type or can I pass SQLException over RPC somehow? Thanks Magnus On Jul 5, 10:24 pm, andreas horst.andrea...@googlemail.com wrote: From what I know you can use any type of exception, but: - GWT needs to know the source (file) of the exception (it's either in an inherited module

Re: RPC - which exception types may be used???

2010-07-06 Thread Magnus
. But this is not the case in the GreetingService example... What do I have to do that I can invoke the service callback without try/catch? Thanks Magnus -- 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-tool

FlexTables - store invisible database key in row?

2010-07-07 Thread Magnus
Hi, I would like to use a FlexTable as a list of users and I need to attach a user id to each row somehow, in order to identify the user when a row is selected. I tried to use a column of width 0px, but this column is visible... How would you do that? Thanks Magnus -- You received

Re: FlexTables - store invisible database key in row?

2010-07-08 Thread Magnus
Hm, this doesn't work for me. All the cells are shifted in their horizontal positions... With your method the table does not behave as if the column width were 0px. I wonder how to deal with this stuff... Magnus On Jul 7, 7:47 pm, Thad thad.humphr...@gmail.com wrote: I do this in a number

Re: FlexTables - store invisible database key in row?

2010-07-08 Thread Magnus
: tbl.getFlexCellFormatter ().getElement (y,0).setAttribute (idx,+idx); // y is the current row, idx is the database index (BTW: is there a better way to convert an int to String than +idx?) Magnus -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group

Re: TabPanel - 100% height for client widget?

2010-07-11 Thread Magnus
of things that should be already available. I cannot understand why TabLayoutPanel insists on having its content area squeezed at the top... Magnus On Jul 4, 12:24 am, Magnus alpineblas...@googlemail.com wrote: Thanks! I tried with dummy panels, VerticalPanel and SimplePanel. I tried absolute

Eclipse - Google Addons are gone after update

2010-07-11 Thread Magnus
eclipse in order to get the GWT specific menu items again. Can you help? Thank you Magnus -- 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-tool...@googlegroups.com. To unsubscribe from

Re: Eclipse - Google Addons are gone after update

2010-07-12 Thread Magnus
reinstalled eclipse, I deleted the eclipse directory (/usr/local/eclipse) as well as the local configuration (.~/.eclipse). I do not know why the message appears that the plugin is already installed... Please help! I want to continue with my GWT projects! .-) Magnus - error.log

  1   2   3   4   5   6   7   8   >