GWT DateTimeFormat Bug?

2008-12-01 Thread lineman78
I am using the com.google.gwt.i18n.client.DateTimeFormat.parse method to parse data from thmy RSS feed. I am having a problem because we want all of our RSS feed dates to be in GMT-00:00 and it is throwing an error when my current time zone(GMT-07:00) is on Dec 01 and the dateTime it is parsing

GWT Portlet Load problem

2009-03-06 Thread lineman78
I have been working on integrating GWT into a Liferay portlet and am having one major problem. When I drop the code on the page the screen goes blank, in debugging this I have been able to determine the problem through my access logs. Even though the context of the portlet is /GWTTest, it tries

Re: GWT RPC Security Concern

2009-03-06 Thread lineman78
I believe that if you use container managed security for your entire GWT app it will require authentication to access the servlets too. In fact I just tested it and that is correct(FROM ACCESS LOG: '127.0.0.1 matt 06/Mar/2009:18:17:36 + POST /SEESuite/ rssParser HTTP/1.1 200 3082' notice

Re: GWT RPC Security Concern

2009-03-06 Thread lineman78
: http://code.google.com/p/google-web-toolkit-incubator/wiki/LoginSecur... On Mar 6, 1:20 pm, lineman78 linema...@gmail.com wrote: I believe that if you use container managed security for your entire GWT app it will require authentication to access the servlets too.  In fact I just tested

Re: GWT RPC Security Concern

2009-03-06 Thread lineman78
. Is there any drawbacks about using ssl? Also in addition to that Acegi seems like a good way to go. I just read an article about setting that up, it seems a little bit complicated, but I believe after painful set up I'll be able to add another page to my resume:) On Mar 6, 2:25 pm, lineman78 linema

JSNI Special Character Problem

2009-04-08 Thread lineman78
Hello all, I am currently working with using JAX-RS to retrieve data from my server in JSON format, and the default marshaller adds the '@' symbol to the beginning of variable names for attributes. I am using the method of casting the JSON to a JavaScriptObject using the eval(json) function.

GWT Compiler Question

2009-06-09 Thread lineman78
Is there any way to tell the compiler not to put the files in a folder named after the package name. i.e., if my module is com.google.test.TestApp and I compile with -war www, it puts all the files under ./www/com.google.test.TestApp. I was wondering if there is a way to get it to just put all

Code Splitting

2009-08-18 Thread lineman78
Is code splitting available yet in some sort of semi-finished form. I am about to start a rather large portlet project that is going to have several main applications (known as components to those familiar with Joomla) and would like to defer the loading of each of the components until that area

Dynamic Module Loading

2010-03-30 Thread lineman78
I know this is a common request of people trying to make pluggable applications. It seems that every time someone comes up with a solution to this problem the GWT team changes the way the core linkers work and break the solution. I was wondering if anyone knows a way to dynamically load a module

Re: Problem using java projects in GWT

2010-03-30 Thread lineman78
You cannot use source code from a java project in GWT directly. All GWT code must be in the client path of a module. i.e. sura.ticketcheck.bo.Instancia is not part of a GWT module. There is one workaround I have gotten to work(only once, so no guarantee). 1) Create a file BoModule.gwt.xml in

Re: Dynamic Module Loading

2010-03-31 Thread lineman78
of the whole application. To avoid interferences, each module loads into its own iframe. I wrote a messaging system that allow each module to communicate with each other (JSON serialization, auto-discovery of other modules...). Olivier On 31 mar, 03:10, lineman78 linema...@gmail.com wrote: I

Re: Dynamic Module Loading

2010-03-31 Thread lineman78
it. --Sri On 31 March 2010 21:48, lineman78 linema...@gmail.com wrote: Yeah, there is 1 problem I have with your solution and a separate issue your solution doesn't address.  The problem I have with your solution is that iFrames can't inherit size.  One behavior I like is that you can

Re: Problem using java projects in GWT

2010-03-31 Thread lineman78
the module. Hope that helps. Neil Olsonhttp://www.intertech.com/blog On Mar 30, 8:23 pm, lineman78 linema...@gmail.com wrote: You cannot use source code from a java project in GWT directly.  All GWT code must be in the client path of a module.  i.e. sura.ticketcheck.bo.Instancia

Re: Calling JSNI function from another JSNI function

2010-04-01 Thread lineman78
It should work... assuming myFunction in your first JSNI method is actually a call to desktopShare I can only see one problem in this code. desktopShare is a static method and as such doesn't require the instance when making the JSNI call. Just remove the x before the @. On Apr 1, 2:28 am,

Re: Restlet GWT Client example

2010-04-01 Thread lineman78
You have to be more specific on how you want to send the data. Are you using Jersey for your REST implementation. Are you restricting it to XML, or are you capable of doing JSON. If you can do JSON it is very nice cause GWT has a direct loading method that has low overhead. If you want to use

Re: Restlet GWT Client example

2010-04-02 Thread lineman78
with RESTLET based web services using JSON. I want to understand: If I use FormPanel in GWT then how can I pass the parameters and Form data using POST ? Does any one have a sample code ? Thanks, Deep On Apr 2, 4:19 am, lineman78 linema...@gmail.com wrote: You have to be more specific

Re: Single Origin Policy ByPass With IE8

2010-04-05 Thread lineman78
You should switch your project over to use JSONP. I was able to do so with minimal headaches assuming you can add the capability server side. I developed a solution based on the code posted here: http://www.gwtsite.com/how-to-access-web-services-with-gwt/ By using JSONP you will never have to

Generated CSSResource not injected when using UIBinder

2010-04-05 Thread lineman78
I am using the UIBinder sample code that is generated by eclipse and I have run into one minor problem. The CSS is not being injected. Here is the code: !DOCTYPE ui:UiBinder SYSTEM http://dl.google.com/gwt/DTD/xhtml.ent; ui:UiBinder xmlns:ui=urn:ui:com.google.gwt.uibinder ui:style

Re: Generated CSSResource not injected when using UIBinder

2010-04-05 Thread lineman78
I just compiled this and the problem seems to only exist in hosted mode. On Apr 5, 2:25 pm, lineman78 linema...@gmail.com wrote: I am using the UIBinder sample code that is generated by eclipse and I have run into one minor problem.  The CSS is not being injected.  Here is the code: !DOCTYPE

Re: Single Origin Policy ByPass With IE8

2010-04-06 Thread lineman78
using JSONP ? - Abdullah On Tue, Apr 6, 2010 at 1:47 AM, lineman78 linema...@gmail.com wrote: You should switch your project over to use JSONP.  I was able to do so with minimal headaches assuming you can add the capability server side.  I developed a solution based on the code posted here

Re: Architectural ideas for a multi-app/module project

2010-04-06 Thread lineman78
You can use the GWT Exporter project to create interfaces between them all and include the modules separately. I have been playing with a similar path, but unfortunately am unable to share the code. Essentially each sub-module populates an Element and the underlying software asks for that element

Re: JavaScriptObject deep copy.

2010-04-06 Thread lineman78
I would think this would be easier: public static final native JavaScriptObject deepCopy(JavaScriptObject obj) /*-{ return eval('{'+JSON.stringify(obj)+'}'); }-*/; I haven't tested the above code, but it should work. On Apr 4, 8:51 pm, Dean Huffman huffman.d...@gmail.com wrote: Since it

Hosted mode problem with JSO

2010-04-08 Thread lineman78
I am trying to write a generator to handle JSON overlay types for me, but have run into a problem in hosted mode. I have an object that contains an array of JSOs so i do JavaScriptObject jso = messages.getMessages[0]; and I get the following problem: java.lang.ClassCastException:

Re: How to download a JSON object from my GWT server?

2010-04-09 Thread lineman78
I would suggest using jersey services with a custom services context resolver. Put the following file in the same package as your jersey services and replace **SerializableObject** with all of your root elements. Then check out the getting started guide on jersey.dev.java.net @Provider public

Re: gwt rpc - Client did not send 199 bytes as expected - RPCServletUtils.readContentAsUtf8

2010-04-14 Thread lineman78
I remember having this problem with IE6 on older versions of GWT, I'm not sure it is fixed as since OOPHM I don't use IE anymore. On Apr 14, 12:25 pm, Simon Botting simon.bott...@enbuenosaires.com wrote: Hi, The following exception is thrown for around 5% of the requests that are made through

Re: Loading please wait + Animated GIF

2010-04-14 Thread lineman78
I have noticed the same issue. I know that javascript runs single threaded, but I believe that the gif animation should run on a seperate thread. Have you run this experiment on browsers that use a different threading model like the newer version of Chrome (soon coming to FF). Just because

Re: -port keeps disappearing

2010-04-14 Thread lineman78
I have had not problems with the following changes to the default settings: Server Tab: Uncheck Run built-in server GWT Tab: Change the url to the URL of the html file associated with the module. (http://localhost:8080/ams/index.html) There should be no need to modify the

Re: Scrollbars for VerticalPanel?

2010-04-14 Thread lineman78
I don't see why you would need this. Whenever you use RootPanel is adds it directly to the document body. I suggest using firebug to debug this problem and check out the html directly. Make sure you or one of your inherited modules is not calling Window.enableScrolling(false);.

Re: How can I override gwt standard stylesheet with ClientBundle

2010-04-21 Thread lineman78
Use the @external annotations in your css. On Apr 20, 3:52 pm, Vaibhav vkaka...@gmail.com wrote: If I want to change DatePicker object look and feel with ClientBundle how can I do this? How can I override gwt standard stylesheet of other gwt objects using ClientBundle? -- You received this

Re: Issue with deferred binding

2010-04-21 Thread lineman78
The underlying class is not using deferred binding, therefore your replace-with is never considered. In order for deferred binding to work, you must use GWT.create(); What I would suggest you do is do your own request builder implementation. There are many ways you can do this, but to do

Re: GWT Login/ Logout/ Remember Me (with concern in preventing Cross-Site Request Forgeries) Example

2010-04-21 Thread lineman78
I suggest using container managed security so that you don't have to deal with most of this. I have implemented a GWT-based form login, but it required some hackery because of the way tomcat/glassfish handle redirecting for form login using request dispatching, therefore causing your

Widget from DOM element

2010-05-11 Thread lineman78
I have had difficulty finding this and figure it must be something stupid I can't find, but how do you create a widget from an element already in the DOM so you can get eventing, or one not in the DOM so you can add it to a panel? -- You received this message because you are subscribed to the

Re: Exchange datas between modules

2010-05-12 Thread lineman78
See GWT Exporter. This allows you to inject unobfuscated javascript functions so you can call them through JSNI from the other module. If you don't want to include exporter, all you have to do is inject the functions through JSNI on module load. DISCLAIMER: this is untested, you might have to

Layout UI Objects and GWT Themes

2010-06-14 Thread lineman78
Does anyone know if there is a way to theme the new layout-based panels? I.E. TabLayoutPanel to look like DecoratedTabPanel. I know that they limited the amount of style classes involved in the new tab panel, so I cannot figure out a way to retrofit the DecoratedTabPanel styles to the

Re: Layout UI Objects and GWT Themes

2010-06-15 Thread lineman78
with border images. However, images inccrease download time. And CSS3 allows to apply rounded corner (-o/-moz/-webkit/-border- radius) Without a modern browser you still have to take 9 box. Stefan Bacherthttp://gwtworld.de On Jun 14, 7:57 pm, lineman78 linema...@gmail.com wrote: Does anyone

Standards Mode + Decorated Popup Panel + IE == FAIL

2010-07-06 Thread lineman78
I am having a problem where I have changed to standards mode in order to use layout panels, but it seems to have broken decorated popup panel in IE(the popup shows, but the rest of the screen turns white behind it). I have taken a very rough look with Firebug Lite and didn't see anything obvious

Re: gson module problem

2010-07-07 Thread lineman78
The easiest way to convert between JSON and GWT objects is to use overlay objects. Unfortunately, there is no type checking by doing this, but you get the best performance. Now, if you need to support older versions of IE you will need to include json2.js in your project, but you can use the

Re: gson module problem

2010-07-07 Thread lineman78
Looks like you are using client side code on the server. You need to make sure you have a clear understanding of how you are handling communications. It looks to me that you have JSNI is a server class. Remember, anything that has a nitave method cannot be loaded by the server unless that native

Re: Urgent!!!!!!!!!!!!!!!!!!!!!!!!!!! GWT 2 Memory leak

2010-07-07 Thread lineman78
If it is an obvious problem in your code, you should be seeing memory leaks in all browsers(which I believe you said you have). If that is the case, you should be able to use the Speed Tracer plugin for chrome. It tells you how many instances of which objects are being created so that you can

Re: difference in alignment on different browsers

2010-07-08 Thread lineman78
IE seems to be inheriting the align=center from the parent td. the simple way is to add align=left on the form table, but you could add it to each cell individually using the cell formatter. Depending on the GWT panels you are using there are multiple different ways to solve this. Essentially

Re: Shared CSS

2010-07-08 Thread lineman78
There are many possible solutions for the generic problem you face. You will need to be more specific about your final deployment architecture if you would like a more specific answer of which is best. Are these GWT apps all going to be deployed within the same WAR? EAR? Separate EARs? Is the

Re: How to get the loading symbol while the application is loading in gwt 2.0.3

2010-07-09 Thread lineman78
You will need to implement it in html and hide it once the application loads. You might have to move the script tag out of the head to the bottom of the body to allow it to paint the page before fetching. On Jul 9, 2:44 pm, gourineni rakesh rg...@msstate.edu wrote: Hi,    I am using gwt 2.0.3

Re: Shared CSS

2010-07-09 Thread lineman78
in the library and have it implement EntryPoint to get the shared CSS loaded? To answer the other follow-up questions, I am deploying each app as a separate war file. All of the styles are set through code, so the class names can be obfuscated. John On Jul 8, 6:25 pm, lineman78 linema

Re: difference in alignment on different browsers

2010-07-12 Thread lineman78
: fieldset table tbody { align: left; } any advise plz Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com On Thu, Jul 8, 2010 at 9:40 PM, lineman78 linema...@gmail.com wrote: IE seems to be inheriting the align=center from the parent td.  the simple way

Re: Passing data between modules - MVP architecture

2010-07-12 Thread lineman78
May I also suggest that you look at an approach based on GWT exporter so you can make calls between the modules directly. I have been playing around with making a GWT based plugable portal architecture based on this approach and have been partially successful in my limited experimentation. On

Re: TablayoutPanel - how to align tabs on right (top)

2010-07-13 Thread lineman78
As far as I can tell, there is no official way to do this, and there is no way to do it in CSS due to the layout being set directly on the elements. I have developed a bit of a workaround but this could be broken by subsequent GWT releases as they make changes to the way the tab panel lays itself

Re: Deploy static content in Webserver and Dynamic in App server

2010-07-13 Thread lineman78
Please be more specific on the form of communication you would like to do and how you are handling the DNS for having 2 servers handling requests(i.e. different subdomains, ports, etc.). Remember, because of the SOP you can only make data requests to the same server and port the page originated

Re: Mixed content warning on Chrome (skull and bones)

2010-07-14 Thread lineman78
I believe this is expected behavior, even gmail does this if you have https turned on. What is keeping you from using https for loading the js? The browser doesn't know that the request you are sending doesn't contain any sensitive data, therefore this is a desired behavior as usually there is

Re: is there any json parser that can parse UTF-8 json text

2010-07-14 Thread lineman78
I use overlay types via the javascript JSON.parse method for the client side, which is available in newer browsers and you need to include json2.js for older browsers(eval is also an alternative). For server side, I suggest using the Jersey project with a JSON context provider as shown here:

Re: How can i debug an GWT application in IE 7?

2010-07-14 Thread lineman78
There are a few options. There is the new IE developer toolbar: http://www.microsoft.com/downloads/details.aspx?familyid=e59c3964-672d-4511-bb3e-2d5e1db91038displaylang=en The other option is to compile detailed and get the line number and browse to it using VIM(don't use notepad, large files

Re: Mixed content warning on Chrome (skull and bones)

2010-07-14 Thread lineman78
devices, provided they that they do caching of decent sized components (seehttp://www.yuiblog.com/blog/2010/06/28/mobile-browser-cache-limits/ ). I'd just whish that Google had picked another icon than the red skull and bones. On 14 jul, 20:30, lineman78 linema...@gmail.com wrote: I

Re: JAXB GWT How I can use JAXB generated classes on client side

2010-07-15 Thread lineman78
It is not possible to convert POJO to XML without using some sort of library, but Jersey does have the ability to do JSON. I use JAXB to generate my server side classes and JAX-RS to marshal to XML and JSON depending on the Accepts header. This is fairly easy to do using a services context

Re: is there any json parser that can parse UTF-8 json text

2010-07-15 Thread lineman78
like i have a txt file that contains json array, inside the array has many json object, i just need to randomly pick any one of the json object in that array and send it to client app. does the jersey project thingy able to do that? On Jul 15, 2:39 am, lineman78 linema...@gmail.com wrote: I

Re: Caution: SmartGwt loadup size is big

2010-07-15 Thread lineman78
SmartGWT is only a GWT wrapper on a javascript library so it is expected that you would have this problem. If you can stand the licensing, GXT is supposed to be a pure GWT implementation of their javascript library, so unused portions of the library are not included. Due to licensing I have not

Re: GWT Navigation Problem

2010-07-15 Thread lineman78
Look at the history api On Jul 14, 4:16 pm, Ahmed Shoeib ahmedelsayed.sho...@gmail.com wrote: Hi all , i face a problem With Navigation . now i have multiple panel added to the RootPanel ( clear the panel and add the next panel ) now i want to support next back for these panels how i

Re: JAXB GWT How I can use JAXB generated classes on client side

2010-07-15 Thread lineman78
means. On Jul 15, 12:10 pm, David Vree david.h.v...@gmail.com wrote: I don't want to hijack your thread, but I am new to this and am wondering why you don't use GWT-RPC to do the client/server communication? On Jul 15, 12:40 pm, lineman78 linema...@gmail.com wrote: It is not possible

Re: Eclipse debugger not running in hosted mode?

2010-07-15 Thread lineman78
Are you running in the embedded server? On Jul 15, 2:05 pm, David Vree david.h.v...@gmail.com wrote: I have tried to use the Eclipse debugger with the sample application in hosted mode, so I know it works.  But in my own application (a multi-module maven project) the stop point I put on

Re: Eclipse debugger not running in hosted mode?

2010-07-15 Thread lineman78
://127.0.0.1:/index.html?gwt.codesvr=127.0.0.1:9997 When I put that URL in the browser the app runs.  But no stopping from within Eclipse! On Jul 15, 8:38 pm, lineman78 linema...@gmail.com wrote: Are you running in the embedded server? On Jul 15, 2:05 pm, David Vree david.h.v...@gmail.com

Re: How can multiple tabs in the same browser can share the same session?

2010-07-17 Thread lineman78
Depends on your definition of session and if you are using container managed security and if that is the case it can depend on your server. The default session manager for glassfish uses cookies, therefore as long as the user has cookies enabled they will be able to maintain a session as long as

Re: file upload set filter

2010-07-20 Thread lineman78
http://www.w3schools.com/TAGS/att_input_accept.asp On Jul 20, 2:01 pm, Paachu binu...@gmail.com wrote: Hi, I need to  upload one csv file into my application. I am using FileUpload compontent to  upload the File. But when I use FileUpload, the FileUploadDialog displayed All files.. I need

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

Re: Mouse Over Image

2010-07-21 Thread lineman78
I believe you need to use the add(Widget, x, y) method on root panel when you add it in the first place so that it sets it as position absolute. Why not just use the alt text on an image(setTitle)? It is a lot less work and is accessable, meaning the alt text is what screen readers look to in

Re: GWT app looks ugly in IE6

2010-07-21 Thread lineman78
Most large corporations in the US still use IE6 as the primary browser and XP as the primary OS. My company just recently approved the regular use of FF, but you must request it and it is several versions behind the latest. Chrome is regularly rejected. Some computers on our network have IE7,

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-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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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());

  1   2   >