Re: RequestBuilder, safely send data to server

2017-03-02 Thread Chad Vincent
Seconded. One of the best bits of advise I ever got is, "if you have a validation on the client, re-validate on the server". The JSR validation makes it easy to be sure validation is consistent, but I've not tried it now that the validation is a library. On Thursday, March 2, 2017 at 5:27:59

Re: GWT RPC in GWT 3.0+

2016-07-11 Thread Chad Vincent
Hey, speak for yourself. ;) RMI is awesome for prototyping or when the networking aspects are a secondary feature where performance isn't an issue. Maybe better off as a library, but still useful. On Saturday, July 9, 2016 at 6:02:23 PM UTC-5, Hristo Stoyanov wrote: > > Gwt-rpc had siMilar

Re: How to make my app more secure. URL token

2016-06-07 Thread Chad Vincent
Your GUI needs a check, then. I handle this by having every Place (and even some sub-forms) check for a user on display and display a logged out UI if there is no current valid user. Of course, I'm using a login dialog instead of a Place, so if someone's session times out they can

Re: Getting username from url only works after refresh

2016-06-01 Thread Chad Vincent
For some reason, passing the username around via the URL seems like a code smell to me. I'm not sure if it's actually better or not, but I store the User object from the server (less password hash) in a singleton (and the session, in case of a full refresh). I also have all my Place content

Re: window.showModelDialog replacement

2016-05-24 Thread Chad Vincent
I normally use a custom DialogBox ( http://www.gwtproject.org/javadoc/latest/com/google/gwt/user/client/ui/DialogBox.html ), since it is within-document, I can do whatever I need to in it (validation, Widgets, prompt for input using a custom widget, etc.), and it doesn't block other tabs.

Re: Why can I not extend java.util.Date?

2016-03-24 Thread Chad Vincent
might also not be that easy and > it must have a particular reason why it's not yet there. > > > > > On Tuesday, 22 March 2016 16:01:11 UTC+1, Chad Vincent wrote: >> >> 1) Dates are very, very, very hard. Calendar idiosyncrasies, time zones, >> leap second

Re: Why can I not extend java.util.Date?

2016-03-22 Thread Chad Vincent
1) Dates are very, very, very hard. Calendar idiosyncrasies, time zones, leap seconds... Be 100% sure you need to actually extend Date before messing with it. 2) You are probably better off putting your method (presuming this is the only one) in a custom utility class instead of extending

Re: Third Party Library for GWT validation

2015-05-20 Thread Chad Vincent
PM UTC+2, Chad Vincent wrote: (GWT responses use GSON, a Google-modified JSON, and are converted to POJO post-receive.) Huh!?!?!?! GWT-RPC uses its own serialization formats (plural: server-to-client is based on JS object literals –there's a patch to move to pure JSON, but it hasn't been

Re: Third Party Library for GWT validation

2015-05-20 Thread Chad Vincent
, Mohammed Sameen wrote: Yes Chad,I can't use GWT Validation(my application response is in the JSON format not in POJO).. On Monday, May 18, 2015 at 5:36:11 PM UTC+5:30, abdul wrote: I want to validate the gwt field like (Email,Text Length,Phone Number,Date SSN,etc..) Is there any proven JS

Re: Third Party Library for GWT validation

2015-05-18 Thread Chad Vincent
Are you not marshalling the response into a POJO? GWT Validation can be done (with most validators, though not all) client-side. On Monday, May 18, 2015 at 7:06:11 AM UTC-5, abdul wrote: I want to validate the gwt field like (Email,Text Length,Phone Number,Date SSN,etc..) Is there any

Re: Exception whit the GWT 2.7

2015-05-07 Thread Chad Vincent
My understanding is that the Eclipse Android GUI tool is likewise discontinued/deprecated. If you want Android GUI tools that will continue to be officially supported, you have to move to IntelliJ/Android Studio or code the GUI manually. On Wednesday, May 6, 2015 at 3:11:18 PM UTC-5, Marcin

Re: Synchronized code after a service call

2015-05-04 Thread Chad Vincent
You can also use a ParallelCallback... Like this: http://www.summa-tech.com/blog/2010/11/29/parallel-asynchronous-calls-in-gwt I'm not super stoked about that implementation (if you have 1 failure, the parent isn't notified, and if you override onSuccess() to do something per-callback like

Chrome prompts me to install GWT Developer Plugin even though the plugin is already installed

2015-04-17 Thread Chad Baker
I've been working with this plugin, using Dev Mode Classic for several weeks without issues. All of a sudden, this morning, it now continually prompts me to install the plugin, even though it already has been. I have rebooted, uninstalled/re-installed first the plugin, then Chrome itself. Is

Re: Unable to use memcacheservice in gwt module

2015-01-28 Thread Chad Vincent
Not directly. You'll have to write a service/servlet to provide Memcache access to the client. Alternately, HashMap can be used in GWT as a Cache, as can some of the Guava Caches. On Wednesday, January 28, 2015 at 11:07 AM UTC-6, Gautam Priya wrote: Chad - I figured that out and have moved

Re: Unable to use memcacheservice in gwt module

2015-01-28 Thread Chad Vincent
The problem is that you've put server-side code in your GWT. Whatever is asking for the memcache needs to be moved out of your client or shared packages. On Tuesday, January 27, 2015 at 4:14:02 PM UTC-6, Gautam Priya wrote: Is there a memcache gwt module that I could inherit from to avoid

Re: Chrome GWT Plugin required but is already installed

2015-01-12 Thread Chad Vincent
Plugin also still works in 32-bit Chrome 39.0.2171.95 m on Windows. On Sunday, January 11, 2015 at 5:10:24 AM UTC-6, Thomas Broyer wrote: On Friday, January 9, 2015 at 11:55:54 PM UTC+1, SHANKAR REDDY wrote: I was using GWT one year back and returned here to work on new development. I

Re: GWT + GAE : how to handle communication failure...

2014-12-27 Thread Chad Vincent
Reduce the size of SaveBarterItemResult. If the whole 3MB of data is required, but causes disconnects frequently, return a smaller/lighter object from the save call, and then retrieve the full data set in a more resilient manner. On Friday, December 26, 2014 8:06:35 PM UTC-6, Clement Boret

Re: check wallet garden / internet connection

2014-12-22 Thread Chad Vincent
1) Walled Garden 2) Any attempt to contact a different server in the javascript will trigger a security warning in most browsers, if not be blocked. You certainly can try and perform an HTTP request via RequestBuilder, but I wouldn't count on it being reliable. On Monday, December 22, 2014

Re: [gwt-contrib] Selection Cell Option value vs Display Value

2013-11-03 Thread Chad Vincent
I realize it's 3 years later, but since nobody had made the issue: https://code.google.com/p/google-web-toolkit/issues/detail?id=8417 On Wednesday, October 13, 2010 1:02:20 PM UTC-4, John LaBanca wrote: Users will probably want to set the ordering of the values. Letting users define the

RequestFactoryServlet import problem with AppEngine Connected Android Project

2011-06-01 Thread Chad
/where to import RequestFactoryServlet? Thanks, Chad -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit

Re: RequestFactoryServlet import problem with AppEngine Connected Android Project

2011-06-01 Thread Chad
Turns out you need to configure SDK version as referenced here (the instructions of course :-)): http://code.google.com/eclipse/docs/appengine_connected_android.html -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group,

Re: Overriding panel's iterator() prevents clickHandler from being called.

2011-03-31 Thread Chad
VerticalPanel, bypassing your ScrollPanel. HTH, Chad On Mar 31, 1:55 pm, Vhann3000 vhann3...@gmail.com wrote: On 31 mar, 14:30, Ben Imp benlee...@gmail.com wrote: Correct.  You weren't abusing the iterator itself, you were abusing the iterator method, which other things used. You can still

Tutorial: Using the HTML5 Canvas Element with the Google Web Toolkit (GWT)

2011-03-07 Thread Chad Lung
) all available space http://www.giantflyingsaucer.com/blog/?p=2350 I hope this can help some people out. Chad Lung -- 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

Re: Load/Display KML file in GWT Google Maps

2011-02-08 Thread Chad
recenter the map to the overlay itself so in the example above, I add the overlay to the map and then make sure the new overlay is visible to the user. HTH, Chad Bourque www.milamade.com On Feb 8, 4:30 am, Irene irenegarciaima...@gmail.com wrote: Hi all, I am developing a small project using GWT

Re: Manipulate localized date on the server side

2010-12-14 Thread Chad
and I never have to worry about any conversions on the server side. I do the conversion on the client only when I want to show it in the local time zone (which is all the time at this point). For reports/exports, I let the user choose to export the data in their local time or GMT. HTH, Chad

Re: Get a PDF from the Server

2010-11-30 Thread Chad
a single parameter with the url to the servlet. HTH, Chad Bourque www.milamade.com On Nov 30, 3:52 pm, Sean slough...@gmail.com wrote: Hi, I apologize in advance, I am extremely new to HttpServelet and RequestBuilders, so if this is a dumb question, I apologize. I typically just work with RPC's

Re: All I Want for Christmas is a powerful Widget Library from Google !

2010-11-16 Thread Chad
I completely agree with Thomas on this one. Just look at GXT apps for another example. By GWT not having slick looking widgets, it forces a developer to create a look and feel for their own apps. I'd much prefer the GWT team to keep pumping out more function over form. Chad Bourque

Re: Deploying GWT project on Tomcat

2010-11-09 Thread Chad
), but then you will need to run Tomcat manager and choose to reload the app. HTH, Chad Bourque www.milamade.com On Nov 9, 5:52 am, Pablo G.F blay...@gmail.com wrote: Hello: I want to deploy a GWT project on a Tomcat server. As I´ve read, all I have to do is compile the GWT project (by the option

Re: Handling ClickEvents with custom composite widgets

2010-11-05 Thread Chad
at all. HTH, Chad Bourque www.milamade.com On Nov 5, 1:14 pm, nathan nsll...@gmail.com wrote: I tried event.getSource() but since I created a custom widget, called CompositeWidget, and I'm listening for a click in the LeftPanel, I believe event.getSource() is returning LeftPanel

Re: Route animation in google maps with GWT

2010-10-11 Thread Chad
, and the position reports all in sync. Have fun, Chad www.milamade.com On Oct 9, 7:53 am, Jan jan.widm...@gmx.ch wrote: Hi all, For an actual project, we need to evaluate movements of motor-ships. The position datas are sent from a gps router on the ships and are saved in a database on our server. One

Re: Sending mails from GWT-App

2010-09-28 Thread Chad
)); transport.close(); } catch (Throwable caught) { throw new Exception(caught.getMessage()); } /pre HTH, Chad On Sep 28, 8:20 am, newnoise tommmuel...@googlemail.com wrote: What does that mean? On 28 Sep., 15:12, Paul Grenyer paul.gren...@gmail.com wrote: Hi This isn't a GET issue

Re: Crop a photo stored locally

2010-09-23 Thread Chad
user is done, use RPC to send the size and location (relative to the Image widget) to the server - Server side code crops the image based on that size and location and saves to database or file system HTH, Chad On Sep 22, 10:02 pm, Josh Tinkham unitin...@gmail.com wrote: I'm building a costume

Re: How to tell when a text box loses focus

2010-09-21 Thread Chad
Brett, You are looking for the BlurHandler / onBlur. HTH, Chad On Sep 21, 3:23 pm, Brett Thomas brettptho...@gmail.com wrote: Hey, basic question here that I can't find the answer to. Is there any way to do something to a TextBox when it loses focus in GWT 2.0? The FocusListener interface

An Updated GWT Designer Tutorial

2010-09-17 Thread Chad Lung
/?p=1606 Hopefully this will help out the people whom are new to the GWT Designer. Chad Lung -- 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: How to block click event?

2010-09-07 Thread Chad
Instead of trying to block the event, why not just eat it. In your widget, on the click event, check the state of the widget. If the state is enable, only then fire the click event to any registered listeners. HTH, Chad On Sep 6, 10:06 am, ulgerang ulger...@gmail.com wrote: Hi, I am making

Re: How to add a widget as a Panel on top of the MapPanel

2010-08-30 Thread Chad
on the map and it becomes part of the map so that the map keeps all of its functionality. If that's not what you're after, please try to explain what you want a bit more clearly. HTH, Chad On Aug 29, 8:37 am, Kiarash email@gmail.com wrote: I successfully have been implementing the gwt google

Re: Runtime.exec on sever side

2010-08-27 Thread Chad
Andrew, That is not the case. Disabling GAE has no effect on being able to debug in that manner. None of my projects use GAE and all are tested and debugged via Eclipse - Debug As - Web Application. HTH, Chad On Aug 27, 11:37 am, Andrew McCann andrewjmcc...@gmail.com wrote: I should have

Re: Returning values, next try. Sending was too fast for me

2010-06-09 Thread Chad
that won't get called. It's better to create a specific interface for each type of callback you need. HTH, Chad On Jun 9, 3:57 am, uwi_u uwe.chris...@gad.de wrote: Thanks a lot, but I've got further questions ;) I'm using gwt-mvc. So, the described Method is located in the Model. What to do

Re: Returning values, next try. Sending was too fast for me

2010-06-08 Thread Chad
follows the call to your loginUser method and move it into the onLogin method of an instance of LoginCallback that gets passed to the new loginUser method. Think Async! ;-) HTH, Chad On Jun 8, 8:07 am, uwi_u uwe.chris...@gad.de wrote: Hi there, I'm currently writing an Application with GWT, and am

Re: Returning values, next try. Sending was too fast for me

2010-06-08 Thread Chad
Oh, BTW, you would need to move your call to logToServer into the onSuccess as well. I didn't notice that one at first. HTH, Chad On Jun 8, 2:28 pm, Chad chad...@gmail.com wrote: You don't want to block the UI with a while loop. Instead, consider creating an interface with a single method

Re: Dialog is hidden behind Earth Map

2010-05-05 Thread Chad
Thanks, I'll most likely play around with this solution. Chad On May 4, 9:24 pm, El Mentecato Mayor rogelio.flo...@gmail.com wrote: A solution (kind of the third option you mentioned, but you don't have to hide the map completely unless you want to move the dialog around-- on top of the map

Dialog is hidden behind Earth Map

2010-04-26 Thread Chad
of the dialog up, but neither seem to make any difference. I tried to debug it in FF, but Firebug can't even select anything to do with the map as far as I can tell. Any Ideas? TIA, Chad -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group

Re: Dialog is hidden behind Earth Map

2010-04-26 Thread Chad
completely when I need to show a dialog (could be done with no regard to map type) Are there any other possible routes I haven't thought of here? Thanks, Chad On Apr 26, 3:16 pm, Eric Ayers zun...@google.com wrote: Hmm.  I think this is because the Earth map type is actually a Flash plugin

Learning to develop Custom Widgets :: onAttach

2010-04-18 Thread Chad
I am working on developing a few custom widgets in order to learn how GWT works. One of these widgets is a custom scrollbar similar to that used by Google Wave. I have most of the widget working using nested DIV elements to display the visual elements. However, I am having difficulty getting the

How to get OnMouseOver Event on DIV Element

2010-04-11 Thread Chad
I have a custom widget that extends SimplePanel. This widget consists of a few extra DIV tags and for one I would like to receive the onmouseover and onmouseout events. What is the proper method for getting these events for a specific DOM element within a custom Widget? Thanks, -- Chad -- You

Re: How to put same widget under multiple tabs in TabLayoutPanel?

2010-04-10 Thread Chad
One option would be to add a selection handler to the TabPanel and when the tab changes remove the controls from the display and attach them to the new tabs content. On Apr 8, 11:49 pm, enjoylife youwe...@gmail.com wrote: I have a TabLayoutPanel with 3 tabs, each tab contain a table.  I need to

theming CssResourse and ClientBundle

2010-04-08 Thread Chad
user to override style properties and/or provide alternate images for these widgets? What is the best practice for creating a theme-able widget library? Thanks, -- Chad -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group

Re: load content of directory server side Options

2010-03-28 Thread Chad
would want to throw in some error checking and such. HTH, Chad On Mar 28, 9:21 pm, sc3sc3 . sc3...@gmail.com wrote: Jeff Chimene wrote: On 03/28/2010 11:19 AM, sc3sc3 . wrote: hi i have directory with images im my war file: /war/images how can i iterate over the contents of this directory

Re: Multi-tenancy in GWT

2010-03-23 Thread Chad
Kyle, While you *may* be able to do that, the general GWT way would be to have your urls look more like this: mysite.com/myapp.html#/acmeHairSalon mysite.com/myapp.html#/genericDogCollars And you can easily access the tokens via the History class (the getToken method). HTH, Chad On Mar 23, 8

New GWT 2.0 tutorials

2010-03-12 Thread Chad Lung
on my blog, thanks. Chad Lung -- 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

Earth Map won't load

2010-03-11 Thread Chad
it to work. Right now, when the callback from getEarthInstance fails, I remove the earth map type from the map to keep users from seeing the error page. What should I have to do to be able to have the earth view in the map? TIA, Chad -- You received this message because you are subscribed

Re: Cookie

2010-03-04 Thread Chad
Fran, Try putting an L after at least one of the numbers in parentheses: nowLong = nowLong + (1000L * 60 * 60 * 24 * 30); // 30 dias HTH, Chad On Mar 4, 4:25 pm, Fran fra...@gmail.com wrote: I cant write a cookie in GWT. This is the code:                         String ckValue

GWT RPC behind an Apache Proxy

2010-02-24 Thread Chad
guess my question is what is the reason for requiring exactly the same path. Is there a way around this. Finally, is there a security issue that this is supposed to prevent? Thanks, -- Chad -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group

Re: GWT Developer Plugin not working IE8

2009-12-15 Thread Chad
I run Vista 64 bit and I have the debugger plug-in for both FF and IE8. I'm not having any problems with it. For IE, it only works in IE8 32 bit, not IE8 64 bit. But it is on a 64 bit OS. HTH, Chad On Dec 15, 3:26 pm, Sekhar Ravinutala sek...@allurefx.com wrote: But you didn't try Vista 64

Re: NT User name

2009-11-19 Thread Chad
web.xml file and you will be able to get the username from your server-side code. Everything you will need is in their documentation and they have a 60-day trial. After that it is limited to 25 users. If you have 25 or fewer users, you can use their product for free. HTH, Chad On Nov 19, 10:13 am

Re: Connection with DB

2009-10-11 Thread Chad
You can't use your own database with Google App Engine (GAE). You can either use GAE for all of your storage or turn GAE off in your project and use your own database for all of your storage. HTH, Chad On Oct 10, 10:19 pm, luciocamilo luciocam...@gmail.com wrote: I am having one problem, when

Re: How to listen events for stack panel?

2009-09-25 Thread Chad
Jie, Subclass the StackPanel and override the showStack method: @Override public void showStack(int index) { super.showStack(index); // display your information } You could also add more methods to allow adding handlers/listeners if you want. HTH, Chad On Sep 24, 9:00 pm, Jie

Re: scrollable panel without scrollbars - scroll controlled with buttons?

2009-09-16 Thread Chad
Glad it helped. :) Chad On Sep 16, 10:56 am, John (Eric) Hamacher badgerd...@gmail.com wrote: Never mind! On Sep 16, 10:49 am, John (Eric) Hamacher badgerd...@gmail.com wrote: Thanks Chad, How do prevent the AbsolutePanel from stretching to fit the inner panel? On Sep 16, 12:48

Re: Panel whose which can expand past the dimensions of the screen

2009-09-16 Thread Chad
like you already tried that, but I'm not sure why it wouldn't be an exact thing for you. HTH, Chad On Sep 16, 4:18 pm, badgerduke badgerd...@gmail.com wrote: Hello: I have a HorizontalPanel whose parent of an AbsolutePanel.  The AbsolutePanel has a fixed with of 800px but the HorizontalPanel

Re: scrollable panel without scrollbars - scroll controlled with buttons?

2009-09-15 Thread Chad
panel (it can be negative). You'll probably want to keep track of when the inner panel is all the way on either end and maybe disable the buttons. It seems simple enough. HTH, Chad On Sep 15, 4:11 pm, badgerduke badgerd...@gmail.com wrote: Hello: I have a panel whose contents I want to scroll

Re: GWT application running in Firefox sidebar

2009-09-08 Thread Chad
Gordon, My guess is that you'd have to use JSNI and the window object (not the $wnd object). In GWT, for JSNI purposes, the $wnd object is set to the GWT frame, but the window object should still refer to the main browser window. HTH, Chad On Sep 8, 6:38 am, Gordon goschlech...@googlemail.com

Re: MySql Driver not found

2009-09-07 Thread Chad
Since you are trying to use MySQL as your database, you can't use Google's App Engine. It is its own data store. So, look at the properties of your project. There should be a Google section. The App Engine will be checked. Uncheck it. You can't use App Engine and your own database. HTH, Chad

Re: @SuppressWarnings(serial)

2009-09-03 Thread Chad
version ID - Add generated serial version ID - Add @SuppressWarnings 'serial' to 'GreetingServiceImpl' Any of those three options would work. Just take your pick. HTH, Chad On Sep 3, 11:37 am, Andy antonvonpil...@gmail.com wrote: Does anyone know why does the GreetingServiceImpl Servlet

Re: question from a novice in GWT

2009-09-02 Thread Chad
@nyankov: Simple, really. Leave your current (non-GWT) site intact. Then, create a separate application (GWT) with a vertical panel containing a frame and the toolbar. Disable the window scroll bars. Add a window resize handler to keep your vertical panel sized full page (or maybe just set the

Re: how to determine when StackPanel index changes?

2009-08-28 Thread Chad
(); } } And, of course, create an onShowStack method that would only be called when the stack is changed. HTH, Chad On Aug 28, 1:26 am, Phineas Gage phineas...@gmail.com wrote: When using a StackPanel, is there any way to listen for when the selected index of the StackPanel changes? I see

Re: Question about app context.

2009-08-22 Thread Chad
through the extra hoops you found. HTH, Chad On Aug 21, 4:35 pm, David C. Hicks dhi...@i-hicks.org wrote: Found it. GWT.getHostPageBaseURL(). David C. Hicks wrote: To *almost* answer my own question, I think this comes down to knowing what the web context root is to be pre-pended to URLs.  So

Re: Refresh page on loading

2009-08-19 Thread Chad
, this may have no effect whatsoever. :-/ HTH, Chad On Aug 18, 9:32 am, Rahul coolrahul18...@gmail.com wrote: Hi, I am loading buttons in individual tabs of a tab panel. In the tab panel i have some labels in order and also some cascading tabs in order. The first time the page is loaded, the buttons

Re: question from a novice in GWT

2009-08-17 Thread Chad
Well, you could still use the method I outlined by using a Frame (iFrame) and load your site in it. So, you would have a GWT shell. HTH, Chad On Aug 17, 12:42 am, nyankov nikola.yan...@gmail.com wrote: Well my page is regular HTML page, and till now doesn't use GWT. Now I want to place

Re: question from a novice in GWT

2009-08-16 Thread Chad
to appear. HTH, Chad On Aug 16, 11:40 am, nyankov nikola.yan...@gmail.com wrote: sure. position: fixed but this doesn't work well enough I red about frame (iframe) simulation somehow. I looked and in gmail (there opened chat popup is fixed to window bottom right). I saw

Re: Selected style do not apply when using widget for treeItem

2009-08-04 Thread Chad
the background of your inner widget or it will cover up the gwtTreeItem-selected background. HTH, Chad On Aug 4, 5:57 am, shahid shahidza...@gmail.com wrote: I have a GWT tree. When I use the tree.addItem(Widget) to add the tree items as Widgets to the tree, the gwt-treeitem-selected style do

Re: Displaying a loading image while waiting on RPC

2009-08-01 Thread Chad
at your site. I like it. You may want to fetch listings on map resizing as well. If you zoom out, you still have to move the map before listings load into view. Zooming in wouldn't be a problem. Overall, I think it's very nice. Good work, Chad On Jul 31, 8:34 pm, Nick_Zaillian nzaill...@gmail.com

Re: Changing a GWT css default

2009-08-01 Thread Chad
the few little changes you need. In your code, call setStylePrimaryName(charlie- DialogBox) on your custom dialog box. That should get you what you want. HTH, Chad On Aug 1, 9:26 am, Charlie codeboo...@gmail.com wrote: Hey I want to create a new CSS property style for dialog box but I want

Re: Changing a GWT css default

2009-08-01 Thread Chad
since it's an exact copy. Then, make your changes to your css file and test again to see the changes reflected. HTH, Chad On Aug 1, 3:17 pm, Charlie codeboo...@gmail.com wrote: Hey I copied everything which had DialogBox and changed all of them to a custom name but the dialogbox didn't look like

Re: Modelling framework

2009-08-01 Thread Chad
. Then, you can build your app with a set data structure, but the data can be completely dynamic. This would result in the same experience for the user, but a lot less work for you and most likely less fragility for your data. HTH, Chad On Aug 1, 9:30 am, Kaspar Fischer kaspar.fisc...@dreizak.com

Re: Displaying a loading image while waiting on RPC

2009-07-31 Thread Chad
Nick, Create your message however you want (DecoratedPopupPanel, GlassPanel, Highlighted text, whatever). Just before you call your RPC, display your message. Then, in both the onFailure and onSuccess methods of your AsyncCallback, hide your message. HTH, Chad On Jul 30, 8:21 pm, Nick_Zaillian

Re: CSS-ToolBar

2009-07-29 Thread Chad
the GWT team puts the borders on the buttons. Copy that to your button-up class and you should be all set. HTH, Chad On Jul 29, 3:47 am, Muhannad Nasser muhannadna...@gmail.com wrote: hi all the buttons in the grid panel does not have frame when the mouse is not over them, but when we put

Re: Export GWT app as WAR file - EASY tutorial for this?

2009-07-20 Thread Chad
as the war file name (without the extension). If you are using an older version of GWT, then the manual steps I outlined a while back may help and can be found: http://milamade.com/code/gwt/createwar.htm HTH, Chad On Jul 20, 8:01 am, martinhansen martin.hanse...@googlemail.com wrote: Hi, I

Re: Copying from Result Set to Array List

2009-07-15 Thread Chad
)); } You can also use the column name, as in: while (rs.next()) { rowArray.add(rs.getString(SourceTableName)); } Your code would only work if the SourceTableName column in the SourceTables table is of an integer type. HTH, Chad On Jul 15, 9:58 am, Rahul coolrahul18...@gmail.com wrote: Hi, I

Re: Copying from Result Set to Array List

2009-07-15 Thread Chad
. Your result will be an ArrayList. You need to iterate it and read each string in it. HTH, Chad On Jul 15, 10:54 am, Rahul coolrahul18...@gmail.com wrote: Hi Sean, Thanks for replying. I understood what you are trying to say. @Chad can you elborate on Your code would only work

Re: Display tables of database in tree fashion

2009-07-09 Thread Chad
the dynamic loading route when dealing with trees. HTH, Chad On Jul 9, 9:21 am, Rahul Mukhedkar coolrahul18...@gmail.com wrote: any suggestions anyone? On Jul 7, 1:43 pm, Rahul coolrahul18...@gmail.com wrote: Hi, I would like to display the tables on my UI in a tree fashion

Re: Get Object from ScrollTable

2009-07-05 Thread Chad
, Chad On Jul 5, 10:43 pm, Maksim Ustinov maks...@gmail.com wrote: Right now I'm playing with ScrollTable from GWT Incubator. I'm trying to make functionality when user select one row then click on Edit button and then he will be able to edit that particular Object. Right now I have to check what

Re: WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.

2009-06-30 Thread Chad
a short while, I stopped noticing it altogether. :) I imagine it will be corrected sooner or later and one day with an upgrade, the error will just go away the same way it came. Chad On Jun 29, 9:11 am, Miguel Méndez mmen...@google.com wrote: Thanks Chad.  I must admit that I have never encountered

Re: WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.

2009-06-29 Thread Chad
registry root or something like that. HTH, Chad On Jun 29, 7:46 am, Miguel Méndez mmen...@google.com wrote: What was going on when the error was reported?  How was it reported?  Was there a stack trace? On Sat, Jun 27, 2009 at 3:03 PM, Farinha fari...@gmail.com wrote: The subject has it all

RichTextArea insert entity or custom span element

2009-06-26 Thread Chad
a button that would insert a span with the classname indicating what test it appears on. Then I can use CSS to insert the appropriate indicator. I believe I like the span class=testItem approach better, but need suggestions. Thanks, Chad --~--~-~--~~~---~--~~ You

RichTextArea insert entity or custom span element

2009-06-26 Thread Chad
a button that would insert a span with the classname indicating what test it appears on. Then I can use CSS to insert the appropriate indicator. I believe I like the span class=testItem approach better, but need suggestions. Thanks, Chad --~--~-~--~~~---~--~~ You

Re: show/hide widget based on user's credentials

2009-06-23 Thread Chad
belongs to and the rights that belong to each role. The roles and rights are added to the user and sent back to the client. From that point on, the application can just query the user object for everything that it needs to know about the user. HTH, Chad On Jun 23, 3:28 pm, ailinykh ailin...@gmail.com

Re: show/hide widget based on user's credentials

2009-06-23 Thread Chad
id is valid. I also sometimes store this session id in a cookie valid for a couple weeks to allow user's to stay logged in in some apps. If I'm not mistaken (which I very well may be), aren't these methods secure? I grant you, I'm by no means a security expert. Chad On Jun 23, 5:55 pm, ailinykh

Re: Very basic LoginSecurityFAQ and GWT-RPC questions

2009-06-09 Thread Chad
. If there is no User object, I know the user is just coming in and I can force a login. HTH, Chad On Jun 9, 1:09 pm, eags eagsala...@gmail.com wrote: Someone I talked to in person (who otherwise didn't know about GWT RPC) suggested I also store the role as in {username,sessionID,timeout,role} so

Phantom Code Running

2009-06-07 Thread Chad
a difference either. Any ideas how to make this deleted code not run? TIA, Chad --~--~-~--~~~---~--~~ 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

Re: Phantom Code Running

2009-06-07 Thread Chad
Ok, I figured it out. There was a reference to the field in SQL. I had removed the reference from 3 other stored procedures, but I missed one and that was causing the problem. If only T-SQL was as easy to search as Java... Sorry for the disturbance. :) Chad On Jun 7, 12:09 pm, Chad chad

Re: PushButton w/ image: How to avoid grey background

2009-06-05 Thread Chad
Glad I could help. Chad On Jun 4, 5:33 am, dduck anders.johansen.a...@gmail.com wrote: On 3 Jun., 21:23, Chad chad...@gmail.com wrote: Anders, I do this in my app. I call it an InvisibleButton. Chad, That worked like a charm. Much obliged! Regards,   Anders

Re: Create widgets in the onSuccess()

2009-06-05 Thread Chad
Adil, Are you attaching your buttons to anything or keeping any reference to them so they aren't garbage collected after the onSuccess is done? HTH, Chad On Jun 5, 10:52 am, Adil BENHAMID enst.de.breta...@gmail.com wrote: Hello, I would like to create some components like buttons

Re: PushButton w/ image: How to avoid grey background

2009-06-03 Thread Chad
: pointer; cursor: hand; } .mm-InvisibleButton-down-disabled { cursor: default; opacity: 0.5; filter: alpha(opacity=40); zoom: 1; } HTH, Chad On Jun 2, 2:40 pm, dduck anders.johansen.a...@gmail.com wrote: Hi, I would live to create a button that works just like a pushbutton, but without

Re: Composite - can click on one widget inside look like click on the Composite itself?

2009-06-02 Thread Chad
with ValueChangeHandler and HasValueChangeHandlers to allow this class to raise ValueChangeEvent caused by internal controls. In your case, you will need to create a ClickEvent with the class as the source and fire it. HTH, Chad On Jun 2, 3:47 am, romant roman.te...@gmail.com wrote: Hi men, I am

Re: how to overlay one grid over the other?

2009-05-14 Thread Chad
over the second scenario. Of course, in either scenario, the trick will be getting them to scroll together, but I'll leave that small detail to you. ;) HTH, Chad On May 14, 3:38 am, Suren nsurendi...@gmail.com wrote: Hi All, I want to overlay one grid over the other, so that I can create

Re: Setting DataSource (JNDI) in GWT 1.6 (hosted mode - Jetty)

2009-05-07 Thread Chad
You can do this by configuring a jetty-web.xml file. I blogged what worked for us at: http://humblecode.blogspot.com/2009/05/gwt-16-using-jndi-datasource.html On Mar 11, 11:16 pm, wiltonj wilt...@gmail.com wrote: Hi, How to setting DataSource in GWT 1.6 (Hosted mode - Jetty)? Hoping for

Re: Fire a MouseOutEvent

2009-05-05 Thread Chad
Thomas, Thanks for the information. I had already been snooping around the DomEvent and fireNativeEvent stuff. I guess I can go ahead and subclass PushButton for my ToolButton like I've been putting off. ;) Chad On May 5, 5:58 am, Thomas Broyer t.bro...@gmail.com wrote: On 5 mai, 00:04, Chad

Fire a MouseOutEvent

2009-05-04 Thread Chad
in the ClickHandler. Am I going about this all wrong? What's the best way to accomplish what I want (have the button appear that the mouse moved out of it)? TIA, Chad --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google

Re: Getting User Credential from IE

2008-10-23 Thread Chad
; } return user; } } /pre One thing to note, if you are using IE, you will be signed in automatically as IE does this invisibly. If you are using any other browser, you will prompted with a browser dialog asking for your username and password, IIRC. HTH, Chad On Oct 22, 4:15 pm, Julian [EMAIL

Re: problem of gwt deployment

2008-10-22 Thread Chad
Arnaud, I have a guide for manually creating a war file from Eclipse that can be found: http://www.milamade.com/code/gwt/createwar.htm This is the new home of the tutorial that was located on charisacademy.com. HTH, Chad On Oct 22, 6:38 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello

  1   2   >