Re: RootPanel.get().clear();

2011-11-03 Thread lineman78
RootPanel.clear is inherited from Panel. The source has it iterating through the logically attached children and removing them so it should just remove anything you added from the current GWT module. If you wanted to clear everything you would call RootPanel.get().getElement().setInnerHtml();

Re: GWT with JPA located in a separate project

2011-01-05 Thread lineman78
Even if you did include source it probably would fail to compile due to the JPA annotations. This is why the EntityProxy API was created in 2.1. I suggest that you use EntityProxy and RequestFactory in order to get your stuff to work.

Re: how to get regex(Pattern and Matcher) working in client side

2010-11-11 Thread lineman78
Thats nice that they finally added full regex capability. If you need to access a capture group in older versions of GWT use this: public static native String getRegexGroup(String toSearch, String regex, int groupNum) /*-{ return toSearch.match(regex)[groupNum]; }-*/; Or if you need to

Re: Entire Site in GWT?

2010-11-11 Thread lineman78
If your site is big enough to require a dedicated server I recommend Glassfish, but some projects just aren't big enough and shared Java hosting is very difficult to come by. Last time I looked for shared Java hosting some were starting to use Resin due to it's capability of handling both PHP and

Re: A gwt-CSS problem for Advanced problem solvers

2010-10-22 Thread lineman78
The space is correct since it is a decendant selector. In order for the no space to work the div you are trying to select would have to be a member of both classes. There are 2 options for a solution... 1) splitter is the id of the split div: .gwt-HorizontalSplitPanel #splitter {} 2) hsplitter

Applying different styles to different cell tables

2010-10-12 Thread lineman78
I am having a problem being able to change the style for 2 different instances of cell table. I have one instance that I want to make selectable so the css has cursor:pointer; and one that isn't so it has cursor:default;. They seem to be generated and injected with the same class name, so any

Re: JSON requests with authorization and cross-site

2010-10-05 Thread lineman78
If it is basic auth then you should just be able to use JSONP, since it is cross site, if form auth you will need to have them auth before making the request. Remember you can't make cross site requests directly, but JSONP allows you to work around that. Since it is an authenticated request a

Re: Disable Widgets till File Upload is complete

2010-10-05 Thread lineman78
disable them in a submit handler and you can re-enable them in a submit complete handler. On Oct 5, 10:57 pm, Nitin nkam...@gmail.com wrote: HI! I am developing a web application in which the user selects several files and submits for file upload in a form. My problem is, I want to disable

Re: Minimalistic JPA in GWT 2.1.0.M3

2010-10-01 Thread lineman78
else with the JPA. On Sep 30, 6:15 pm, lineman78 linema...@gmail.com wrote: persistence.xml should be located in /war/META-INF On Sep 30, 4:28 pm, Y2i yur...@gmail.com wrote: Client's requests go the server through RequestFactoryServlet. My service objects (those annotated

Re: Loading GWT module after page is loaded

2010-09-30 Thread lineman78
That is correct, you will end up with a blank page if you try to use the default iFrame linker and load modules dynamically. This used to not be the case, but is now. You could probably go back to GWT 1.5 or 1.6 and grab it's iFrame linker and use it. On Sep 30, 3:28 am, Denis Vilyuzhanin

Re: Project works in development mode but compiled version fails!!!

2010-09-30 Thread lineman78
Your regex is invalid and the unexpected quantifier is being ignored in java, but javascript is throwing an exception. The '+' after the {2,} is a quantifier after a quantifier, it needs some sort of character class before it. Depending on the goal of your match here are some valid regex

Re: Minimalistic JPA in GWT 2.1.0.M3

2010-09-30 Thread lineman78
persistence.xml should be located in /war/META-INF On Sep 30, 4:28 pm, Y2i yur...@gmail.com wrote: Client's requests go the server through RequestFactoryServlet. My service objects (those annotated with @Service(SomeDomainClass.class) on the client side are being called fine. When a service

Re: How to add click handler to a panel?

2010-09-28 Thread lineman78
If you are willing to wait till 2.1 or upgrade to the milestones addHandler has been changed to public instead of protected. On Sep 28, 4:40 pm, drthink drgenejo...@gmail.com wrote: I want to add a click handler to a panel so I extended the HorizontalPanel as shown below.  It feels dirty

Re: how to change one widget's style dynamically

2010-09-28 Thread lineman78
Forgive me if something is slightly wrong as I'm not going to validate this through Eclipse, but I think this is what you want: Button button = new Button(Green Button); button.getElement().getStyle().setColor(green); On Sep 28, 7:31 am, ahdipost yaserizt...@gmail.com wrote: Hi everyone, I

Re: embed entire GWT application into single html file

2010-09-27 Thread lineman78
There was a single file linker in the 1.5 days, dont know if its still around, but it would blow up if it determined more than one permutation is needed. On Sep 26, 1:21 pm, Wolfgang wolfgangmey...@gmail.com wrote: I've tried doing this on my own with not much success, as the javascript

Re: Interested in GWT client-side JSON serialization and deserialization?

2010-09-23 Thread lineman78
This is way too complex, just stick to overlay objects and the json2.js library(assuming you are targeting IE6 you need to include it, otherwise it is provided) with JSON.parse and JSON.stringify. On Sep 23, 9:11 am, Ciarán ciaran.mccann@gmail.com wrote: If your interested in GWT client-side

Re: Correctly implementing history

2010-09-23 Thread lineman78
of useful information, but neither one has the complete implementation. :-( On Sep 22, 6:35 pm, lineman78 linema...@gmail.com wrote: I am assuming that you just have history listeners everywhere that matters.  There are multiple ways you can fix this, you can look at the value of the history

Re: Modify files in .jar libraries

2010-09-23 Thread lineman78
You can just treat a jar file as a zip file, nothing special except structure and extension. On Sep 23, 2:30 am, Daniela Iervolino daniela.ie...@gmail.com wrote: Hi everyone! Does anyone know how modifing files from .jar libraries? I've tried to modify some files from a library (for example,

Re: Chat with GWT

2010-09-23 Thread lineman78
May I suggest ICEpush for chat app, here is a GWT chat demo: http://demos.icepush.org/icechat-gwt/ On Sep 23, 7:26 am, danigb dan...@gmail.com wrote: There's a library (emite.googlecode.com) that allows to send and receive messages from a xmpp server using a proxy using the BOSH technique

Re: Crop a photo stored locally

2010-09-23 Thread lineman78
If you want to do everything client side you will have to use a Java applet. To do it with GWT you will have to upload the file to the server. Doing so depends on your server-side approach. Whichever approach you are using you should research multi-part form data for uploading a file. You will

Re: Correctly implementing history

2010-09-22 Thread lineman78
I am assuming that you just have history listeners everywhere that matters. There are multiple ways you can fix this, you can look at the value of the history token in the constructors, or you might simply be able to call History.fireCurrentHistoryState() right after you add your listener. On

Re: Singleton Class in Development Mode

2010-09-22 Thread lineman78
Which is the way it should correctly act because that is how Javascript acts. If you want a singleton to span multiple tabs and sessions go back to an applet. If you want similar behavior in javascript you need to use cookies, but be aware of the associated security issues. On Sep 22, 10:34 am,

Re: How do i get the row index and column index in each cell on mouse over event

2010-09-21 Thread lineman78
Cell cell = view.getCellForEvent(event); int row = cell.getRowIndex(); int col = cell.getCellIndex(); OR private int getRowForEvent(MouseEvent? event) { Element td = getEventTargetCell(Event.as(event.getNativeEvent())); if (td == null) { return -1;

Re: ScrolPanel Question

2010-09-21 Thread lineman78
http://rcswebsolutions.wordpress.com/2007/01/02/scrolling-html-table-with-fixed-header/ On Sep 21, 12:07 pm, skippy al.leh...@fisglobal.com wrote: Well, thanks for the respond.  However, I was not all that clear. I have very picky users and here is the real scoop: I am using UIBinder and

Re: Evaluating string: (A+sin(B)) where A=1, B=2

2010-09-20 Thread lineman78
There are plenty of Java implementations that do the same thing if you would prefer sticking with Java. Popular Java projects include Jep(http://sourceforge.net/projects/jep/) and JFormula(http:// www.japisoft.com/formula/). On Sep 20, 4:04 pm, Janko janko.sla...@gmail.com wrote: The best way I

Re: clearing or preventing double-click selection

2010-09-14 Thread lineman78
This works for preventing all selection on a widget. addDomHandler(new MouseDownHandler() { @Override public void onMouseDown(MouseDownEvent event) { event.preventDefault(); } }, MouseDownEvent.getType()); On

Re: clearing or preventing double-click selection

2010-09-13 Thread lineman78
In your onClick method you can call event.preventDefault() to keep the browser from handling the event. On Sep 12, 1:29 pm, decitrig rws...@gmail.com wrote: I'm working on an application that responds to double clicks on text labels, and I'd like to either disable double-click text selection or

Re: How could we know if GWT project will continue to be maintained by Google?

2010-09-13 Thread lineman78
I am pretty sure gmail is.. On Sep 13, 7:48 am, marius.andreiana marius.andrei...@gmail.com wrote: Hello, While comparing GWT with other solutions for a long-term project, we wondered how could we know if GWT project will continue to be maintained by Google, since it's available for free and

Re: To cancel form submit event of FormPanel on press of enter key

2010-09-13 Thread lineman78
add a submit handler and you can call cancel on the event. On Sep 13, 9:58 am, nirav patani nirav...@gmail.com wrote: Is there any way to cancel a GWT submit event on press of enter key. I want to perform som validations on the gwt page and then only invoke form.submit() method. but form gets

Re: gwt-servlet.jar keeps reappearing on client side application

2010-09-12 Thread lineman78
RPC can be used even without GAE, so this is why eclipse keeps adding it. I am not sure if there is a way to tell it not to. On Sep 11, 9:31 am, marius.andreiana marius.andrei...@gmail.com wrote: Hi, On a GWT Eclipse project (which doesn't use AppEngine), although I removed gwt-servlet.jar,

Re: Change Cursor Shape

2010-09-11 Thread lineman78
CSS attribute cursor. http://www.w3schools.com/css/pr_class_cursor.asp On Sep 10, 11:39 pm, udayanga ranasinghe udayanga.u...@gmail.com wrote: Hi All, Please tell me how to change the cursor shape in MouseMoveEvent event. Thanks Regards. Udayanga. -- You received this message because

Re: Difference between URL.decode and URL.decodeComponent

2010-09-10 Thread lineman78
decode and encode component is intended to be used in parts of the query. Take the following url for example: http://www.google.com/search?q=fox%26hound |___| component The bigggest difference between encode and encodeComponent is what

Re: Variable UI

2010-09-09 Thread lineman78
I think you are making thins too complicated. What are you doing with so many images? Browsers can do client-side scaling of images for you if you use the img tag (background image scaling is coming in CSS3). It seems like you are a thick client developer and don't have much experience with web

Re: Translating already compiled Java?

2010-09-09 Thread lineman78
I have been battling this issue for a while and the solution really depends on your architecture. The question is are they truly POJOs or do they have JAXB annotations? If they have JAXB annotations GWT will blow up, if not you can trick the GWT compiler into letting you use an external library,

Re: How to get HTTP Response headers?

2010-09-09 Thread lineman78
Works fine for me: @Override public void onResponseReceived(Request request, Response response) { String toPop = ; for (Header header:response.getHeaders()) toPop += header.getName() + : + header.getValue() +

Re: Adding Event Handlers on the body element...

2010-09-09 Thread lineman78
Similarly you should probably also check the type. and you could emulate the normal handler style of the rest of the GWT architecture. Event.addNativePreviewHandler(new NativePreviewHandler() { @Override public void onPreviewNativeEvent(NativePreviewEvent

Re: Variable UI

2010-09-09 Thread lineman78
What you are describing is very similar to worldofsolitaire.com. I suggest that you play around with it for a bit and use firebug to inspect how he does things in html. I believe he is using just one image for each card and letting the browser scale it. This way you only need one image for each

Re: DisclosurePanel, class-name content

2010-09-08 Thread lineman78
, lineman78 linema...@gmail.com wrote: It is because content and header all both children of the gwt- DisclosurePanel class and they expect you to use child selectors. Here is what they expect you use so that you don't end up with collisions: .gwt-DisclosurePanel .content {  border: 2px

Re: Variable UI

2010-09-08 Thread lineman78
Remember, most UI is in html, so use width=100% whenever possible. Also, you can use the layout panels so that you theoretically don't have to deal with browser quirks such as IE's box model bug. A refreshing layout such as the one you discussed is a very heavy handed layout model and should be

Re: DisclosurePanel, class-name content

2010-09-08 Thread lineman78
, 2010 at 8:03 PM, lineman78 linema...@gmail.com wrote: Then the problem isn't with GWT; it is with the site you are integrating with not having a convention.  I do agree that it would be nice to be able to change this and if it bugs you that much you can, it's just not as easy as it could

Re: Cross Site Requests for JSON : Invalid Label

2010-09-07 Thread lineman78
In other words you are using JSONP client code to hit a JSON service. Without more info I am assuming this is your problem. In order to make cross site requests using the method described on the page you referenced you service needs to output JSONP, that is wrapping the JSON with a call to the

Re: How to block click event?

2010-09-07 Thread lineman78
you can try adding different handlers such as a click handler or mouse down handler and call event.preventDefault(). On Sep 6, 9:06 am, ulgerang ulger...@gmail.com wrote: Hi, I am making 'ImageButton' that extends 'Image' and implemented 'HasEnabled' interface. I made 3 state,

Re: DisclosurePanel, class-name content

2010-09-07 Thread lineman78
It is because content and header all both children of the gwt- DisclosurePanel class and they expect you to use child selectors. Here is what they expect you use so that you don't end up with collisions: .gwt-DisclosurePanel .content { border: 2px solid black; } On Sep 5, 11:08 am, Jaroslav

Re: Using GWT for a large UI project

2010-09-02 Thread lineman78
I completely agree with marius on the plugin requirement for silverlight. Also, until M$ decides to make a full version of Silverlight available on Linux it will never become popular. Since the majority of the people that use Linux are software devs, it would make sense that you would want to

Re: Problems creating my first reusable module: import cannot be resolved

2010-08-19 Thread lineman78
(everywhere): still no luck. I've removed the rename-to attribute: still no luck. I am indeed using Eclipse. The JAR is configured as a library on my Java build path. I appreciate the comments though! Keep 'em coming! Thanks On Aug 18, 12:58 pm, lineman78 linema...@gmail.com wrote

Re: Problems creating my first reusable module: import cannot be resolved

2010-08-18 Thread lineman78
From what I can tell there is nothing wrong with the structure of your project or the packaging. Generics have been supported since GWT 1.5. First of all, you dont want it to be in war/WEB-INF/lib. This is for server-side Java libraries, but this won't hurt anything. Second, I would try taking

Re: Generate Random String

2010-08-17 Thread lineman78
In Java you could also use the UUID class, but doubt its ported into GWT. Also, simply using the long value of time is also effective assuming that there is no chance of ever generating 2 at the exact same time(i.e. result of a user action): Long.toString(new Date().getTime()); On Aug 17, 7:35 

Re: HTML in TextArea

2010-08-17 Thread lineman78
You might have to do some DOM tricks to lock RichTextArea, but it should be possible. Such as adding a focus listener and canceling the event or finding the inner text area object and disabling it. On Aug 17, 5:13 am, steenstrup kasper.steenst...@gmail.com wrote: My problem, is that i like to

Re: why we probably won't use GWT for a large UI project

2010-08-17 Thread lineman78
the blind leading the blind. Stefan and lineman78 in particular. I miss the days that Rienier would lash out when people spread misinformation or gave incorrect advise on this group. Alteast it kept the quality of the responses high but right now this forum is running wild and everyone who has read

Re: How to send data back to client side code?

2010-08-17 Thread lineman78
Yeah, I ran into this issue a year ago when I was working with GAE + GWT-RPC. The client side object cannot have references to any code not associated with a GWT module, so there are a few options for you here. 1) create a translator and maintain 2 versions of the class; 1 for the client(without

Re: Expose URL as REST service how?

2010-08-16 Thread lineman78
? - Thamizharasu S On Aug 13, 10:51 pm, lineman78 linema...@gmail.com wrote: REST is provided by most app servers in the form of a reference implementation of JSR-311.  Glassfish uses Jersey, JBoss RESTEasy. Most app servers bundle support in one way or another now.  Some GWT people

Re: why we probably won't use GWT for a large UI project

2010-08-15 Thread lineman78
Stefan, while I agree that GWT-RPC inherently gives some XSRF protection, I don't think it should be relied upon. First of all, any service that performs an action in a REST architecture should use a method other than GET, such as POST, PUT or DELETE; therefore the argument of GWT-RPC running

Re: Expose URL as REST service how?

2010-08-13 Thread lineman78
REST is provided by most app servers in the form of a reference implementation of JSR-311. Glassfish uses Jersey, JBoss RESTEasy. Most app servers bundle support in one way or another now. Some GWT people have found RESTlet easy to use also. The Jersey users manual is very in-depth and ought to

Re: Script tag dynamic loading

2010-08-13 Thread lineman78
I have run into this problem with a few scripts that rely on the document load event, maybe look into manually firing it. I think I tried dynamic loading of the maps library before and gave up, but I didn't try very hard to get it working. On Aug 13, 5:57 am, Vincent COROLLEUR

Re: How to send data back to client side code?

2010-08-13 Thread lineman78
Any object referenced in client-side code must be in a client package. The new version of the GWT plugin for eclipse added a shared package suffix, but it is added to the gwt.xml as a client side package. On Aug 13, 11:39 am, Sree ... gattasrika...@gmail.com wrote: Am not sure this belongs to

Re: .gwt-TabBarItem - setting Max width

2010-08-12 Thread lineman78
You will need 3 things: white-space: nowrap; overflow: hidden; max-width: 30px; However, max-width is not fully supported in IE. You can fix this in a couple ways. 1) Use IE's CSS expression. 2) CssResource has some ways of getting values and acting on them, but I believe this is only run

Re: why we probably won't use GWT for a large UI project

2010-08-12 Thread lineman78
, lineman78 linema...@gmail.com wrote: As far as SmartGWT goes, I will warn you that I think the problems and performance hits you will run into are not worth the UI that you gain.   Thanks for the heads up. A hello world with data bound widgets seemed straightforward. Plus you must consider

Re: why we probably won't use GWT for a large UI project

2010-08-12 Thread lineman78
kevin.jing@gmail.com wrote: Totally agree with lineman78 on the use of SmartGWT. We used SmartGWT to build a prototype, only to find out that mixing Js library wrapper with native GWT is bad. It's super easy in SmartGWT if you're building a simple CRUD application, but anything beyond that which

Re: Service Location on Server Side

2010-08-11 Thread lineman78
This usually isn't the way something like this is done and there is one major issue that can come up when doing this. App servers will have a maximum simultaneous connections and when you do this, one request will actually take up 2 of these connections and if you start chaining more and more

Re: More woes with IE + Client(Image) Bundles

2010-08-11 Thread lineman78
This is actually a problem in the way they have implemented ImageResource in IE. It is not scalable as the Gecko and Webkit implementations are. In order to make it scalable you will have to add the repeat both annotation on it, which will keep the generator from bundling it with other images in

Re: why we probably won't use GWT for a large UI project

2010-08-11 Thread lineman78
I completely disagree with Stefan, GWT-RPC is no more secure than REST. For both to be secure by the broad definition of the term you simply need to make them run over SSL. The only perceived security you get via GWT-RPC is by obscurity, which is not security at all. As far as SmartGWT goes, I

Re: Scraping website with GWT

2010-08-10 Thread lineman78
First of all GWT is executed client side and therefore XSRF security should prevent you from scraping another site directly. However, you can do scraping quite easily with server-side java. PHP is also a server executed language, so anything you would usually do in php, you will do it via server

Re: cross-domain with GWT (load JavaScript)

2010-08-10 Thread lineman78
The SOP doesn't apply to script tags. This is the idea behind JSONP. Speaking of which, this code is from the JsonpRequest class: ScriptElement script = Document.get().createScriptElement(); script.setType(text/javascript); script.setSrc(uri.toString());

Re: Synchronizing server and browser date/time?

2010-08-10 Thread lineman78
Lucky for you the Java Date object handles timezones for you. As long as you are okay with an an accuracy of up to 5 secs you should be okay with this method. Are you using GWT RPC? If so, just create a method that returns a new Date from the server. If not, create a servlet that just outputs

Re: GWT is it fully compatible with ie6 ?

2010-08-05 Thread lineman78
This is a misconception about GWT. It gives you the tools to handle IE6 problems, but it doesn't completely protect you from all of IE6's problems. The built in widgets do a pretty good job at dealing with IE problems and the layout panels do promise to act the same on all browsers, but the

Re: Need Help!!!About the difference between smartgwt and gwt for component Window

2010-08-05 Thread lineman78
You need to enable modality in the smartGwt window: winModal.setIsModal(true); winModal.setShowModalMask(true); On Aug 4, 8:41 pm, JIE SUN sunjie1...@gmail.com wrote: Hi guys: I had difficult to set up a smartgwt window as sam functionality as the one in gwt. Basically, I just need to click

Re: GWT is it fully compatible with ie6 ?

2010-08-05 Thread lineman78
be faster). On Aug 5, 6:08 pm, lineman78 linema...@gmail.com wrote: This is a misconception about GWT.  It gives you the tools to handle IE6 problems, but it doesn't completely protect you from all of IE6's problems.  The built in widgets do a pretty good job at dealing with IE problems

Re: Who knows how to execute native code in server-side

2010-08-05 Thread lineman78
If you are using app engine, I don't think this is possible. I have successfully made native calls in glassfish though using System.load(), but you need to add the library path to the native lib classpath in the admin console. Also, you will run into the problem where the library is loaded by

Re: how to parse news rss feeds?

2010-08-04 Thread lineman78
but i unable to read data from other servers (Ex. Google news feed, yahoo news feed etc..).. data coming as null.. I have searched on the google  but i have't  find any solutions.. Thanks Please provide information about parsing from other servers On Aug 4, 8:50 am, lineman78 linema...@gmail.com

Re: Setting a height in % within a 'rounded-corners' panel

2010-08-04 Thread lineman78
The td being 100% will do nothing if the table isn't 100%. Remember, % based is in relation to the parent, in the case of a td the table is set to auto size and therefore the cell being 100% won't matter. I also suggest looking at the layout panel as a parent panel due to the fact that it helps

Re: using ClientBundle

2010-08-03 Thread lineman78
The purpose of clientbundle is to refer to files that are not deployed on your server. If you need to deploy the resource for other reasons you will not want to use clientbundle. On Aug 3, 9:37 am, Olivier olivier.dau...@gmail.com wrote: Hi, don't make a reference to something in the WAR

Re: JSONP: Overlays with Optional Attributes (HostedModeException's), How?

2010-08-03 Thread lineman78
Reported in Feb, still listed as new, so make sure you vote: http://code.google.com/p/google-web-toolkit/issues/detail?id=4646 On Aug 3, 1:07 am, Andrew Hughes ahhug...@gmail.com wrote: Fixed... but I think this stinks :)     public final Double getXMin(){         return isXMinNull() ? null

Re: Problem with UTF-8

2010-08-03 Thread lineman78
One simple way to check if it is Java/GWT code or the browser is to add some UTF-8 chars straight to the html file. If that is working correctly then it must be either the Java file isn't UTF-8 or something else is wrong. Eclipse allows you to change the encoding of files through the properties

Re: Ecryption best practices (server side, client side, password handling)?

2010-08-02 Thread lineman78
A lot of databases provide encryption so that you can prevent sys admins from seeing the data without being authenticated to the DB itself. Oracle provides it natively, where MySql is a combination of 3rd party software. If you are really paranoid MySql provides AES encrypt/decrypt functions.

Re: ANT task for a web project using GWT

2010-08-02 Thread lineman78
There are no provided ANT tasks, however it is not that difficult to write your own ANT macros to do what you want. Unfortunately I can't provide you with my macro, but this should be enough to get you started: macrodef name=gwtCompile attribute name=module / attribute

Re: Browser Event Propagation

2010-08-02 Thread lineman78
event.preventDefault works in both firefox and IE if you use the modern GWT event handling(handler registration method) instead of the DOM event handling (pre 1.6). On Aug 2, 3:04 pm, Falcon msu.fal...@gmail.com wrote: (You can also use event.returnValue = false, at least for IE.) On Aug 2,

Re: Rounded tab styles in TabLayoutPanelTab

2010-07-30 Thread lineman78
There is no pure CSS solution short of using CSS3 border-radius. For efficiency I have stuck with this approach for now, but the most compatible way is to make your own decoratedPanel that allows you to only have rounded corners on top and use the widget in the tab. On Jul 30, 8:08 am, Michael

Re: Integration of Gwt + Java Beans

2010-07-30 Thread lineman78
I regularly use this approach, the only thing that you have not specified is you communication protocol. Also, do you plan on deploying as an EAR with an EJB and WEB module, or do you plan on taking advantage of EJB3's ability to have EJBs within a web module? I use the EAR approach. On Jul 30,

Re: why doesn't this right-click capture work in IE?

2010-07-30 Thread lineman78
You are using the older method of event handling. This method works fine for me: addDomHandler(new ContextMenuHandler() { @Override public void onContextMenu(ContextMenuEvent event) { showMenu();

Re: Passing values between 2 screens (popups)

2010-07-29 Thread lineman78
If you were the one that spawned the screen you will have a javascript referance to it and can call javascript functions on it. http://codepunk.hardwar.org.uk/bjs12.htm You will be able to do this in GWT by using the GWT Exporter library. On Jul 28, 7:58 pm, Reinaldo \(Gmail\)

Re: Do we have any Library for OpenID autentication(Authentication using Google accounts/Face book etc.)

2010-07-29 Thread lineman78
You don't want to use GWT for authentication, what you want to do is use the authentication provided to you by the container. The solution that Danny provided does just that. You want to use a JSR-196 authentication provider like openId4Java and use your web.xml to require authentication to

Re: Web service call

2010-07-28 Thread lineman78
Due to the SOP you might need to write your own server-side translator. Personally, I would use the WSDL to generate a Java SOAP client and use the same objects for a Jersey REST service to pass the data down to the client. Look at the Jersey project for REST examples(the getting started guide

Re: Sorting in flex table

2010-07-28 Thread lineman78
I have extended this for my solution: http://sites.google.com/site/psthapar/simplesortabletable On Jul 28, 3:37 am, Manivannan Malaichamy manivann...@gmail.com wrote: i want a sorting  in flextable. Any help.. -- You received this message because you are subscribed to the Google Groups

Re: How to show server log file on the client?

2010-07-28 Thread lineman78
I would prefer the log entries to be shown as they are created. I think that in this case the server has to contact the client. I have run into this use case a lot as a lot of my work has to do with operational environments. You are correct that the traditional way of doing a notification of

Re: Writing a JS library in GWT?

2010-07-27 Thread lineman78
different permutations seems like a better idea. Is my only option here really to write my own linker to output one .js file, no bootloader, no browser-specific optimizations? On Jul 26, 12:42 pm, lineman78 linema...@gmail.com wrote: First, let me start by saying that people are already writing

Re: Standards Mode + Decorated Popup Panel + IE == FAIL

2010-07-27 Thread lineman78
I can confirm that this did fix the problem. On Jul 27, 10:38 am, lineman78 linema...@gmail.com wrote: According to this bug it has been fixed in 2.0.4, I will try updating and let you know if it worked: http://code.google.com/p/google-web-toolkit/issues/detail?id=4532can... On Jul 27, 3:15

Re: Bug in calculating “Absolute top” position u sing GWT framework

2010-07-27 Thread lineman78
Are you sure that the problem is the getAbsoluteTop method, or is it muliplying the + 10 for you without you knowing and messing things up. Try taking out the +10 and see if it consistently shows on the top left. On Jul 27, 2:19 am, Ragothaman Thanikachalam gwtforum4r...@gmail.com wrote: In ie7

Re: uibinder @import url..

2010-07-26 Thread lineman78
This is an external stylesheet and cannot be used with the @import annotation. As I said before, you will have to either download the css and include it with your module or add it to the gwt.xml file. On Jul 26, 8:02 am, asianCoolz second.co...@gmail.com wrote: can you give example how to use

Re: TabPanel within TabPanel styling

2010-07-26 Thread lineman78
you can also use css dom selectors that would style the gwt-tabPanel classes differently if they are the child of another gwt-tabPanel On Jul 25, 9:30 am, mobilekid mobilek...@googlemail.com wrote: My app's layout consists of a TapPanel, which holds another TabPanel. I'd like to have the two

Re: Writing a JS library in GWT?

2010-07-26 Thread lineman78
First, let me start by saying that people are already writing javascript libraries using GWT and have been for some time. Ray Cromwell created the GWT exporter library for this exact purpose for his own usage and open sourced it. While bootloaders seem expensive it is the only way to deliver the

Re: GWT Error Unable to find .gwt.xml

2010-07-26 Thread lineman78
This is a generic error and can be caused by many different things. 1) Malformed include in gwt.xml 2) Classpath issues 3) Malformed script tag in the head of the html file 4) Trying to use a non-GWT project I have also randomly seen this error in hosted mode and a Ctrl+F5 usually fixes it.

Re: web-kit gradient not working

2010-07-24 Thread lineman78
someone just asked this question 2 days ago, there is a bug report in, you have to wrap it with a literal for now in uibinder or cssresource. http://code.google.com/p/google-web-toolkit/issues/detail?id=4877 On Jul 24, 9:34 am, asianCoolz second.co...@gmail.com wrote:  background-image:

Re: uibinder @import url..

2010-07-24 Thread lineman78
From the CssResource documentation: The @import statement will only work for other CssResources, not for URLs at runtime, since the .gwt.xml or StyleInjector can be used in those cases. http://code.google.com/p/google-web-toolkit/wiki/CssResource#Compile-time_import If you wish to use external

Re: GWT app looks ugly in IE6

2010-07-23 Thread lineman78
One little trick you can use is use firebug to inspect the table you want to experiment with and copy it's html to a flat html file and open the html file with IE and play around with it till you get it right. The trick is to get the html how you want it, then roll the changes into the java code

Re: GWT app looks ugly in IE6

2010-07-22 Thread lineman78
GWT does not promise that all renderings look the same, but instead gives you the tools to do so efficiently. For example, IE does not render borders around empty cells in a table, but FF and webkit do. It is up to you to set the CSS to tell IE to also render them. The IE widgets do promise to

Re: Gradients in css3

2010-07-22 Thread lineman78
You have to escape the beginning dash. Here is from my cssResource: @external gwt-Button, gwt-PushButton, gwt-ToggleButton; .gwt-Button, .gwt-PushButton, .gwt-ToggleButton { \-moz-border-radius: 3px; \-webkit-border-radius: 3px; } On Jul 22, 11:17 am, Jyaif jfgeye...@gmail.com

Re: GWT app looks ugly in IE6

2010-07-21 Thread lineman78
depends on your target audience. The majority of IE6 users are either enterprise or people who are running XP SP1. On Jul 21, 10:11 am, Magnus alpineblas...@googlemail.com wrote: Hi, my GWT app works great under current browsers, but it looks ugly under

Re: file upload set filter

2010-07-21 Thread lineman78
element. On Jul 20, 10:58 pm, aditya sanas 007aditya.b...@gmail.com wrote: how to embed form input type=file name=pic id=pic accept=image/gif, image/jpeg / /form into gwt file upload...? -- Aditya On Wed, Jul 21, 2010 at 2:00 AM, lineman78 linema...@gmail.com wrote: http

Re: Send String from GWT TO PHP

2010-07-21 Thread lineman78
There are examples around that are coppied directly from a book, I believe it was GWT in Action. If you are using GWT 2.0+ a JSONP API was added... http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/jsonp/client/JsonpRequestBuilder.html On Jul 21, 6:15 am, cokol

Re: XSL Transformation, AccessControlException, NoClassDefFoundError and SyntheticRepository

2010-07-21 Thread lineman78
From what I can tell it is failing while compiling the stylesheet. I would suggest taking app engine out of the loop altogether first and just so it in a static main to make sure it is compiling. If it works as a static main than it is probably the file IO. To test this I recommend to try just

  1   2   >