Re: How to Integrate a component inside HTML.

2008-08-26 Thread Ian Bambury
What you can do is add a custom tag (say div myproperty=mywidget1/div, or mytag/mytag or div class=myclass/div - with content in the tag if you like) and then you make the page a GWT page (by including the script language=javascript src=com.some.thing.Module.nocache.js/script in the head) The

Re: How we can stop control until we receive complete response from GWT

2008-08-26 Thread Ian Bambury
public void doSomething(String href) { /* * At this point you program is trolling along doing things that don't * rely on the response here (like creating the page structure), working * out what the href is going to be etc. * * Then you want to request the data * * You would be

Re: How to Integrate a component inside HTML.

2008-08-26 Thread Ian Bambury
Hi 5am, This code will add a counter if there is a div id=counter/div in the page but won't if there isn't Ian public class Main implements EntryPoint { public void onModuleLoad() { addCounter(); } private void addCounter() { if(RootPanel.get(counter) ==

Re: VerticalSplitPanel setSplitPosition fails

2008-08-26 Thread Ian Bambury
You can't add splitpanels to widgets (or in the case of your tab panel) to parts of widgets which are hidden when they are added to the DOM. In IE, the splitter ends up on the left/top in FF all the dovs (the two containing divs and the splitter) end up stacked up on each other with the splitter

Re: How can i work with 2 Window

2008-08-27 Thread Ian Bambury
@breder Can't you just display a (modal) dialogbox with the options? @Ed Can't you just display a (non-modal) dialogbox (minimisable) with the help? Or put the whole thing in a splitpanel with the help to one side or underneath? Ian --~--~-~--~~~---~--~~ You

Re: How can i work with 2 Window

2008-08-27 Thread Ian Bambury
As long as the new browser window was initiated by your app, there shouldn't be a problem communicating between the two. You'd have to write your own JSNI functions to control it, but it's quite possible. Window.open(help.htm, helpwindow, location=0,status=0,scrollbars=1,width=150,height=200);

Re: How to make an Emd to End application in GWT ?

2008-08-27 Thread Ian Bambury
On Aug 27, 12:55 pm, Ian Bambury [EMAIL PROTECTED] wrote: You can have more than one entry point in an application and it will make no appreciable difference to the compile time, caching, compression, reuse or deployment time Same goes for splitting your application into different

Re: Query : Synchronous calls in GWT

2008-08-28 Thread Ian Bambury
Go here: http://examples.roughian.com/#Widgets~PopupPanel and click the Show Popup button - Now I would say that looks pretty modal. And you can always blank the background completely if some of your users are so thick they don't recognise from that that the screen has been disabled. All you are

Re: Best practice: Larger application design

2008-08-28 Thread Ian Bambury
I wouldn't have separate apps for each page - there's no advantage over a trad app. I'd split the page in two with a horizontal panel. The LH pane would have a VerticalPanel of subclassed labels (i.e. your menu items - and cross-headers if you like), each menu item, when clicked, would remove

Re: Tip for reducing the size of the compiled app

2008-08-29 Thread Ian Bambury
Have you got -pretty or -detailed turned on? 2008/8/29 Alan Williamson [EMAIL PROTECTED] Afternoon one and all. We have an application that we didn't think was that big, but when it compiles to HTML/JS there is a single produced of over 2MB! Thats with the optimized setting incidentally.

Re: More then one Entry Points.

2008-08-29 Thread Ian Bambury
You could also have one GWT app and in each page have div id=site1/div or div id=site2/div and look for those. Or have div id=site ui=type1/div or div id=site ui=type2/div and read the ui type. Ian 2008/8/29 Mark Renouf [EMAIL PROTECTED] An approach that we took, make make two new modules

Re: How to detect highlighted texts

2008-08-29 Thread Ian Bambury
textArea.getSelectedText()? 2008/8/29 Quan [EMAIL PROTECTED] My problem is I need to detect what text string in a TextArea is being highlighted. For example, when I highlight a certain text in a paragraph and hit a button only that string is shown on a Label. Is there some type of Listener

DisclosurePanels inside StackPanels blow up in IE

2008-08-30 Thread Ian Bambury
At least, mine do. Can someone confirm this is a real problem, please, and not just me, then I'll log it. The stackpanel is picking up the click on the disclosurepanel and screwing up IE6/7 StackPanel p = new StackPanel(); final DisclosurePanel d = new

Re: How can I construct a document reader?

2008-08-30 Thread Ian Bambury
. This means two help menus with a number of common entries as well as a few unique entries in both. Now, this all seems pretty straight-forward and Ian Bambury (http:// examples.roughian.com/) has implemented something very close to what I need, but not quite. So, I would appreciate suggestions

Re: GWT 1.5 Now Available

2008-08-31 Thread Ian Bambury
://code.google.com/p/google-web-toolkit/source/detail?r=3568 Apparently, not all browsers give you nulls. That doesn't explain the sudden change. On Aug 31, 4:09 pm, Ian Bambury [EMAIL PROTECTED] wrote: And now I can't tell the difference between an attribute which is missing

Re: Best practice: Larger application design

2008-09-02 Thread Ian Bambury
I'm not sure you have got the hang of GWT if you think you need a different module for each sub-page. You definitely haven't if you think you need templates. There will be one HTML page with all but nothing in it, so where is the need for a template? If you want a template for 'a left menu and a

Re: First thoughts on Chrome

2008-09-03 Thread Ian Bambury
Both of those work OK for me. Well, the Open MarketWatch Ticker on http://newsvote.bbc.co.uk/1/shared/fds/hi/business/market_data/overview/default.stm does - is that the page you meant? With Gmail, it will remember me on the computer, and if I log out and restart Chrome, it will have filled in

Re: Best practice: Larger application design

2008-09-03 Thread Ian Bambury
2008/9/4 Pavel Byles [EMAIL PROTECTED] Exactly my point. It depends. And precisely for the reasons you stated. Although I don't see why the project needs to be overly huge to _resort_ to modules. So we do agree that for small projects, modules aren't really necessarily the best. But as it

Re: GWT 1.5 Now Available

2008-09-04 Thread Ian Bambury
behavior is not specified when the attribute is 'not specified'. Cheers, joel. On Sun, Aug 31, 2008 at 7:04 PM, Ian Bambury [EMAIL PROTECTED] wrote: 2008/8/31 Thomas Broyer [EMAIL PROTECTED] Could someone from Google explain why there has been this diversion from

Re: user element vs dom element (1.5 RC1)

2008-09-04 Thread Ian Bambury
2008/9/4 Rich MacDonald [EMAIL PROTECTED] The DOM methods I immediately missed were getChild, elem.getChildNodes().getItem(index); getChildCount, and elem.getChildNodes().getLength(); getChildIndex. Can't do the last one, but I'm not sure when I'd ever use it If you do as

Re: Google Chrome GWT

2008-09-04 Thread Ian Bambury
You have to work hard at it :-) No wonder I didn't notice. I think it's got something to do with the splitpanels. At least, they get buggered up too (can't move the split), but I can't get a consistent reaction. I've followed what I did before exactly (via some logging I do) but the second time,

Re: Using Chrome as the development shell

2008-09-05 Thread Ian Bambury
If you bother to search right back into the depths of yesterday, you'll find the answer. 2008/9/5 Ibmurai [EMAIL PROTECTED] Is it possible to use Chrome's rendering engine for the GWT development shell? It's so bleeding fast, it would be awesome to use during development! :)

Re: GWT 1.5 Now Available

2008-09-05 Thread Ian Bambury
2008/9/5 Thomas Broyer [EMAIL PROTECTED] -- Interface Attr [...] The attribute's effective value is determined as follows: if this attribute has been explicitly assigned any value, that value is the attribute's effective value; otherwise, if there is a declaration for this attribute, and

Re: How to make DialogBox modal both in terms of code execution and events?

2008-09-07 Thread Ian Bambury
Iama, under what conditions do you need to use callbacks? Can you give an example? Also, to gwt-user: you may get mouse-down/mouse-up events (which is wrong, but just changes the appearance of a button, or sets focus) but I don't think you can do anything with them (like enter text, or click).

Re: best practice to upgrade Eclipse project

2008-09-08 Thread Ian Bambury
Just go to Window | Preferences... - Java Build Path - Libraries tab and point to the new gwt jars Ian 2008/9/9 Thomas Broyer [EMAIL PROTECTED] On Sep 8, 11:57 pm, Alex Rice [EMAIL PROTECTED] wrote: I have a project that is fairly small, so I have just followed the

Re: best practice to upgrade Eclipse project

2008-09-08 Thread Ian Bambury
Oh yeah, also... You'll need to change the launch file as well (but if you add the GWT windows/linux jar to the Java Build Path mentioned before, you can delete it from the ,launch file and then there is only one place you need to update). 2008/9/9 Ian Bambury [EMAIL PROTECTED] Just go

Re: Getting text from tabbar.

2008-09-10 Thread Ian Bambury
Is there something wrong with widget.getTabHTML(widget.getSelectedTab()); ? 2008/9/10 maudio [EMAIL PROTECTED] Thanks Alex. I was trying to avoid maintaining a list but that may be the best way to go. On Sep 10, 8:07 am, alex.d [EMAIL PROTECTED] wrote: You can surely do smth. like:

Re: Copying text between two RichTextBox[es] loses its formatting

2008-09-10 Thread Ian Bambury
If you transfer the HTML, does that not work? If you transfer the text, you're going to get text at the other end. 2008/9/10 ALF [EMAIL PROTECTED] final RichTextArea rtb1 = new RichTextArea(); final RichTextArea rtb2 = new RichTextArea(); If you have two RichTextBoxes displayed and you

Re: Any ideas on how to make a popup stay on top?

2008-09-10 Thread Ian Bambury
Got any demo code? I don't mind having a play. What version of IE? 2008/9/10 darkflame [EMAIL PROTECTED] Anyone? Any ideas on why my workaround isnt working? Or can suggest a better one? On Sep 2, 11:31 pm, darkflame [EMAIL PROTECTED] wrote: Yes, so I discovered, thats why I need a

Re: Any ideas on how to make a popup stay on top?

2008-09-10 Thread Ian Bambury
I can't get it *not* to stay on top --~--~-~--~~~---~--~~ 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,

Re: Any ideas on how to make a popup stay on top?

2008-09-11 Thread Ian Bambury
/11 Ian Bambury [EMAIL PROTECTED]: I can't get it *not* to stay on top -- ~~ Reviews of anything, by anyone; www.rateoholic.co.uk Please try out my new site and give feedback :) -- ~~ Reviews of anything, by anyone; www.rateoholic.co.uk Please try out my

Re: Memory Leak GWT 1.4.6

2008-09-11 Thread Ian Bambury
I am getting horrendous memory problems with 1.5.2. I'm not doing anything abnormal, just standard GWT, the occasional DOM read and one JSNI read (to get around the new getAttribute 'feature'). The javaw image starts off around the 130Mb size and will increase by about 8-10Mb every time I press

Re: Any ideas on how to make a popup stay on top?

2008-09-12 Thread Ian Bambury
'Hiccough' is the older spelling, 'hiccup' is acceptable, and when teaching to non-native speakers, probably preferred because the pronunciation is more obvious. So really I should have said 'more traditional' rather than 'proper'. Ian 2008/9/12 alex.d [EMAIL PROTECTED] BTW 'hickups' is

History.onHistoryChanged - again

2008-09-12 Thread Ian Bambury
I still don't understand why History.onHistoryChanged(historyToken) has been deprecated. Deprecation, in my understanding, is indicating that a better way of doing something has been added and the deprecated method has been superceeded. This is not the case with onHistoryChanged. Under some

Re: Mouse pointer on HorizontalSplitPanel's splitter.

2008-09-12 Thread Ian Bambury
I would say so, yes. 2008/9/12 hezjing [EMAIL PROTECTED] Hi Thank you, the mouse pointer displayed correctly after overridden the CSS. Do you think by default, the mouse pointer should display correctly without us overriding the CSS?

Re: History.onHistoryChanged - again

2008-09-12 Thread Ian Bambury
2008/9/12 Folke [EMAIL PROTECTED] On Sep 12, 5:57 pm, Ian Bambury [EMAIL PROTECTED] wrote: What exactly is wrong with my design? Go ahead, use History.onHistoryChanged() and mark the calling method with @SuppressWarnings(deprecation). But there are much better and cleaner ways to set your

Re: DecoratedTabPanel

2008-09-12 Thread Ian Bambury
1) Get the VerticalPanel widget from the tabpanel with getWidget 2) Cast the widget to a VerticalPanel 3) Get the TextBox widget from the VerticalPanel with getWidget 4) Cast that widget to a TextBox 2008/9/12 jamer [EMAIL PROTECTED] Does Nobody can help me -- Ian

Re: History.onHistoryChanged - again

2008-09-13 Thread Ian Bambury
2008/9/13 Thomas Broyer [EMAIL PROTECTED] I don't get it, sorry. Never mind. There cannot be change events if there's nothing to change, so History needs a newItem() method (and back(), forward() and go()). Apart from that, it's just what you described: it fires history listeners when

Re: History.onHistoryChanged - again

2008-09-13 Thread Ian Bambury
2008/9/13 Thomas Broyer [EMAIL PROTECTED] It fires history events when the history changes, it also fires history listeners when the history *hasn't* changed refresh case Call it what you like: the history stack hasn't changed and the listeners get fired. and it fails to fire history

Re: PopupListener

2008-09-19 Thread Ian Bambury
The center() method calls hide() which triggers the onPopupClosed. I had this problem, but since I couldn't believe it hadn't been noticed in testing before release, I assumed there must be a good reason for it, or that *not* doing it means I had been following some evil coding practice. Again.

Re: questions on Login Security FAQ

2008-09-19 Thread Ian Bambury
-- Reinier gently nudging the casual reader back onto the straight and narrow with a velvet touch Zwitserloot I think the 'people person' quote was closer :-) Ian --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: how to disable tabs in tab panel

2008-09-20 Thread Ian Bambury
In the onBeforeSelected, just don't allow it Ian http://examples.roughian.com 2008/9/20 neversaydie [EMAIL PROTECTED] Hello, I am facing problem on how to disable a tab in tab panel Is it possible ? thank you . --~--~-~--~~~---~--~~ You

Re: RootPanel issue - Multiple apps in a GWT project

2008-09-20 Thread Ian Bambury
Hi Pavi, This is a 'feature' which has been reported. It doesn't seem to have a particularly high priority. What happens is that when you 'get' a rootpanel, it is cached and remains cached. If that slot is changed in any other way than via the same rootpanel ID then you will get the cached

Re: url parameters

2008-09-23 Thread Ian Bambury
Or you could use String departure = Window.Location.getParameter(departure); Ian http://examples.roughian.com 2008/9/23 Greg [EMAIL PROTECTED] The GWT widget library (http://gwt-widget.sourceforge.net) provides this functionality. You simply say: String departure =

Re: THE IMPORTANCE OF ERROR MESSAGE

2008-09-24 Thread Ian Bambury
itself. On Wed, Sep 24, 2008 at 12:28 PM, Ian Bambury [EMAIL PROTECTED] wrote: Who is this pillock? Ian http://examples.roughian.com 2008/9/23 Xavier Live Tech.S [EMAIL PROTECTED] Hello All, I can not stress enough to you that when you make a post of something

Re: THE IMPORTANCE OF ERROR MESSAGE

2008-09-24 Thread Ian Bambury
Just for clarification. 'pillock' is pretty much the same thing as 'wazzock' - i.e. very much like 'numpty' but without the excuse of ignorance.. :-) Ian http://examples.roughian.com 2008/9/24 walden [EMAIL PROTECTED] then you are being a pillock, whatever that is.

Re: THE IMPORTANCE OF ERROR MESSAGE

2008-09-24 Thread Ian Bambury
Hi Isaac, Thanks for that. Also for the record, I wasn't offended, just pointing out how it might appear. Ian http://examples.roughian.com 2008/9/24 Isaac Truett [EMAIL PROTECTED] Ian, I sincerely apologize for offending you. It was not my intention at all. I assumed from Xavier's

Re: Opening and Loading a GWT Module from another module

2008-09-25 Thread Ian Bambury
Man i have had it with you and your disrespect shut the hell up no one asked you if it was helpful. Xavier, The reason you are not getting the respect you feel you deserve is that you come across (as I see it) as a schoolkid making newbie comments to industry professionals and expecting to

Re: IE Displays Web Mode But Not Firefox

2008-09-26 Thread Ian Bambury
One thing to try is to put borders on things - either in the css (3px dotted red is good since I'd hope you don't use that in production, so it's easy to search for and find in the css) or with setBorder(10) (something thick so it shows up) --~--~-~--~~~---~--~~

Re: Poll: GWT 1.4.62 vs 1.5 -- what are you using? what are your plans?

2008-09-26 Thread Ian Bambury
1) Yes 2) No 3) N/A 4) No 5) Hope 1.6 is out 6) Already have I don't think I'll be using the present version of *anything* in 4 years time. My *marriage* didn't last that long. Ian --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: Vertical TabBar?

2008-09-27 Thread Ian Bambury
Hi Axel, There's no vertical tab bar, which is a little strange since you'd only need to change the HorizontalPanel for a VerticalPanel. It's another one of those things that seems obvious to me, but I have to assume there's some good reason for it to happen/not happen. You can build your own

Re: Vertical TabBar?

2008-09-27 Thread Ian Bambury
I know all about that. The default (Standard) colours for TabPanel aren't too bad. Not dramatic, but they are noticeable. If the brightness varies, then it's OK. Not intensity of colour, but actual luminosity. Anyone can spot that, even in greyscale. Big blocks of bright colour aren't a problem

Re: Background color for DecoratedTabPanel

2008-09-29 Thread Ian Bambury
.gwt-DecoratedTab*Bar* .gwt-TabBarItem { background:#FF0; } Ian http://examples.roughian.com 2008/9/29 Shri [EMAIL PROTECTED] Hi, I am not able to change the background color of DecoratedTabPanel tab baritems. I tried to use background attribute in - .gwt- DecoratedTabPanel

Re: Gwt with php

2008-09-29 Thread Ian Bambury
Another way to get PHP responses in hosted mode is like this Create the url... String url = Framework.getBaseUrlWithSlash() + filePathAndName; where getBaseUrlWithSlash() is public static String getBaseUrlWithSlash() { String url = GWT.getModuleBaseURL(); String

Re: GlassPanel bug: has anyone else encountered this

2008-10-01 Thread Ian Bambury
This really isn't the best way to manage a glass panel. First, you are adding it to the base RootPanel which, as you have discovered, scrolls the top of the glass panel into sight. Second, you still get the scrollbars and can scroll away. The way to overcome this is to remove the scrollbars from

Re: Hmmm - new analytics (ga.js) integration?

2008-10-01 Thread Ian Bambury
Wow. I just put this script src='http://www.google-analytics.com/ga.js' type='text/javascript'/script script type=text/javascriptvar pageTracker = _gat._getTracker(UA-nn-n);/script in the index.html, and use this public static native void urchinTracker(String pageName) /*-{

Re: Standard themes not crossbrowser?

2008-10-01 Thread Ian Bambury
GWT Themes are not a complete solution for every css property in your application. GWT themes don't eff up your existing css, it just sets what it needs to set to get a theme looking theme-like. Different browsers have different defaults (margins, borders, padding, text-sizes etc) which is why

Re: Troubles linking GWT and php server using JSon

2008-10-01 Thread Ian Bambury
The Tomcat server that hosted mode runs doesn't run the file through the PHP preprocessor so all you get back is the text, just like any other file. If you don't actually need to test the PHP, just put the required response text in the php file, otherwise search this list, there has been a recent

Re: Sorting Script HELP!!!

2008-10-01 Thread Ian Bambury
This group is for people who have problems with a GWT program they are writing. If you have a problem with using a GWT widget or feature, please detail it and post the relevant code. This is not the place for general programming problems with 'Ajax or something'. There are plenty of general

Re: Standard themes not crossbrowser?

2008-10-02 Thread Ian Bambury
OK then, we disagree. My personal opinion is that if I was adding one tiny widget to an existing web page, I'd be extremely miffed if GWT changed all my CSS settings. Or if it didn't respect my settings and just went it's own way with fonts, font sizes, weights, and so on and thereby looked out of

Re: Sorting Script HELP!!!

2008-10-02 Thread Ian Bambury
What has this got to do with GWT? --~--~-~--~~~---~--~~ 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,

Re: GWT Timers - say no to it with IE

2008-10-02 Thread Ian Bambury
I think this is probably something you are doing. I feel that someone else would have mentioned it before now, don't you? But without any code only the telepathic will respond, but probably not by email. Ian http://examples.roughian.com 2008/10/2 Ivan [EMAIL PROTECTED] Hello everybody, I

Re: Troubles linking GWT and php server using JSon

2008-10-02 Thread Ian Bambury
Hi Raml, I'm not sure I understand your setup exactly. If you run your GWT app in hosted mode, it will try to get the php file from your public/php/ directory (or wherever you put your php). It won't be processed as php before it is sent to the browser, so you will get the raw script ?php and

Re: Troubles linking GWT and php server using JSon

2008-10-02 Thread Ian Bambury
Hi Raml, Using port wil always point you to your Tomcat server and therefore the PHP won't be interpreted. Look at Pavel's email agin - there is no : in there. This is important because it determines which server is targeted. Ian http://examples.roughian.com 2008/10/2 RamI [EMAIL

Re: z-index or zIndex which is correct :?

2008-10-03 Thread Ian Bambury
If you are writing css it is z-index. If you are playing with the DOM, it's zIndex. Same with everything else.font-size / fontSize etc Ian http://examples.roughian.com 2008/10/3 darkflame [EMAIL PROTECTED] I had this problem earlier (http://groups.google.com/group/Google-Web-

Re: Label + Hyperlink + Label

2008-10-03 Thread Ian Bambury
Why faff about with an anchor and clicklistener when you can just put this .gwt-Hyperlink { display : inline; } in your css? You can then throw one lot of text at the HTMLPanel with span placeholders. Ian http://examples.roughian.com

Re: GWT copy protection

2008-10-04 Thread Ian Bambury
If you do that, it will be popular with practically every web site of any size that uses JavaScript. Have you thought about what you are going to send to the browser instead of JavaScript? Ian --~--~-~--~~~---~--~~ You received this message because you are

Re: GWT Compilation - Dead End

2008-10-04 Thread Ian Bambury
Hi, I might well be missing something here, but if your users are designing screens, why do you need to recompile? If they can create them with DnD, why can't you recreate them on the fly? Ian http://examples.roughian.com --~--~-~--~~~---~--~~ You received this

Re: Visibility Issue

2008-10-05 Thread Ian Bambury
Without any code, it's *very* difficult t work out what is wrong. However, there are a couple of things. First, put a doctype in the host page and see how that affects the browsers which currently work. Chances are it'll make things seem worse. What it is actually doing is cutting out the

Re: Approximate release time for GWT 2.0

2008-10-08 Thread Ian Bambury
Previous experience would suggest that you won't even get 24 hours notice. The idea of allowing external developers to plan ahead is alien to Google. They seem to work on IBM's FUD principle. Ian PS: I have a love/hate relationship with GWT --~--~-~--~~~---~--~~

Re: Approximate release time for GWT 2.0

2008-10-08 Thread Ian Bambury
that this is the way Google do things. That's OK. Ian http://examples.roughian.com 2008/10/8 Ian Petersen [EMAIL PROTECTED] On Wed, Oct 8, 2008 at 9:40 AM, Ian Bambury [EMAIL PROTECTED] wrote: Previous experience would suggest that you won't even get 24 hours notice. The idea of allowing external

Re: Approximate release time for GWT 2.0

2008-10-08 Thread Ian Bambury
It isn't easy to plan ahead if you have a fixed schedule for your project. There's no point in developing against a release candidate for the next version of GWT if you have to go live in May next year and you don't even know if the next stable version is coming out in the first or second half of

Re: Approximate release time for GWT 2.0

2008-10-09 Thread Ian Bambury
releases are much higher quality then a lot of organizations' final releases that have been out there for several years. The real problem comes down to management accepting that argument. Regards, Arthur Kalmenson On Oct 8, 1:18 pm, Ian Bambury [EMAIL PROTECTED] wrote: It isn't easy

Re: How do i change the xml to add a new source file?

2008-10-09 Thread Ian Bambury
Alternatively, in Eclipse, right-click on the class name, choose 'Refactor' then 'Extract class...' Job done. Ian http://examples.roughian.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit

Re: Can´t get RequestBuilder to send a POST request

2008-10-09 Thread Ian Bambury
My first thought is: how is anyone going to fix code they can't see, FFS? :-( Ian http://examples.roughian.com 2008/10/7 apcal [EMAIL PROTECTED] No matter what I do, RequestBuilder ALWAYS sends a GET request, even I set the HTTP method to POST! Just to be sure I set the method correctly,

Re: Have source code in Frame contact GWT application

2008-10-13 Thread Ian Bambury
Why are you doing it this way? There may be another option. Ian http://examples.roughian.com 2008/10/13 freeall [EMAIL PROTECTED] Hi. Thanks. I made static calls work, but I can't make it work on instances. Sorry for all the text below. The only question is on the last. Just wanted to

Re: SuggestBox something wrong with style

2008-10-15 Thread Ian Bambury
3) Nick the css from here http://examples.roughian.com/#GWT/Input/SuggestBox Ian http://examples.roughian.com 2008/10/15 walden [EMAIL PROTECTED] Yup, two things you can do: 1. Look at the Javadoc for the SuggestBox API and note the various .gwt-* css rules used by default to style the

Re: SuggestBox something wrong with style

2008-10-15 Thread Ian Bambury
Mmm. Well, if you hadn't changed anything, then it would look the same. And it doesn't. So you have. And it's in the css. Posting your code doesn't help pin it down unless you were setting css in code. Check that the defauld css you are using is the same as the default css that they are using,

Re: SuggestBox something wrong with style

2008-10-15 Thread Ian Bambury
. On 15 окт, 17:26, Ian Bambury [EMAIL PROTECTED] wrote: Mmm. Well, if you hadn't changed anything, then it would look the same. And it doesn't. So you have. And it's in the css. Posting your code doesn't help pin it down unless you were setting css in code. Check that the defauld css

Re: Adding widget to RootPanel gets added twice

2008-10-16 Thread Ian Bambury
Two scripts in the html file, or two entry points in the gwt.xml file. Probably the latter. I'm guessing... Ian http://examples.roughian.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group.

Re: how is GWT ensuring that Caption on DialogBox works?

2008-10-16 Thread Ian Bambury
DOM.setCapture (element) - or something like that, or whatever has replaced it - I haven't had to use if for ages - means that the element can be set to 'own' all mouse events for a while. Ian http://examples.roughian.com --~--~-~--~~~---~--~~ You received this

Re: CSS trouble: gwt-App running in existing java webapp content

2008-10-16 Thread Ian Bambury
GWT doesn't have any styles defined. If you used the projectCreator and applicationCreator to create the default project and forgot to remove the standard styles from the gwt.xml file then they will still be there, of course. Ian http://examples.roughian.com

Re: Where do I put the compiled JS

2008-10-16 Thread Ian Bambury
Take everything from inside the directory named after the package name (www/com.mydomain.myapp/ - you will find your html file in there amongst other things), and copy the whole lot to wherever you want to run it from in the directory structure of your web server. You can change the name of the

Re: Where do I put the compiled JS

2008-10-16 Thread Ian Bambury
, Ian Bambury [EMAIL PROTECTED] wrote: Take everything from inside the directory named after the package name (www/com.mydomain.myapp/ - you will find your html file in there amongst other things), and copy the whole lot to wherever you want to run it from in the directory structure of your

Re: how is GWT ensuring that Caption on DialogBox works?

2008-10-17 Thread Ian Bambury
, but, of course, the dialog keeps moving away from your mouse!! really irritating. i've spent several months trying to track this one down. On Oct 16, 10:13 pm, Ian Bambury [EMAIL PROTECTED] wrote: DOM.setCapture (element) - or something like that, or whatever has replaced it - I haven't had to use

Re: how is GWT ensuring that Caption on DialogBox works?

2008-10-17 Thread Ian Bambury
Are you doing the bit I mentioned from initEventSystem? Ian --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To

Re: Suggestion: GWT port to Desktop

2008-10-17 Thread Ian Bambury
I'm obviously missing something here... I have a requirement to build an Ajax web site. To make the coding easier, I use GWT so I can write in Java. i'm advocating running _native_ java - because all of the javascript is replaced You are suggesting that I write it in the GWT subset of Java,

Re: layout problem, panel size ignores setCellHeight(50%) ?

2008-10-17 Thread Ian Bambury
Hi John, Your basic problem is that you don't have an absolute height for anything in there. Any percentage of zero is zero and, depending on which browser you use, you will get an override/default of some sort. Another problem is that the bodyPanel doesn't have any content, and some browsers

Re: layout problem, panel size ignores setCellHeight(50%) ?

2008-10-17 Thread Ian Bambury
OK, One more guess... You've only got one TD in your appPanel so it's going to fill the whole height anyway. If that doesn't fix it, I'll try running your code on my machine (Windows) and see what happens in practice instead of theory - I'm good at fixing things in theory :-) Ian

Re: layout problem, panel size ignores setCellHeight(50%) ?

2008-10-17 Thread Ian Bambury
Try this. Works for me. You might need a doctype Ian http://examples.roughian.com root.add(basePanel); basePanel.setSize(100%, 200px); basePanel.add(logPanel); basePanel.setCellWidth(logPanel, 30%); basePanel.setCellHeight(logPanel, 100%);

Re: modifying stylesheets in hosted mode

2008-10-18 Thread Ian Bambury
Well, it must be a limitation of Linux. It works in Windows - has done for years, literally. Ian http://examples.roughian.com 2008/10/18 olivier nouguier [EMAIL PROTECTED] hi, I've just test all those case: - declare in module.xml or in host page doesn't change anything. - hosted mode

Re: Problems rendering a simple panel!!

2008-10-18 Thread Ian Bambury
Get rid of the 'void' and turn the Space() method into a constructor Ian http://examples.roughian.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: modifying stylesheets in hosted mode

2008-10-18 Thread Ian Bambury
Me and several others. It was reported in 1.2 and fixed in 1.4 Ian http://examples.roughian.com 2008/10/18 r a f t [EMAIL PROTECTED] that old behaviour is really odd. maybe you faced a strange bug On Oct 17, 8:49 pm, Ian Bambury [EMAIL PROTECTED] wrote: Pressing F5 in hosted mode

Re: Help me!

2008-10-18 Thread Ian Bambury
Read page 1 of the documentation Ian --~--~-~--~~~---~--~~ 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,

Re: BORDER STYLE

2008-10-21 Thread Ian Bambury
You can't wait 13 minutes for a reply? Panels don't have a show/hide as a rule, and you haven't supplied any code. What do you expect people to do? Ian --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web

Re: BORDER STYLE

2008-10-21 Thread Ian Bambury
().showPanel(LoginPanel. *ID*); } So, my method basically get the LoginPanel and set to show, before set to hide the current panel. Thats it, when i login to go to the second screen again , the layout broke! regards Eduardo On Tue, Oct 21, 2008 at 10:30 AM, Ian Bambury [EMAIL

Re: size of a unvisible widget

2008-10-21 Thread Ian Bambury
: PopupPanel.setPopupPositionAndShow(PositionCallback callback). I have not had a problem with flicker. Walden On Oct 21, 10:36 am, r a f t [EMAIL PROTECTED] wrote: thank you. that sounds to be a good solution. what is that +ve by the way ? On Oct 21, 5:28 pm, Ian Bambury [EMAIL PROTECTED] wrote

Re: Help me!!!!!!

2008-10-21 Thread Ian Bambury
Five exclamation marks, the sure sign of an insane mind. - Terry Pratchett --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: BORDER STYLE

2008-10-21 Thread Ian Bambury
If so, then you have not told us anything important so far: you are saying that showing and hiding a layoutpanel breaks it, but you haven;t supplied any code for the panel or for showing/hiding it, or any indication of what is giving it some structure in the first place or what is *should* look

Re: BORDER STYLE

2008-10-21 Thread Ian Bambury
I'd say that it is almost definitely a problem in your code and not with a GWT widget, so without being able to see the code, I can't really help. Ian http://examples.roughian.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

  1   2   3   4   5   6   7   8   >