Hi Guys,
I installed jetty on my ubuntu and uploaded my webapplication in webapps folder
of jetty but
when i am trying to call my servlet using $ajax
$("#signIn").click(function(){
$.ajax({
type: "POST",
url: "http://localhost:8090/myapp/myappmodule/getToken";,
content
i tried, unfortunately it does not work, but, if i use the following query:
select o from Person as o where o.address IS not NULL
it work fine and just get all person that their address is not null. what's
wrong with the original query?
--
You received this message because you are subscribed
Thanks Thomas and Y2i - shortly after I posted I read in the API that
the EventBus passed in onStart is a ResettableEventBus (that wraps the
EventBus given in the ActivityManager?)
My application is a tabbed application (its quite good for our
workflow) with a secure login. There is a full screen
OK :(
Couldn't let it rest...
Found out that the above b) snippet isn't necessary, but was because I
had somewhere in my apache config the following line that spoiled it:
AddType application/x-gzip .gz .tgz
So every file returned with .gz as extension got automatically this
content type back whic
Thanks for your suggestion. It Worked!!!
On Dec 23, 12:16 pm, Thomas Broyer wrote:
> Even though they're not really relationships, they probably (I haven't yet
> checked) obey the same
> rules:http://code.google.com/webtoolkit/doc/latest/DevGuideRequestFactory.h...
>
> When querying the serv
Did some more reading and trial and error and have it now working as
followed:
1) In Apache config file:
a):
Options +MultiViews
AddEncoding x-gzip .gz .tgz
b):
ForceType text/javascript
2) Remove all original not-gzipped files such that content negotiation
occurs.
If you remove b) (whi
SL vs DAL,
one example of how they are different is that:
let's say
we have a DAO for accessing a Customer entity
a DAO for accessing Account entity
a DAO for accessing History/Trend entity
// maybe not a good example, but just three separate entities
a Service(object) living in a ServiceLayer,
:(
thank you
--
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...@googlegroups.com.
For more
AbstractSelectionModel.setSelected() schedules selection change event
to be fired at the end of the current event loop, so a new event will
be fired after onSelectionChange() is executed.
On Dec 23, 2:24 pm, "Jaroslav Z?ruba"
wrote:
> Hello
>
> I'm trying to clear selection on a list that has sel
Thank you so much for your feedback on this.
I am going to experiment more, using your guidelines.
as for the need for additional layer,
a valid use case could be this:
lets say you are going to deploy your app on GAE.
for the persistence, there are several options:
- JDO/JPA
- DataStore LowLeve
Hello
I'm trying to clear selection on a list that has selectionChangeHandler
attached to it. This fires a new event that triggers the handler again. I'd
like to ignore the event that has been triggered as result of me clearing
the selection.
The problem is that there seems to be stuff happenin
Thanks,
I used to the public folder in the past but didn't like it in reusable
components as you always got the public resources in your project when using
the reusable component, even if you didn't use or want them :(...
Where do you put your static resources ?
Another thing:
I am not sure if Mul
RequestFactory sends diffs on the wire (client-to-server), so how would your
Service Object (as you call it) would receive a "complete" domain object if
the diff isn't applied to an object retrieved from the database/datastore?
Things are a bit more "blury" than "service layer on top of data acce
Hello Nirmal,
I have some questions (please also look for my above post and reply
for it too)
>From the StockWatcher application project, after i compile i have
StockPriceServiceImpl.class, this means my server side code is
compiled right? or do i have to do to the non eclipse method and build
my
The public path allows for reuse (as for themes). In that sense, its not
deprecate.
Otherwise, yes, you'll put them in the "war", but then you're responsible
for them (and thus for compressing them)
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolki
from your explanation I get the feeling that Locators are DAOs,
is this correct ?
placing calls like these: EntityManager#find(clazz,id) inside a
Locator,
means Locator is now responsible for accessing datastore to perform
actions.
it also means that our DAOs are somehow directly coupled with
Re
Where do you put your static (not gwt) resources (css/images/js not
part of clientbundles) ?
I like putting them in the war folder (war/resources) and thought the
public folder usage was a bit deprecated :(
--
You received this message because you are subscribed to the Google Groups
"Google Web
Even though they're not really relationships, they probably (I haven't yet
checked) obey the same rules:
http://code.google.com/webtoolkit/doc/latest/DevGuideRequestFactory.html#relationships
When querying the server, RequestFactory does not automatically populate
relations in the object graph.
Just add handler to IIS 7 that will do gzip-compression, and browsers
will automatically uncompress upon receiving.
May be your UI getting slow because of other reasons then waiting for
JSON? Try to use Speed Tracer (http://code.google.com/intl/uk-UA/
webtoolkit/speedtracer/) to investigate lag re
I opened an issue related to column headers in the CellBrowser
http://code.google.com/p/google-web-toolkit/issues/detail?id=5809
Please add your stars if you are interested the header support.
On Dec 22, 10:45 am, Y2i wrote:
> I would also be interested to learn how to add headers toCellBrowser
Petr,
What did you do to make it work ?
--
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...
I wish I could help more but I don't use RequestFactory so I don't
have a Spring configuration with it:(
On Dec 23, 5:03 am, zixzigma wrote:
> Thank you for your feedback and support on this.
>
> I spent a very long time, trying many different combinations,
> including those you suggested, unfort
Thank you Thomas,
but with builder.setHeader("Content-Type", "application/x-www-form-
urlencoded") ;
the servlet receives NO request :(. If I comment this, the servlet
gains the request with null Parameters.
Sorry.
On 23 Dez., 10:28, Thomas Broyer wrote:
> You're not setting the Content-Type of
Hi, I want to create my custom Map using Google Maps 1.1 Library.
I've a little problem...
If I use the Mercator Projection class, my custom map repeat itself
continuously in the x space... There's a way to see my map once
(without repetitions)?
--
You received this message because you are su
I've got embedded objects within my entities and it appears as though
ValueProxy is just what I need. When I tried it out, my values are
always null. I verified the server-side is retrieving these embedded
values but I'm very new to RequestFactory so I'm sure I did something
wrong wiring things u
Thank you so much. I think using standard Flextable the way it is used in
the Email application is suitable for me. I dont want to use any components
from incubator which might be deprecated or removed in the future.
- Sunit Katkar
http://sunitkatkar.blogspot.com/
On Wed, Dec 22, 2010 at 2:16
So, now that I have an EnterButton class, I'd like to use it. :-) I
have a form panel with a FileUpload. I'd like to let the user select
a file, then hit enter to fire the form submit button (which is an
EnterButton, not a SubmitButton).
Unfortunately, FileUpload does not have an addKeyPressHand
Have you tried @JoinColumn(name="AddressID", nullable=true) instead of
@Column(name="AddressID")
On Dec 23, 2:56 am, Mike wrote:
> yes of course, without where i can get all person object with address is
> null and not null.
--
You received this message because you are subscribed to the Google
Thomas Broyer Thank very much ) It is works!
--
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+unsubs
I have a couple of places where I want the user to be able to hit
enter, and have a button clicked. So I created the class EnterButton,
which has all the default constructors, and the following bit of code:
public void onKeyPress (KeyPressEvent event)
{
int key
Hello Nirmal,
Sorry for reposting again, i am confused so i reposted it again.
As you said i am pasting ym GWT.Xml and Web.Xml here,
StockWatcher.gwt.xml:
http://google-web-toolkit.googlecode.com/svn/tags/1.6.2/distro-
source/core/src/gwt-module.dtd">
web.Xml:
http://java.sun.com/dtd
As an exercise I've build a little POC based on the concepts expressed
by Thomas in his article.
If someone is interested, the sources are here:
http://95.110.143.4/layoutmvp/layoutmvp.tar.gz
and here you can find a live demo: http://95.110.143.4/layoutmvp/layoutmvp.html
--
You received this mes
Because gdata.youtube.com explicitly allows it using CORS:
http://www.w3.org/TR/cors/ which most browser implement (all recent versions
of any browser except IE)
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send
Is there any plan to support client-side storage in GWT directly (I mean
without third party libraries)?
--
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 unsubscr
Works for me (tested in Chrome 10-dev using the Web inspector's JS console),
but it has to be "placeholder" with a lower-case "h", not "placeHolder".
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to goo
I tried a test using setPropertyString, and cannot get it to work. Am I
wrong in thinking that 'this[name] = value;' is not useful in this case b/c
placeHolder should be an actual element attribute rather than a property
that is referenced in js?
Daniel
On Thu, Dec 23, 2010 at 9:12 AM, Thomas Br
But when I use outsite resource String url = "http://gdata.youtube.com/
feeds/api/users/bogleg/uploads?alt=json-in-script&callback=1";
it is work correct.
On Dec 23, 6:22 pm, Thomas Broyer wrote:
> This is likely the sign of an SOP issue (127.0.0.1: and localhost:8080
> are not the same origi
This is likely the sign of an SOP issue (127.0.0.1: and localhost:8080
are not the same origin: 127.0.01 != locahost, *and* != 8080)
(note that by url="/JSONServlet" I really meant replacing the value of the
'url' variable in your code)
--
You received this message because you are sub
I created a simple subclass so that I can use the placeholder property in
UIBinder:
public class PlaceholderTextBox extends TextBox
{
public void setPlaceholder(String placeholder)
{
InputElement inputElement = getElement().cast();
inputElement.setAttribute("placeholder",
I'd rather use setPropertyString though, given that there's a property
reflecting the attribute:
yourField.getElement().setPropertyString("placeholder", "");
(i.e. in JS, you'll more likely write myInputText.placeholder="" than myInputText.setAttribute("placeholder", ""))
--
You received this m
Link url="/JSONServlet" give just text "{'data':'test'}"
But I change code:
@Override
public void onResponseReceived(Request request,
Response response) {
Window.alert(response.getStatusCode() + " "
+response.getStatusText() + " " + response.getText());
You could call setAttribute on the UiField. This would look like the
following:
yourField.getElement().setAttribute("placeHolder","");
Daniel
On Thu, Dec 23, 2010 at 8:41 AM, alexh wrote:
> Hi,
>
> I was wondering there is a way to add an HTML5 attribute like
> placeholder to a text input ta
Hi,
I was wondering there is a way to add an HTML5 attribute like
placeholder to a text input tag within UIBinder or doing so otherwise
in normal Java code.
Thanks
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, se
I know this sounds crazy but in the past I've run into this and this
seemed to fixed the problem...
...
OutputStream os;
try
{
os = response.getOutputStream(),
BufferedOutputStream output = new BufferedOutputStream(os,
DEFAULT_BUFFER_SIZE);
...
}
if (os != null) os.flush();
Also, have you
Yes, only "generated" files are compressed (this includes static resources
though, as long as they come from a "public path" in a compiled GWT module,
i.e. a theme's CSS).
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this g
I have implemneted the example Stock Watcher application, i am trying
to deploy the example in Apache Tomcat 5.5.
After downloading the example from GWT @
http://code.google.com/webtoolkit/doc/trunk/tutorial/RPC.html, and
implementing GWT RPC according to the tutorial:
I haven't come across setti
On Wednesday, December 22, 2010 2:46:36 PM UTC+1, Petr Arsentev wrote:
>
>
> String url = "http://localhost:8080/JSONServlet";;
> RequestBuilder rb = new RequestBuilder(RequestBuilder.GET,
> url);
>
Same Origin Policy ?
What does url="/JSONServlet" give ?
Just in case
I am using the PreCompress linker now, but have problems
precompressing my xml files.
I added this line:
As I want it to compress my static XML cms files, but it doesn't
compress them.
Might this because it only compress generated files ?...
My static content is located in the war dir and I use
Why you have to render trend on the client side ?
You probably could ask the server to render graphic as image, then you could
render it using Image widget ?
This is just an idea, I don't know whether this is possible in your case.
--
You received this message because you are subscribed to th
I agree and I do have pagination where I can possibly do so. The
problem arise when I have for example a large form with data that
should be populated in or the amount of data I am displaying on one
screen itself is big enough e.g. in the case of showing trend data
over a period of 4 weeks for exam
Well I agree with mgenov. For tables and lists you should really consider
only transferring data which is actually displayed.
However sometimes this is not possible.
For example in one of my applications I have to display around 50.000 dots
in a 5 different scatterplots. My backend (cherrypy, p
Are you sure that you have to transfer such amount of data to your client ?
Have you considered some kind of data separation or maybe some
pagination technique ? If you are returning so much data, this means
that your users have to look into that data, which in most cases takes a
lot of time.
If you were using pure css to do this your outer container, a div, would
have a width and the inner element, in this case an image, would set its
left and right margins to auto causing the image to be vertically centered
within its outer container.
Try implementing the above using GWT semantics an
After implementing onUnload to remove event handlers (which worked, of
course) I realized that this approach is inappropriate for my application.
The reason is that my application is basically modeless - meaning that I can
remove a widget from the dom and hold onto the widget object via a
reference
My application uses .NET C# on the server side and GWT on the client
side/UI. I use JSON to interchange data between the UI and the server
and the server application is served by IIS 7.
There are situations when my JSON gets bigger and it causes a delay in
UI display. Is there a way that I can comp
Can you give example used Javascript Overlay?
On Dec 23, 6:49 am, Subhrajyoti Moitra wrote:
> adding to the above.
>
> - Fix an UncaughtExceptioHandler to see if there are exceptions that are not
> being handled.
> - Use Gson to construct and deconstruct JSON in to POJO and vice versa. u
> can av
Yes, I make configured for servlet
JSONServlet
com.trackstudio.JSONServlet
JSONServlet
/JSONServlet
When I set this link in browser I get json objects
On Dec 23, 6:39 am, zixzigma wrote:
> have you configured your servlet in web.xml file ?
--
You
I found a workaround, I used an horizontal panel containing one
element and played with setVerticalAlignment/setHorizontalAlignment in
the code. It works, but it is not 'clean'. If anyone knows a better
solution, let me know. Thanks.
On Dec 22, 11:41 pm, UseTheFork wrote:
> I forgot to mention: I
Good job, Patrick!
We're still using 1.3-SNAPSHOT ourself so I even wouldn't have been able to
solve the problem. I guess I'll think it over more than twice before
switching to newer versions. Anyway I'll leave a message as soon as I try it
myself with 2.1.0-1.
Until then maybe someone else could
yes of course, without where i can get all person object with address is
null and not null.
--
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
Hi,
I am trying to download a file from GWT client. At server side there
is a servlet which generates content of file as per request and send
it back to the client.
Test Scenarios:
Scenario 1 If I hit url of servlet directly, it always give me desired
result without any problems.
Scenario 2 Usin
hi Nirmal
Thank you for your help, now it works. :D
Regards,
Roman
On Dec 23, 11:00 am, Nirmal Patel wrote:
> You can create a folder "lib" under your project's root and place the jar
> there.
> If you are using eclipse, Project -> Build Path -> Configure Build Path.
> Add the above "lib" under
Hi Nirmal
Thank you for your help, now it works :D
Regards,
Roman
On Dec 23, 11:00 am, Nirmal Patel wrote:
> You can create a folder "lib" under your project's root and place the jar
> there.
> If you are using eclipse, Project -> Build Path -> Configure Build Path.
> Add the above "lib" under
Thank you for your feedback and support on this.
I spent a very long time, trying many different combinations,
including those you suggested, unfortunately none of them worked.
this topic was also discussed here, you can see my comments there.
http://groups.google.com/group/google-web-toolkit/bro
You can create a folder "lib" under your project's root and place the jar
there.
If you are using eclipse, Project -> Build Path -> Configure Build Path.
Add the above "lib" under Libraries.
Regards,
Nirmal
--
You received this message because you are subscribed to the Google Groups
"Google We
Your first link contains the path "/domain" therefore the RPC includes
this path in its call.
Your second call misses the path "/domain".
I guess "www.domain.com/domain" should work for you.
You may make a redirect from "www.domain.com" to "www.domain.com/
domain" or redefine your servlet-mapping.
On Thursday, December 23, 2010 3:38:12 AM UTC+1, sunny...@gmail.com wrote:
>
> Hi everyone,
>
> Before 2.1 I created an application that use the "old" MVP
> architecture of having models, views and presenters. This worked quite
> well. I'm migrating this application to use the 2.1 MVP framewor
I checked the content and I have the servlet tag in a the module descriptor
( Check the contents of the .jar file. Does it contain the module
descriptor? Does the module descriptor contain tags for the RPCs? )
I wonder if it is not a matter of gwt-maven-plugin version
because the all
Any news about this ?
It really slows down development...
What's the reason ? Is it client bundle or not ? Is there something which
should not do to avoid this performance bug ?
9 peoples have starred it, so I'm not the only one.
I've tried to find release note of the last version of Google p
You're not setting the Content-Type of the request payload, and servlet
containers generally only decode request payload that are explicitly
identified as application/x-www-form-urlencoded.
In your doPost, you should add a builder.setHeader("Content-Type",
"application/x-www-form-urlencoded") b
thanks for the information, so conclusion is like i have to pass arguments
for the new window, during the time of calling window.open right.
-shiv
On Wed, Dec 22, 2010 at 9:53 PM, Ben Imp wrote:
> Opening a new window is as simple as a call to Window.open. However,
> since your GWT client keep
Hello
I'd like to add this library to my GWT project:
http://code.google.com/p/gwt-mobile-webkit/wiki/StorageApi
But theres only written I should add it to the classpath, but where is
this exactly in a GWT project?
--
You received this message because you are subscribed to the Google Groups
"G
Thank You! I had tried it but I had saw the wrong example in HelloMaps
source tree...
Now I've found the right one:
http://code.google.com/p/gwt-google-apis/source/browse/?r=1533#svn%2Ftrunk%2Fmaps%2Fsamples%2Fhellomaps%2Fsrc%2Fcom%2Fgoogle%2Fgwt%2Fmaps%2Fsample%2Fhellomaps%2Fclient
On 23 Dic, 0
using your original command
mvn
archetype:generate -DarchetypeRepository=repo1.maven.org -DarchetypeGroupId=org.codehaus.mojo
-DarchetypeArtifactId=gwt-maven-plugin -DarchetypeVersion=2.1.0-1
the script is asking for a groupId
then arctifactId
then Module
and asks for confirmation (Y)
and
Hi,
Have you written any tests for this? Im curious about the testing
abilities of a GWT app which uses GIN etc using EasyMock or Mockito or
something.
I've been told that it's very easy to test with Junit tests.. is this
the case? Do you have any examples?
Thanks in advance,
Frank B
On Oct 24,
75 matches
Mail list logo