can we use JSTL tags in gwt application

2012-06-18 Thread karun kumar
Hi we have our own framework to implement localization in J2EE application, the framework has simple jdbc call, servlet and JSTL(fmt) tag. is it possible to use same frame work in gwt application also. i didnt have problem in invoking servlet which intenally calls JBDC class, but i am facing

Re: GWT offline

2012-06-18 Thread dominikz
2) timestamp, rename, and map to appname.nocache.js** (done in linker) We had the same problem. But instead of doing what you did, we found in the doc that the nocache.js file should be returned by HTTP servers as non-cachable. This solves the issue. You just write a servlet that sets

Re: GWT offline

2012-06-18 Thread Shawn Brown
We had the same problem. But instead of doing what you did, we found in the doc that the nocache.js file should be returned by HTTP servers as non-cachable. This solves the issue. You just write a servlet that sets Headers when delivering that file. OK but I don't understand. Isn't

Re: how to export a ArrayListString in gwt to external file?

2012-06-18 Thread Kei Kei
I do not underatand how to implement step 2 and 3, so I try to use GWT-RPC to call servlet to export the data, to simplify the case, I just try to hardcode the output text first, with the following code in the RemoteServiceServlet public void exportHistory(ArrayListString sqlHistory){

Re: GWT offline

2012-06-18 Thread dominikz
I think you're confusing two different things: - browser cache - Application Cache (the feature added in HTML5) They are 2 different caches. A browser can (and will) store nochache.js file in Application Cache (HTML5) even if it is not storing it in regular browser cache. -- You received this

Re: GWT offline

2012-06-18 Thread Shawn Brown
I think you're confusing two different things: - browser cache - Application Cache (the feature added in HTML5) They are 2 different caches. A browser can (and will) store nochache.js file in Application Cache (HTML5) even if it is not storing it in regular browser cache. Yeah I think you

Re: GWT offline

2012-06-18 Thread dominikz
FYI: We took the servlet for tomcat from here: http://seewah.blogspot.com/2009/02/gwt-tips-2-nocachejs-getting-cached-in.html I remember GWT docs were having an example on how to do that for Apache. After the transfere to 'developers.google.com' site, I cannot find it. I'm sure it's there

Re: GWT offline

2012-06-18 Thread Thomas Broyer
On Monday, June 18, 2012 2:23:32 PM UTC+2, dominikz wrote: FYI: We took the servlet for tomcat from here: http://seewah.blogspot.com/2009/02/gwt-tips-2-nocachejs-getting-cached-in.html I remember GWT docs were having an example on how to do that for Apache. After the transfere to

Re: GWT offline

2012-06-18 Thread dominikz
I'm wondering what has darken my mind in such a way that I couldn't find it easily. Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: GWT offline

2012-06-18 Thread Thomas Broyer
On Monday, June 18, 2012 5:54:22 PM UTC+2, dominikz wrote: I'm wondering what has darken my mind in such a way that I couldn't find it easily. Don't worry, it does it to me all the time too ;-) I know it's easy to find, but can't find it without opening at least 5 pages. -- You

GWT cross-site request without JSNI..?

2012-06-18 Thread Carsten
Hi, is it possible to do a cross-site request with very little JSNI or none at all? I am a beginner and followed this tutorial: https://developers.google.com/web-toolkit/doc/latest/tutorial/Xsite Is it possible to do the same without ever writing native JS code? Cheers, Carsten -- You

Re: GWT cross-site request without JSNI..?

2012-06-18 Thread Jens
Sure you can do the same thing with JsonpRequestBuilder (http://google-web-toolkit.googlecode.com/svn/javadoc/2.4/com/google/gwt/jsonp/client/JsonpRequestBuilder.html). -- J. Am Montag, 18. Juni 2012 20:11:53 UTC+2 schrieb Carsten: Hi, is it possible to do a cross-site request with very

Re: GWT cross-site request without JSNI..?

2012-06-18 Thread kim young ill
is the request done by post or get ? On Mon, Jun 18, 2012 at 9:54 PM, Jens jens.nehlme...@gmail.com wrote: Sure you can do the same thing with JsonpRequestBuilder ( http://google-web-toolkit.googlecode.com/svn/javadoc/2.4/com/google/gwt/jsonp/client/JsonpRequestBuilder.html ). -- J. Am

Re: GWT cross-site request without JSNI..?

2012-06-18 Thread Jens
is the request done by post or get ? JSONP is always a GET request. -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/8-8M9x-umF4J. To

Re: Using GWT with UCSC Genome Browser

2012-06-18 Thread CF
I had tried a POST request but perhaps I formatted it incorrectly. Would you have an example by any chance? What I had tried was: RequestBuilder builder = new RequestBuilder(RequestBuilder.POST, URL.encode(http://genome.ucsc.edu/cgi-bin/hgCustom;)); try {

Re: GWT cross-site request without JSNI..?

2012-06-18 Thread kim young ill
thanx On Mon, Jun 18, 2012 at 11:14 PM, Jens jens.nehlme...@gmail.com wrote: is the request done by post or get ? JSONP is always a GET request. -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the

Re: how to export a ArrayListString in gwt to external file?

2012-06-18 Thread Joseph Lust
Tong, I'm not sure whether you are saying that is it throwing an exception, or that your request is coming back with an HTTP error code: Case 1 - Except You are only catching IOException, which will not catch all exceptions. Try adding another catch below that for Exception or setting Eclipse

Re: Using GWT with UCSC Genome Browser

2012-06-18 Thread Joseph Lust
CF, Without running your code, I see an error with how you are sending the parameters. You are just sending that raw, unencoded URL and you're not setting the key for it (hgt.customText). You need to send all the expected parameters and encode them as key/value pars. See the following example

Re: GWT offline

2012-06-18 Thread Joseph Lust
Thomas, Is there any way to constrict the search on the GWT DevGuidehttps://developers.google.com/web-toolkit/doc/latest/DevGuide page to just GWT Developer pages? I really like other docs pages where you can just type and get the relevant pages, rather than digging. Like you, I've read all

Re: how to export a ArrayListString in gwt to external file?

2012-06-18 Thread Joseph R Lust
Are you calling this from an RPC? It looks like you are (rpc. InvocationExceptionhttp://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/rpc/InvocationException.html). An RPC expects an RPC serialized response, not what it is getting. To get a file back like this,

Re: how to export a ArrayListString in gwt to external file?

2012-06-18 Thread tong123123
Thanks for your reply. yes, I am using rpc for the previous code. to post a form, I remember FormPanel. but the example above is just a simplified case. in real, I need to pass a search history Map (time as the key, criteria string as the value) to servlet and use the servlet to export the Map

[gwt-contrib] Re: Extracted constant strings to the constructor, that allow translation to be provided from the ou... (issue1739803)

2012-06-18 Thread jat
LGTM http://gwt-code-reviews.appspot.com/1739803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Make CoverageTest less dependent on execution order. (issue1741804)

2012-06-18 Thread acleung
http://gwt-code-reviews.appspot.com/1741804/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Added ElementType to ConstraintDescriptors and ConstraintViolations. Used ElementType to handle ... (issue1746803)

2012-06-18 Thread idol
Reviewers: Nick Chalko, Description: Added ElementType to ConstraintDescriptors and ConstraintViolations. Used ElementType to handle edge cases of duplicate ConstraintViolations being generated. Fixes issues: 5798 Please review this at http://gwt-code-reviews.appspot.com/1746803/ Affected

[gwt-contrib] Re: Changed Constants to Messages in CellTree. (issue1747804)

2012-06-18 Thread jat
LGTM It isn't showing up properly here, but I assume it is the same as the internal change. http://gwt-code-reviews.appspot.com/1747804/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Added ElementType to ConstraintDescriptors and ConstraintViolations. Used ElementType to handle ... (issue1746803)

2012-06-18 Thread nchalko
http://gwt-code-reviews.appspot.com/1746803/diff/1/user/src/com/google/gwt/validation/client/impl/ConstraintViolationImpl.java File user/src/com/google/gwt/validation/client/impl/ConstraintViolationImpl.java (right):