Re: disable hyperlink

2008-11-26 Thread alex.d
If you wanna it look disabled - change CSS style. If you wanna your clickListener not being executed - just remove it(use a single listener method - not an anonymous inner class). On 26 Nov., 17:03, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > It's a little hacky, but we just substitute a lab

Re: Need to richer widget set in GWT

2008-11-26 Thread alex.d
Libraries close to your wish list are GXT and GWT Mosaic. > > > > The widgets that matter most to me are: > > > > 1. Sortable table/grid > > > > 2. Grouping table/grid > > > > 3. Paging table/grid > > > > 4. Dragable pop dialog (Having action buttons at the top right of the > > > > dialog) > > >

Re: disable hyperlink

2008-11-27 Thread alex.d
clickListener, it will cause an onHistroryChange > > event right? > > > On Thu, Nov 27, 2008 at 1:08 PM, Danny Schimke <[EMAIL PROTECTED]>wrote: > > >> Should'nt setVisible() do this for HyperLinks too? > > >> setVisible needs an element and boolean: >

Re: GWT + MySQL Best Practices?

2008-11-27 Thread alex.d
Imho, maven is overdesigned if you don't have junit tests and other stuff. Ant is more than enough for just creating a war file(i do it with one button-click in eclipse). The only manual step is to copy it to your webapps-folder on the server ;-) On 27 Nov., 14:02, "olivier nouguier" <[EMAIL PROT

Re: "How to change theme"

2008-11-30 Thread alex.d
For example with: in YourProject.gwt.xml On 1 Dez., 08:14, Kusum <[EMAIL PROTECTED]> wrote: > Hello All, > > I am making an application for my own interest.I want to change theme > or we can say i want to swap CSS. > Can someone please help me how to swap theme using GWT. > > -KG --~--~

Re: Interesting question:how can I get the rownumber of a cell that contain a button when I click this ?

2008-12-02 Thread alex.d
I think i can imagine what Alex meant: the answer is - the easiest way is to extend Button-class to save the row number while initialising the table. Not sure if this falls under "no pre-condition". On 2 Dez., 13:22, mon3y <[EMAIL PROTECTED]> wrote: > Clap your hands if you think we need more inf

Re: Change Browser Address Dynamically

2008-12-02 Thread alex.d
Not really. With ajax your URL typically doesn't change. But with HistoryListener you can implement smth. like: http://www.mysite.com/mycompany/myproj.html#HOME http://www.mysite.com/mycompany/myproj.html#ABOUTUS For more info - read help on HistoryListener. On 3 Dez., 07:35, Ryan <[EMAIL PROTE

Re: viewport resize listener

2008-12-02 Thread alex.d
Basically you have to listen to browser "change size" events (not sure how reliable this is in all supported browsers) and forward new size to your widgets. Ext GWT (and probably GWT Ext) for example, already has ViewPort implementation. On 3 Dez., 05:11, Litty Preeth <[EMAIL PROTECTED]> wrote: >

Re: Easiest way to open a new window with some text in it?

2008-12-02 Thread alex.d
In good old javascript time i've done this like: var popup = $wnd.open('scripts/display.php', '_blank', null); popup.getElementById('idShowText')... // Hier get a div or smth. and show/insert your text On 2 Dez., 19:48, darkflame <[EMAIL PROTECTED]> wrote: > nope..apperently I cant use a form pa

Re: Easiest way to open a new window with some text in it?

2008-12-03 Thread alex.d
ng triggered is; > > var popup = $wnd.open('scripts/printthis.php', '_blank', null); >                 popup.getElementById('idShowText').innerHTML="someText"; > >             return; > > The window pops up ok, but the text remains just

Re: Toggle text color in timer

2008-12-03 Thread alex.d
I would rather create a new Widget called BlinkyLable(String style1, String style2, int timerinterval) which has both styles and can save the current one ;) Plus a few Methods like startToBlink, stopToBlink etc. On 4 Dez., 06:33, ArunDhaJ <[EMAIL PROTECTED]> wrote: > Hi, > I wanted to make a labe

Re: Easiest way to open a new window with some text in it?

2008-12-03 Thread alex.d
cument.write(popup.title); > or >  document.write(popup.url); > > both return undefined. (despite that a title is set). > > It seems popup just isnt refering to the newly created window. > > ~~ > Reviews of anything, by anyone;www.rateoholic.co.uk > Please try out my

Re: generating for all browsers

2008-12-07 Thread alex.d
Looks good. Why do you think gwt is generating only for ie6? On 8 Dez., 05:03, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > this is how my .gwt.xml looks like...anything missing? > > >       >       >       >       >           >           > >       >       >       >       >      

Re: Suggestions with code design

2008-12-08 Thread alex.d
RPC doesn't and can't handle file uploads. AWT can't be used on the client side. You will to have to write a normal servlet, upload your images, return a combined image at the end. I've seen some nice flash multi-file- upload-widgets that you probably can use. On 7 Dez., 05:54, Rohan Redkar <[EMA

Re: generating for all browsers

2008-12-08 Thread alex.d
About ...\www\com.myapp.app\gwt\standard\images: It's not really generated - just copied from your src folder and it's ok that there is only one ie6 folder there. About DecoratedStackPanel lookint pretty ugly: There are small layout differences in different browsers. And decorated panel have had

Re: Charting capabilities under GWT

2008-12-10 Thread alex.d
Take a look at the Google Visualisation API Library - i think it maybe exactly what you need: http://google-code-updates.blogspot.com/2008/12/google-visualization-api-library-now.html On 9 Dez., 17:12, Srini Marreddy <[EMAIL PROTECTED]> wrote: > I suggest to take a look at Google charts api. It

Re: SlideShow with GWT

2008-12-15 Thread alex.d
Vanilla GWT doesn't have it but i've seen one of this in Ext GWT or GWT-Ext - don't remember which one ;-) On 16 Dez., 06:08, Gabriel Gutierrez wrote: > hi guys, i need to do an slide show inside my app. is there any pre- > existing gadget or component that i can use instead of building from > s

Re: Profiling browser memory usage in a GWT application

2009-01-06 Thread alex.d
Open fireBUG window, make sure that "console" and "script" are checked/ aktivated(you can see them when clicking on Network in the menu bar), click on "Console" in the menu bar, click on "Profile", load your page, click on "Profile" again, wait a little bit. On 27 Dez. 2008, 19:11, byhisdeeds wr

Re: Gwt-ext Designer Netbeans

2009-01-08 Thread alex.d
The only GUI-Designer you'll find for GWT is GWT-Designer from Instantiations but it's Eclipse - not Netbeans. It also can partially GWT-Ext and they are planing to present full gwt-ext support shortly. On 9 Jan., 04:57, heru wrote: > hi all, > i'm newbie in gwt. > i try to developing web app wi

Re: How to make scrollable flex table with header row fixed

2009-01-09 Thread alex.d
Just use two tables - one for the header and another one in a scrollpanel for the data. Both in the verticalPanel. On 9 Jan., 12:23, Manish Gupta wrote: > Anybody implemented scrollable Flex table. Please send your inputs > what will be the strategy to develop such a component --~--~-~--

Re: Help Urgent

2009-01-09 Thread alex.d
Use Ant to build a jar-file where your whole project is saved. Look in this group for more infos about Ant(or maven but Ant is kind of easier for small projects). On 9 Jan., 09:39, Calix wrote: > Hi Guys, > > I am working on a gwt project, I want to add servlets to the same > project, how to do

Re: Problems with newline symbol in a TextArea (works in IE but not in Firefox)

2009-01-12 Thread alex.d
Use new HTML("1.1.1.11.1.1.21.1.1.") instead. On 12 Jan., 16:14, "olivier FRESSE" wrote: > If I remember well, textarea uses \r\n as newline characters, whatever the > platform/browser is > > 2009/1/12 LFCPD > > > > > Hi all, > > > In my application I insert a newline symbol in a textArea like

Re: Date+Time widget

2009-01-14 Thread alex.d
There are several libraries that include datetimepicker implementation. You can take a look at gwt-mosaic: http://69.20.122.77/gwt-mosaic/Showcase.html#CwDatePicker and advanced-gwt: http://advanced-gwt.sourceforge.net/demo/index.html for a start. On 14 Jan., 15:48, Serge wrote: > Hi, > > I am d

Re: How to render a list(ul li) by gwt widget ?

2009-01-15 Thread alex.d
I would suppose that since most of the google widgets are or include div elemente it is easier just to take a HTMLPanel and fill it with right tags and info. On 15 Jan., 23:40, Jason wrote: > Hi, Jason, Thank you for your reply! > > I'v tryied many ways, but failed. I'v get the following result

Re: RPC call returning List fails

2009-01-15 Thread alex.d
It is actually. I'm using a lot of structures like this(and more complex) for data transfer. The problem ist somewhere else - do you initialize your List properly? On 15 Jan., 18:36, jos wrote: > I have an RPC call with a signature like public List SomeCall > (SomeObj) { return anArrayList; } wh

Re: BROKEN DISPLAY OF DECORATOR PANEL

2009-01-18 Thread alex.d
DecoratorPanel has some display troubles. Don't set it's size - instead set the size of the inner widget(also some troubles with complex inner designes with flexible sizes experienced). Search for more info in this group. On 16 Jan., 20:59, bond wrote: > Hi, > I've add a decorator panel in a Roo

Re: RPC call returning List fails

2009-01-19 Thread alex.d
ayList followed by several add("some string") > > What's got me stuck is the backend saying it's waiting on 153 bytes > from the client, like it's not event fired off the RPC call yet > > So List<> is OK, I don't need to use ArrayList<> ? > &g

Re: set fixed size for popup and enable scrolling within it

2009-01-19 Thread alex.d
On 19 Jan., 12:27, doopa wrote: > Hi, > > You should probably change the CSS to scroll rather than auto. Auto is > not stable across browsers. or use flowpanel wraped in scrollpanel with fixed size(scrollpanel). > On Jan 15, 10:19 am, aragorn wrote: > > > I have a popuppanel which wraps a flo

Re: Image Class object does not show image on browser

2009-01-20 Thread alex.d
I'm not sure whether i get this right, but if you want a user to select an image on his computer and then show it - it can't be done without sending it to a server. Or you can use google gears - but that you have to install on every client computer: http://gears.google.com/ There were a lot of dis

Re: Browser Issues- Please help me

2009-01-21 Thread alex.d
Had almoust the same issue few weeks ago. At least i gave up on using FlowPanel and switched to FlexTable which size i change dynamically. May not be as elegant as using FlowPanel but at least it works in all supported browsers. On 21 Jan., 14:58, Adam T wrote: > Either set the size of your pane

Re: Trouble with Panels expanding and size not setting

2009-01-21 Thread alex.d
Can you make a simple and small example that demonstrates the problem? On 21 Jan., 23:14, vroom_vroom wrote: > Hello, > I am new to GWT and having some difficulties with laying the panels > out on the screen and them setting the size properly. > First I had a TabPanel with a Tree in it. I set th

Re: Trouble with Panels expanding and size not setting

2009-01-22 Thread alex.d
l().setSize(). this is the only way to > set the size for the actual panel in the tab. > > On Jan 21, 11:29 pm, "alex.d" wrote: > > > Can you make a simple and small example that demonstrates the problem? > > > On 21 Jan., 23:14, vroom_vroom wrote: >

Re: GWT Hosting

2009-01-23 Thread alex.d
You would like your hoster to support you with GWT troubles??? Seriously? :)) On 23 Jan., 15:49, Micky wrote: > Can anyone recommend a hosting solution for a GWT application? I've > been in contact with Kattare but they don't support MS SQL 2005. I've > also been in contact with MochaHost and wh

Re: 3rd party widget libraries

2009-01-29 Thread alex.d
There were a lot of wars about using/not using ExtGWT/GWT-Ext. Just use search in this group... On 29 Jan., 09:30, Nisse wrote: > Hello all. We (small start-up company) are currently considering to > adopt ExtGWT as a library to extend the functionality of GWT's > standard UI library, with respe

Re: Can we load an html file and add it as a Widget?

2009-02-01 Thread alex.d
It's not really a widget(though you can probably make one). Just make an RPC-call, let your backend read the file and send it back, and put your html into the HTMLPanel widget. On 2 Feb., 08:04, Joshua Partogi wrote: > Dear all, > > I know that there is an HTML class in GWT for buffering out a p

Re: Rotating Image Wheel

2009-02-01 Thread alex.d
Start with taking a look at this animation-example: http://gwt.google.com/samples/Showcase/Showcase.html#CwAnimation Probably a good place to start ;-) On 1 Feb., 16:24, Sandile wrote: > Though difficult to explain from the appearance of its title, I have > endeavored to make a rotating image wh

Re: Javascript errors on internet explorer

2009-02-01 Thread alex.d
My suggestion is that your URL/title/parameter_string has invalid characters. Check it or post an actuall line of code here. On 30 Jan., 18:54, Stan wrote: > The following code is generating errors on IE7 and IE8: > > Window.open("http://someurlhere";, "Window Title", "resizable=yes"); > > and a

Re: Why GWT is too slow on some browers?

2009-02-04 Thread alex.d
You are asking: why can't i go from 0 to 100km/h in 3s with my 10- years old Ford escort like i do with my Lamborghini gallardo? :))) I seriously doubt that IE6 can show perfomance similar to that of Chrome or FF3. What you can do is optimize your code - like creating elements on demand etc. Or f

ScrollPanel maxWidth or maxHeight?

2009-02-05 Thread alex.d
Hi folks, I'm trying to impelement a scrollpanel that becomes bigger (height) to the certain size (maxHeight) when populating it with data. After that vertical scrollbar should appear and the panel should stop growing. Any ideas on how to implement this would be appreciated. --~--~-~--~--

Re: ScrollPanel maxWidth or maxHeight?

2009-02-05 Thread alex.d
efficient. > Indeed it does. I kind of hoped somebody will have a genious idea about it ;-) Thank you for your input anyway. > regards > gregor > > On Feb 5, 9:29 am, "alex.d" wrote: > > > Hi folks, > > I'm trying to impelement a scrollpanel that becomes big

Re: ScrollPanel maxWidth or maxHeight?

2009-02-05 Thread alex.d
t CSS property. But dont know if it works. > > > On Thu, Feb 5, 2009 at 8:59 PM, alex.d wrote: > > > > On 5 Feb., 16:10, gregor wrote: > > > > Hi Alex, > > > > > I think you have to explicitly specify the height of a ScollPanel in > > > >

Re: ScrollPanel maxWidth or maxHeight?

2009-02-06 Thread alex.d
ueue would be brought > > > to its knees. > > > > On Feb 5, 4:13 pm, Litty Preeth wrote: > > > > > there is some max-height CSS property. But dont know if it works. > > > > > On Thu, Feb 5, 2009 at 8:59 PM, alex.d > > > > wrote: > > > &g

Re: ScrollPanel maxWidth or maxHeight?

2009-02-08 Thread alex.d
might consider another way to do this altogether - > ScrollPanel's can be tiresome, uncooperative widgets at times ;-) > > On Feb 6, 3:46 pm, Davsket wrote: > > > well, at least replace it.. > > > On 6 feb, 10:41, "alex.d" wrote: > > > > H

Re: Buttons in horizontal panel not aligning to the left

2009-02-09 Thread alex.d
Actually just a filler-widget(a HP with 100% width) on the right side is enough. Another way is to put your buttons in a second HP with no width defined and set it's cell-horizontal-align to "left". On 10 Feb., 05:02, gregor wrote: > You could try putting the buttons in a second HP nested inside

Re: How to set maxHeight in GridPanel

2009-02-09 Thread alex.d
Not really. First of all GridPanel doesn't have scrollbars - you'll have to use ScrollPanel(wrap your GP in it). Second: scrollPanel doesn't have maxHeight property so you'll have to kind of implement it yourself. I've had this problem a few days ago - check out my post for more information. http:

How to unsink TabEvent?

2009-02-11 Thread alex.d
I have a panel that has a textbox and a button. If the Tab-key is pressed on the Button, the focus should be set to the textfield instead of going to all other elements on the page. So i have following keyboardListener on the Button: public void onKeyDown(final Widget sender, final char keyCode,

Re: How to unsink TabEvent?

2009-02-11 Thread alex.d
e > text field, > > DOM.eventPreventDefault(DOM.eventGetCurrentEvent()); > > And, I believe a more elegant way would be to implement an EventPreview on > your module to handle this. > > On Wed, Feb 11, 2009 at 2:08 PM, alex.d wrote: > > > > > I have a panel tha

Re: Exporting Grid data to MS-Excel

2009-02-11 Thread alex.d
You can't do it on the client side obviously. So what you do is taking all the data in the grid, sending it to the server(or may be just row numbers or smth.) and let the server generate your .lsx file or just a .csv file which is probably a much easier task. After that you let the user download i

Re: Exporting Grid data to MS-Excel

2009-02-12 Thread alex.d
gt; org.eclipse.jdt.internal.ui.text.java.ProposalInfo.getInfo(ProposalInfo.java:64) > at > org.eclipse.jdt.internal.ui.text.java.AbstractJavaCompletionProposal.getAdditionalProposalInfo(AbstractJavaCompletionProposal.java:521) > at > org.eclipse.jface.text.contentassist.AdditionalInfoController$3.run(

Re: align widgets left and right

2009-02-16 Thread alex.d
... or you can put 1 "glue" HP between your widgets and set it's width to 100%. On 16 Feb., 10:05, federico wrote: > you can use 2 nested Horizontal panel and one  Horizontal panel  as > container > > es: > -- > |  - |

Re: Timer / Progress bar on a form to show countdown.

2009-02-17 Thread alex.d
Timer is just a class that helps you to do smth. periodically(see docs for an example). You'll have to use it to update some label with your time value. On 17 Feb., 05:23, Vishesh wrote: > Thanks for replying. > But is there a way to show the timer on the rootpanel or other screen? > If there is

A good approach to speed up loading time.

2009-02-17 Thread alex.d
Hi everybody, i've read an interesting article about speeding up loading time of gwt applications. You can read the whole article here: http://www.techhui.com/profiles/blogs/simpler-and-speedier-gwt-with but the basic idea is following: the first time your classes/widgets are loaded, they don't h

Re: Image.addClickListener() - BUG?

2009-02-18 Thread alex.d
What's exactly the error message? On 18 Feb., 09:08, RoboHobby wrote: > Hi, > > We are working on small Java robotics project (www.RoboHobby.com) > And we use GWT as a web-based front end for for remote control for > remote control for our robotics project. > (http://www.robohobby.com/web_remote

Re: TextBox.setFocus(true) not working

2009-02-19 Thread alex.d
Try to do it in a Timer in a DeferredCommand ;-) On 18 Feb., 12:37, Mittal Thakkar wrote: > Hi, > I have created an application in which i want to set focus on the > textbox on the load of the panel; i am using TextBox.setFocus(true) > but it doesnot work. I tried different ways wiz using Diferr

Re: onBrowserEvent on a disabled button

2009-02-19 Thread alex.d
As far as i remember that is how it is - disabled native widgets (buttons, comboboxes etc.) do not receive browser events. Though i'm not sure whether this behaviour is consistent across all the browsers. On 19 Feb., 21:34, Salman Hemani wrote: > I guess that would work. However, the underlying

Re: How I add my own class to .gwt-TabPanelBottom?

2009-02-20 Thread alex.d
Well, i had the same problem and i edited the .gwt-TabPanelBottom itself just to test, but nothing really happened. Any ideas on how to erase the border of the TabPanel? On 19 Feb., 22:13, ProtoLD wrote: > Forgot to mention, I'd' like to do something like this: > > .mainTabPanels .gwt-TabPanelBo

Re: How I add my own class to .gwt-TabPanelBottom?

2009-02-20 Thread alex.d
...but this was probably just a cache issue. On 20 Feb., 09:22, "alex.d" wrote: > Well, i had the same problem and i edited the .gwt-TabPanelBottom > itself just to test, but nothing really happened. Any ideas on how to > erase the border of the TabPanel? > > On 19 Fe

Re: How I add my own class to .gwt-TabPanelBottom?

2009-02-20 Thread alex.d
... and going back to your question: just put .gwt-TabPanelBottom { border: 0px; } in your own css file - you'll overwrite qwt style and that should do the trick ;-) On 20 Feb., 09:31, "alex.d" wrote: > ...but this was probably just a cache issue. > > On 20 Feb.

Re: How I add my own class to .gwt-TabPanelBottom?

2009-02-20 Thread alex.d
of them I need the padding > removed, others I need it.  Hence I need to find out how to add a > style to the tabPanelBottom so I can manipulate each one > individually.  I've even extended the tabPanel for each particular one > but adding styles to them does not appear to do anythi

Re: onLostFocus and onChanged not fired if browser-window is closing

2009-02-24 Thread alex.d
Well, you can additionaly listen to the window-close event. On 24 Feb., 09:01, Danny Schimke wrote: > Hi! > > I have a textbox which should change some data by onChange. If I am closing > the browser window over it's close button ("x") the onChange and onLostFocus > is not fired. Is it possible

Re: Tab Panel design question

2009-02-24 Thread alex.d
In additon to what Mahavir have said - you can (but it's really up to you) use lazy loading to load your tab-classes on demand. Use LazyPanel or other lazy-loading methods if you need. On 24 Feb., 08:11, Mahavir Jain wrote: > Its up to you how to implement.. But I would like to put the tab panel

Re: Memory Leak with IE7

2009-02-24 Thread alex.d
Assuming adding/removing markers to/from the map is leakless (google probably knows how to do this ;-) we are left with gwt-ext grid. Every 10 sec you remove old rows and add new ones. So you have some DOM- Elements (a table row) that are removed/created every 10 seconds. Probably it's a grid's pa

Re: CheckBox alignment

2009-02-25 Thread alex.d
On 24 Feb., 21:02, jonty wrote: > Hi, Good day to you too, > > I want the text with checkbox to appear to the right instead of left. > How can I do it?? Make your own widget - myFancyCheckbox. In it: place a horizontalPanel with a Label and an empty Checkbox. Write the necessary methods like s

Re: CheckBox alignment

2009-02-25 Thread alex.d
On 25 Feb., 15:02, Thomas Broyer wrote: > On 25 fév, 10:02, "alex.d" wrote: > > > > > > I want the text with checkbox to appear to the right instead of left. > > > How can I do it?? > > > Make your own widget - myFancyCheckbox. In it: plac

Re: LiveGrid not showing/(loading?) data

2009-02-25 Thread alex.d
I think you are asking in the wrong forum. On 25 Feb., 16:32, usul27 wrote: > I tried to create an application using LiveGrid. Unfortunately, it is > requesting data from the servlet, but not > showing it. > After hours of debugging without results I used the LiveGruid demo > code from the showc

HowTo cancel a RPC call?

2009-02-26 Thread alex.d
Hi folks, Recently i've found myself in a situation where i have to cancel a RPC call. I've found out that RequestBuilder.send() method returns a Request object that provides a cancel() method. But is it possible to get Request object without using RequestBuilder? I'm currently very comfortable w

Re: HowTo cancel a RPC call?

2009-02-27 Thread alex.d
upon what your needs are. > > -jason > > On Feb 26, 2009, at 10:11 AM, Ian Petersen wrote: > > > > > On Thu, Feb 26, 2009 at 8:56 AM, alex.d   > > wrote: > >> Recently i've found myself in a situation where i have to cancel a   > >> RPC > >

Re: tabpanel and size computation in onLoad

2009-03-02 Thread alex.d
Widgets don't return proper size values because they are not attached to the DOM before they are showed. Use fixed size values. On 2 Mrz., 11:46, LEDUQUE Mickaël wrote: > We're using GWT 1.5.2 on IE6 if that matters. --~--~-~--~~~---~--~~ You received this messag

Re: Exception while dispatching incoming RPC call: IndexOutOfBoundsException

2009-03-02 Thread alex.d
I'm using Eclipse and allows me to set breakpoints to Exceptions - not to just some line of code - i'm sure netbeans can do this too. It's what this Exception is telling you - somewhere you/gwt/whoever is going through the ArrayList, getting out of bounds. On 2 Mrz., 11:52, Mirek wrote: > Hi, >

Re: Buttons Question

2009-03-04 Thread alex.d
The easiest way is probably to extend button class to hold an extra id. Smth. like (not checked - just to give you an idea): class myButton extends Button { private int id; Button(int id) { this.id = id; super(); } public int getId() { return id; } } Every time you in

Re: Announcing GWT Mosaic 0.2.0-rc1

2009-03-10 Thread alex.d
Good news! But it looks like links are not working ;-) On 9 Mrz., 21:12, "georgopoulos.georg...@gmail.com" wrote: > Hi All, > > GWT Mosaic 0.2.0-rc1 based on GWT 1.6 is out. > > Key features: > >  - LayoutManagers, some basic like: FillLayout, BoxLayout, > BorderLayout, GridLayout and more advan

Re: How to debug IE6 crash

2009-03-12 Thread alex.d
This kind of stuff with IE6 sucks. I had a problem like yours once and i ended up with commenting my code out part by part and putting a lot of Window.alert() in it :( On 11 Mrz., 19:52, Austen wrote: > Hi, > > I have a problem with IE6 crashing when using my app. > The app works fine in IE7/FF3

Re: Can't download GWT even older versions

2009-03-13 Thread alex.d
That kind of error with FF occures mostly when your internet connection breaks (even for a few seconds). Try to download it with any download manager - it should work. On 12 Mrz., 17:41, Sumal Wijewardhana wrote: > Hi Bill, > > I have found the way of doing it.. just download the older version o

Re: Loading Images into GWT via MySQL

2009-03-16 Thread alex.d
Does the img.setUrl("data:image/jpg;base64,"...-trick work reliable in all major browsers? On 13 Mrz., 15:07, Darren wrote: > The one case that hasn't been mentioned is when one dynamically > creates transient images on the server. > > We transform various XML data sources into SVG and then tran

Re: Changing Image

2009-03-17 Thread alex.d
Just add smth. like "&nocache=12345689" to image url where 1234567 is current time in ms. This way browser will think that image-url has changed. On 17 Mrz., 12:25, ArunDhaJ wrote: > Hi All, > I'm using Image class for displaying image. I've even provided my > website user the ability to change

Re: IE8 support ?

2009-03-20 Thread alex.d
IE8 has "compatibility mode" which allows you to emulate other IE versions. I just installed IE8 and i'm testing it with my rather big application (approx. 1Mb obfuscated java-script code) and so far not even one problem WITHOUT "compatibility mode". P.S. Using gwt 1.5.3 On 20 Mrz., 08:19, Ramas

Re: Set CSS for ListBox Items working in Firefox not in Safari

2009-03-24 Thread alex.d
CSS-styling of listbox items isn't consistent across the major browsers. Just use a listbox/combobox from any widget library out there. On 24 Mrz., 11:13, Danny Schimke wrote: > My problem is similar. My CSS for - tag's of a select- element are > not shown "dynamically" their new CSS- layout in

Re: eclipse is launching forever

2009-03-24 Thread alex.d
Switch focus between hosted browser and eclipse a few times - this should trigger your app to start (that's a quirky solution but it works ;-) hth On 24 Mrz., 15:20, ytbryan wrote: > hi all, > > i want to run my gwt app on eclipse. sometimes, after i added some new > method and want to launch i

Re: How to show waiting status in GWT web apps?

2009-03-25 Thread alex.d
You put some Label("Loading...") where you want to have it, make it visible when you are fetching data(before an RPC-call), and invisible when you are ready (in onSuccess() and onFailure()) ;-) On 25 Mrz., 08:07, Vikas wrote: > Hi All, > > In my GWT web application, while fetching data it takes

Re: Copy to Clipboard

2009-03-25 Thread alex.d
As far as i know there is no consistent way to copy to the clipboard in all major browsers. It's forbidden in most of them for the good reason. In FF you have to allow it in security preferences (somewhere in about:config - similar to what you are trying to do for Netscape) but you can't do it as

FlowPanel having DisclosurePanels issue

2009-03-31 Thread alex.d
Hi folks, i'm having some annoying issue with FlowPanel having DisclosurePanels in it. I would excpect flowpanel to to place disclosurepanels horizontally but instead it is placing them vertically (one under another) and i can't see why. Do you have any ideas? Thx --~--~-~--~~---

Re: FlowPanel having DisclosurePanels issue

2009-03-31 Thread alex.d
nk, not exactly what a user expects. On 31 Mrz., 14:01, Ian Bambury wrote: > set the DPs to display:inline > Ian > > http://examples.roughian.com > > 2009/3/31 alex.d > > > > > Hi folks, > > > i'm having some annoying issue with FlowPanel having Dis

Re: Why not use applets?

2009-03-31 Thread alex.d
This whole discussion shifted towards "what technology is better/ faster/bla bla". That may be important but at the end user decides what he would like to use. And most users don't like java-applets because they are ugly and slow. These reasons may seem ridiculous to you but it is what it comes to

Re: FlowPanel having DisclosurePanels issue

2009-03-31 Thread alex.d
...just checked - it's IE that is having this sideeffect. FF is working as expected. On 31 Mrz., 14:26, "alex.d" wrote: > Thx Ian, > > it worked though it has one sideeffect. Now all the DPs are vertically > alligned on the bottom edge of the FP. When one DP

Re: FlowPanel having DisclosurePanels issue

2009-03-31 Thread alex.d
ot;200px"); >         dp.getElement().getStyle().setProperty("display", "inline"); >         dp.getElement().getStyle().setProperty("verticalAlign", "top"); >         dp.getElement().getStyle().setProperty("border", "1px dotted blue"

Re: PopupPanel Align Right

2009-04-01 Thread alex.d
Well, once set, the position of the popup doesn't change by itself when the window is resized. Why should it? You have to listen to the "resize of window"-event and set the position of the popup manually. Don't remeber the exact code lines - but you'll find plenty of examples in this user group -

Re: What is the easier way to deploy a GWT application to Tomcat using Eclipse?

2009-04-01 Thread alex.d
Ant is definitely worth to take a look at. I'm using it to make my war- file. After that i have to upload/copy it to webapps-folder - deploying complete! On 1 Apr., 19:42, tetsuo wrote: > try using the jboss as tools you can download them in eclipse via > "software update" maybe that link helps

Re: What is the easier way to deploy a GWT application to Tomcat using Eclipse?

2009-04-02 Thread alex.d
Except for undeploying the previous version, expiring user sessions etc... No thx, i'd rather copy manually ;-) On 2 Apr., 10:59, tetsuo wrote: > On 2 Apr., 08:21, "alex.d" wrote:> Ant is > definitely worth to take a look at. I'm using it to make my war- > >

Re: keyboardlistener calling clicklistener?

2009-04-02 Thread alex.d
If you want to handle click- and keyEvents inside MyFocusPanel class itself then i would add both listeners inside MyFocusPanel and call the same handlerFunction() to handle them. But if you want some other class(let's say some outerPanel) to handle events for MyFocusPanel then i'd rather add even

Re: can inlineHTML be used to load static HTML pages?

2009-04-03 Thread alex.d
Well, you can always take an iframe to load a complete gwt-app. But that's probably not exactly what you need. On 3 Apr., 03:28, myapplicationquestions wrote: > Thanks a lot. But isn't this a major limitation that we cannot harness > the power of page designers? Can GWT module be embedded in any

Re: Open a local file with GWT

2009-04-07 Thread alex.d
You CAN'T read files from filesystem from plain javascript. Applets or Gears are a way to go. Another way is that user just opens your file instead of downloading it ;-) On 7 Apr., 13:04, ffs1985 wrote: > Hi I'm trying to make a function that let the user download a file > from my application an

Re: IE doesnt show my progress bar when the data loads in to my Grid

2009-04-08 Thread alex.d
You can't "start antother thread" from javascript. And though it's a singlethreaded environment your animation isn't "moving" probably because browser is busy with filling the data. You can show some static text "Loading..." and then load your data. On 8 Apr., 07:22, Suren wrote: > Hi All, > > I

Re: Open a local file with GWT

2009-04-08 Thread alex.d
completely. On 8 Apr., 06:37, ffs1985 wrote: > I'm not trying to read files from filesystem from plain javascript, I > want to open a new browsers window with a local url. The browser > should decide how he will open this file. > > On Apr 7, 8:56 am, "alex.d"

Re: IE doesnt show my progress bar when the data loads in to my Grid

2009-04-09 Thread alex.d
Try to fetch data in a defferedCommand: DeferredCommand.addCommand(new Command(){ public void execute() { dbFetch.setGridDataInfo(asyncCallback); } }); On 9 Apr., 07:42, Suren wrote: > Hi Thomas, > > Thanks for the reply. I am a stranger to IncrementalCommand. Anyway > let me check what

Re: Problems With AbsolutePanel inside of TabPanel

2009-04-09 Thread alex.d
Not without taking a look at a sample of your code. But out of the top of my head - do you set the size of the AbsolutPanel explicitly? If not - you should. In general - that's what FireBug is good for - you open you site and start looking at the internal structure to see why the panel isn't showi

Re: IE doesnt show my progress bar when the data loads in to my Grid

2009-04-09 Thread alex.d
ogress bar impression. But it > stopped in the half way and hangs there until my grid is shown > > Any help? > > Thanks > Suren > > On Apr 9, 1:43 pm, "alex.d" wrote: > > > Try to fetch data in a defferedCommand: > > > DeferredCommand.addComm

Re: efficiency of my gwt application

2009-04-15 Thread alex.d
How do you detach the table from the dom, assuming you can have it's parent with table.getParent() ? On 16 Apr., 04:56, Arthur Kalmenson wrote: > An easy thing you might want to try is to render the table detached > from the DOM. This would ensure that you're not doing any DOM > operations when

Re: How to add close button to DialogBox title bar

2009-04-16 Thread alex.d
This question was already answered in this group. Please use search. On 17 Apr., 07:17, Tail wrote: > How to add close button to DialogBox title bar? > > DialogBox dialog = new DialogBox(); > dialog .setHTML(" onclick='alert(3)' >XLogin ..."); > > Is any way how javascriopt to call dialog.hide()

Re: GWT 1.6.4 Modifying corners of DecoratorPanel

2009-04-16 Thread alex.d
Firebug is a great tool - but using OOPHM??? Is it ready? Imho it's ten times easier just to click "Compile/Browse" in the hosted-mode- browser and your page will be opened in Firefox if it's default browser - if not you can just copy the link and open it in FF manually. hth On 17 Apr., 06:36, V

Re: Does gmail use GWT?

2009-04-17 Thread alex.d
I'm sorry guys but what is exactly "server-push" you are talking about? There can't be such thing as server-push in a pure html/ javascript world because http doesn't implement it. Applets (java, active-x, flash etc) can do that. But in the GWT world it's still the old good polling. Even if it's a

  1   2   3   >