If you don't really need to open a new window to start the download,
you could make a call to the server and fetch the url to de document.
Then simply put this inside a hyperlink on the application or inside a
dialogbox.
Then the user just need to click on the link to download the file.
This
You could use the CssResource + ClientBundle.
It is inlined in the HostedPage, so you probably will not have
problems with the standard.css.
You simply call the addStyleName passing the result of a function
call.
Check out the link to get more information:
History.getToken() isn't deprecated?!
I use the History.addValueChangeHandler.
History.addValueChangeHandler(new ValueChangeHandlerString() {
@Override
public void onValueChange(ValueChangeEventString
event) {
In JavaScript world, almost everything is a Dictionary.
If you simply need a dictionary, just use a JavaScriptObject.
Here is a example:
public final native void setValue(String key, String value) /*-{
this[key] = value;
}-*/;
private native static
I'm not using the integration with Roo, but I dislike the idea of
having a tool that after generating my code difficult to customize the
generated code.
A while ago I wrote a code generator that allows reuse of code and
Retrieval without losing the customizations made.
Through some markings (in
/use Roo, but I used some code generation tools
before, so excuse me for any noob comment on the Roo subject.
On 18 jun, 19:08, Jaroslav Záruba jaroslav.zar...@gmail.com wrote:
2010/6/18 André Moraes andr...@gmail.com
I'm not using the integration with Roo, but I dislike the idea of
having
code
generation. And after watching the video I know I will try it, it has
impressed me enough.
2010/6/19 André Moraes andr...@gmail.com
Jaroslav,
But how can I control the merge process?
In my case the code is generated, than i can edit make any changes in
the generated code (which
Jaroslav,
Maybe instead of reaplacing you delete than insert again the element?!
I think that the problem of not getting Clicks is because of the way
GWT handles clicks.
To avoid memory leaks, the handlers don't go in the same way that was
generally done without GWT.
Another approach will be
It's more like a workaround, but you could:
- Remove the ClickHandlers for the widget (easy if the widget is
private under a composite)
- use addStyleName, removeStyleName to set the css class of the
disabled widgets.
Using the Composite base class if very nice and you can use all the
widget
André Moraes andr...@gmail.com
Jaroslav,
Maybe instead of reaplacing you delete than insert again the element?!
I don't understand. What would be the benefit? :)
Let's say the placeholder element was third node within its parent. How can
I place my widget in its place?
(I do apologize
Check the Layout Panels, those are new in GWT and make the work to
layout your app much easier.
Your answer maybe in the use of DockLayoutPanel / SplitLayoutPanel.
http://code.google.com/intl/webtoolkit/webtoolkit/doc/latest/DevGuideUiPanels.html
Hope it helps.
On 19 jun, 15:38, spierce7
GMail isn't a GWT app, because GMail is older than GWT.
But Wave is a much more complex app and is GWT.
Not that Wave is more mature than GMail but it has much more features
than GMail.
For the large application problem...
GWT is to build complex apps for the browser. Not complex sites...
The
You can create widgets...
People love widgets... :)
This project: http://code.google.com/p/google-web-toolkit-incubator/
Contains some of the code for new widgets, some of them are ported to
the main gwt trunk.
The FastTree and CellTable are some of the widgets which borned in the
incubator.
/featurex.php), it's never
loaded :)
M.
On Jun 24, 7:34 pm, André Moraes andr...@gmail.com wrote:
GMail isn't a GWT app, because GMail is older than GWT.
But Wave is a much more complex app and is GWT.
Not that Wave is more mature than GMail but it has much more features
than GMail
Hi,
Is possible to convert a javascript Date object to a java.util.Date
(and vice-versa)? Like the string or int?
The Date.parse is marked as deprecated in the JDK, it's safe to use it
within the GWT, and what is the behavior (localization) that it will
show.
My primary target is Brazilian
All the code generated by GWT (css, javascript, images).
Are cacheable by default, since the name of the resource is generated
by the hash of the contents (i think it is CRC 32, but not sure).
The best way to cache things is to let your web-server handle this.
Apache, nginx, tomcat have a very
How do you load the script?
You add a script tag or download the javascript code and then make a
call to eval?
Another question, the information retreived by the requestbuilder is
only javascript (json) or had html too? If your case is the second,
you could use setInnerHTML.
On 29 jun, 15:16,
The GWT has the standard GWT-RPC to make easier to create RPC calls
and fetch data from the server, but this tool only works if we have
Java on the server side.
In my current project, the server side will be .NET based.
So I wrote a JSON-RPC library which implements the JSON-RPC standard
to
re = rb.sendRequest(jsonrpc-call= +
JsonHelper.jsoToString(call),
new RequestCallback() {
@Override
public void onResponseReceived(Request request,
Response response)
{
to describe it
cause i need it as soon as possible
On Jul 5, 6:18 pm, André Moraes andr...@gmail.com wrote:
re = rb.sendRequest(jsonrpc-call= +
JsonHelper.jsoToString(call),
new RequestCallback() {
@Override
}
});
On 5 jul, 15:01, Ahmed Shoeib ahmedelsayed.sho...@gmail.com wrote:
you told me how to send request from client to server
now i want how yo get data from server to use it in client
and the data in json
On Jul 5, 8:12 pm, André Moraes andr...@gmail.com wrote:
This code
Well,
You can create a class that wraps a JavaScriptObject which contains a
Dictionary with your keys and values.
And before starting your application you can make a HTTP Request to
fetch the JSON data (or part of it).
Than in the server-side your write some code that send the values from
the
On Jul 5, 9:33 pm, André Moraes andr...@gmail.com wrote:
The response comes async.
When the response from the server arrives at the client the method
onResponseReceived in the RequestCallback object is called, if an
error hapens the the onErrormethod is called.
The RequestCallback
?
2010/7/5 André Moraes andr...@gmail.com
The GWT has the standard GWT-RPC to make easier to create RPC calls
and fetch data from the server, but this tool only works if we have
Java on the server side.
In my current project, the server side will be .NET based.
So I wrote a JSON-RPC
this group at
http://groups.google.com/group/google-web-toolkit?hl=en.
--
André Moraes
Analista de Desenvolvimento de Sistemas
andr...@gmail.com
http://andredevchannel.blogspot.com/
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post
.
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.
--
André Moraes
Analista de Desenvolvimento de Sistemas
andr...@gmail.com
http://andredevchannel.blogspot.com/
--
You received this message because you are subscribed to the Google Groups
='client'/
source path='shared'/
source path='test'/
/module
2010/7/27 André Moraes andr...@gmail.com
I had the same problema of getting bigger source code files.
The solution: Check your Module file (Module.gwt.xml).
As the default behavior is to create GUI the default module loads
+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
.
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.
--
André Moraes
Analista de Desenvolvimento de Sistemas
andr...@gmail.com
http://andredevchannel.blogspot.com/
--
You
=en.
--
André Moraes
Analista de Desenvolvimento de Sistemas
andr...@gmail.com
http://andredevchannel.blogspot.com/
--
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
Hi,
My girlfriend works with QA for a software company and in the spare
time she like to draw, she would like to contribute to some project
that is looking for eye-candy user interface, does anyone knows some
project?
How she could contribute?
Some of her drawings can be see at:
(writing code, finding
bugs, creating new features).
Also, Google improve his visibility accross the developer community (this
group has 23401 members, which is quite a big community).
--
André Moraes
Analista de Desenvolvimento de Sistemas
andr...@gmail.com
http://andredevchannel.blogspot.com
-agnostict so you can use any
backend without recompiling your app. I am writing a JSON-RPC library for
this purpose because I need to integrate .NET server with GWT client.
--
André Moraes
Analista de Desenvolvimento de Sistemas
andr...@gmail.com
http://andredevchannel.blogspot.com/
--
You
code, if not, i check the response.
Hope it helps.
--
André Moraes
Analista de Desenvolvimento de Sistemas
andr...@gmail.com
http://andredevchannel.blogspot.com/
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send
/PrimitiveTypes.htm
Hope it helps.
--
André Moraes
Analista de Desenvolvimento de Sistemas
andr...@gmail.com
http://andredevchannel.blogspot.com/
--
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
At least this is private, so nobody will see the hack (except you)
:)
--
André Moraes
Analista de Desenvolvimento de Sistemas
andr...@gmail.com
http://andredevchannel.blogspot.com/
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post
by which permutation in the
GWT compiler pipeline? I belive that I will need to write a linker to get
those files, but how?
Thanks.
--
André Moraes
Analista de Desenvolvimento de Sistemas
andr...@gmail.com
http://andredevchannel.blogspot.com/
--
You received this message because you
will no be compiled next time.
And if you want images, try to use CssResources and ClientBundle so the
compiler will generate only the files that your code uses.
Hope it helps.
--
André Moraes
Analista de Desenvolvimento de Sistemas
andr...@gmail.com
http://andredevchannel.blogspot.com/
--
You received
removing the standard theme
solved.
--
André Moraes
Analista de Desenvolvimento de Sistemas
andr...@gmail.com
http://andredevchannel.blogspot.com/
--
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
.
--
André Moraes
Analista de Desenvolvimento de Sistemas
andr...@gmail.com
http://andredevchannel.blogspot.com/
--
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
That depends on what webserver your are using.
Read the docs on how to configure Cache-Control and ETag for static files.
Hope it helps,
--
André Moraes
Analista de Desenvolvimento de Sistemas
andr...@gmail.com
http://andredevchannel.blogspot.com/
--
You received this message because you
%2bunsubscr...@googlegroups.com
.
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.
--
André Moraes
Analista de Desenvolvimento de Sistemas
andr...@gmail.com
http://andredevchannel.blogspot.com/
--
You received this message because you
that special url. This isn't the best
solution, but works when you don't have admin access to cron jobs in the
production server.
--
André Moraes
Analista de Desenvolvimento de Sistemas
andr...@gmail.com
http://andredevchannel.blogspot.com/
--
You received this message because you are subscribed
applications at
google: gmail, docs, blogger, reader, ...) and the community has little
momentum and the project is maintained only by 20% people and GWT have it's
own team to work.
So GWT will have a good path.
:)
--
André Moraes
Analista de Desenvolvimento de Sistemas
andr...@gmail.com
http
about the body tag.
Maybe this can help, since it work on hosted mode and only breaks on
compiled mode, this probably is a loading problem.
Hope it helps.
--
André Moraes
Analista de Desenvolvimento de Sistemas
andr...@gmail.com
http://andredevchannel.blogspot.com/
--
You received this message
#getStyle()
Hope it helps,
--
André Moraes
Analista de Desenvolvimento de Sistemas
andr...@gmail.com
http://andredevchannel.blogspot.com/
--
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
I could not ran the GWT code because I am working at the moment, I just
checked the links that you passed to me.
I will try to check the code later for you.
--
André Moraes
Analista de Desenvolvimento de Sistemas
andr...@gmail.com
http://andredevchannel.blogspot.com/
--
You received
that, the browser will download all the code for all the UI.
Hope it helps.
--
André Moraes
Analista de Desenvolvimento de Sistemas
andr...@gmail.com
http://andredevchannel.blogspot.com/
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group
to your problem. :(
Bye,
--
André Moraes
Analista de Desenvolvimento de Sistemas
andr...@gmail.com
http://andredevchannel.blogspot.com/
--
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
but this have the advantage of not
blocking the browser.
Hope it helps,
--
André Moraes
Analista de Desenvolvimento de Sistemas
andr...@gmail.com
http://andredevchannel.blogspot.com/
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post
This solution is working in GWT compiled mode or you just tested it in
hosted-mode?
--
André Moraes
Analista de Desenvolvimento de Sistemas
andr...@gmail.com
http://andredevchannel.blogspot.com/
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit
I never tried to do something like this (access a GWT Java Method with eval)
but looks like this is not the better way to do something.
What you want acomplishe with this code?
--
André Moraes
Analista de Desenvolvimento de Sistemas
andr...@gmail.com
http://andredevchannel.blogspot.com
When using split points the code is loaded only when it is need, so
the application loads faster and the user don't need to download code
that is not used. This is very nice.
But how can I control the code that the user can load, supose the
following scenario:
1- Operational user: load the
maybe the webserver that is hosting your file don't have permission to run
external programs.
Or the path variable was reset to an empty value so the application cannot
find the cat program.
--
André Moraes
Analista de Desenvolvimento de Sistemas
andr...@gmail.com
http
to a Dynamic Scripted Language
instead of Java, you should use JavaScript directly. Take a look at Closure
Compiler they make almost the samething that GWT compiler does but is pure
JavaScript.
Using PyJs you will not have most of the benefits of GWT and will have all
the problems.
--
André Moraes
54 matches
Mail list logo