Hi,
I've a small application made with GWT 2.0 + UI Binder with MVP
pattern.
I'm using a css premade template with a menu that is animated by
jquery.
In order to avoid to rewrite css I'd like to use the menu that is
something this:
Hi,
I had the same problem. Actually, I want to put on the right side of
the screen a widget that can have different size.
Is there a way to specify a dynamic size ?
Thanks
On 25 jan, 02:50, Phil wrote:
> Hi Joe,
>
> I tried the code you pasted. I think your problem is the size of your
> eleme
Hi Ronald,
I would recommend to ways:
You should configure two GIN modules. One for authorization type A and one
for B. This will allow you to configure the dependency in different ways.
The authorization type will become a global property of your application. In
your EntryPoint, you could have s
Hi,
I am having trouble with GWT 2.0. I am trying to switch from 1.7 to
2.0, everything compiles fine, but...
When I deploy my app I (unfortunately) have my rpc servlets in a
different path. Don't ask me why, I simply can't change this.
So my RPC servlets are
/somewhere/here
and my GWT app is
Thank you all for the good advice. I am glad I posted the question!
You convinced me going the DI route. I will try with and without GIN.
I will let you know or post an follow-up question :)
(not this week).
Regards,
Ronald
On Jan 26, 10:03 am, Jan Ehrhardt wrote:
> Hi Ronald,
>
> I would reco
Your create method is returning an Element - not an SVGPanel...
I'd personally start with a Widget (not a JavascriptObject) and use
GWT DOM methods (these will be optimised for each of the supported
browsers)... I have the same problem as you - going from a JS world to
a GWT/Java world sometimes s
The way I've done it (I think is):
1. Create a new Class that extends Widget and implements
HasMouseMoveHandlers
2. Grab the RootPanel Element and pass that into your new Class
constructor (the one that takes an Element as a param) - this should
call setElement(Element element) with you passed in
Hmmh, without GIN? Are you sure?
DI is a great pattern, but without a framework that does the job for you
it's really a pain. But for understanding the idea, it might be good.
Better look this talk about Guice (which is GIN for non-GWT)
http://www.youtube.com/watch?v=hBVJbzAagfs
The guys are show
Hello, I'm lookin for an advice.
I developed an application with GWT 1.7 and I have developed without
looking the style; now I finished all the function and I want to make
it beautiful. I recompile all with GWT 2.0 and works well,
in your opinion is worth redo all the pages using the UIBinder?
Wha
I was having problems with deploying my web app in external server
Jboss. I recently figured out that the strongName of the gwt.rpc
changes every time I refresh the page. Can someone explains me how to
avoid this?, or if this is a bug?. An output here:
10:49:52,593 INFO [STDOUT] Module base URL
Ah..interesting. I'll look into it, but as you say, I will be using
GAE with JDO.
It would be great if the GWT site had a bunch of links to third party
reference material like this.
There is so much great material out there, but it's not always easy to
find..
I was hoping for a more interactive pr
On Jan 25, 5:34 pm, Ice13ill wrote:
> Hello, i'm trying to develop a custom application event system using
> my own events and a base event (inherited by the other event types)
>
> Here is the code of the base event class:
>
> public class EBaseEvent extends GwtEvent{
>
> public static Gw
What do you mean exceptionhandling?
Our logic goes like this:
1) If IE then show an IE specific download link. Too many users have
troubles with popups on IE.
2) For other browsers, use this:
public static native boolean open(String url, String name, String
features) /*-{
var
Another simpler solution using EventPreview:
Event.addNativePreviewHandler(new Event.NativePreviewHandler()
{
public void onPreviewNativeEvent(NativePreviewEvent foEvent)
{
switch(foEvent.getTypeInt())
{
case Event.ONCLICK: handleClick(foEvent); break;
Hi,
I have user editor and when somebody clicks the delete button I show a
popup in which the user has to confirm that all the data should be
deleted. Only if this will be confirmed with yes, the data will be
deleted in the database. Now is my problem that I do not know how I
can wait until the bu
I've run into (perfornance) issues using a NativePreviewHandler as it
will recieve *ALL* events (mouseover/out/move/up/down etc, etc...)
which is why I don't use that method.
On Jan 26, 11:08 am, Fazeel Kazi wrote:
> Another simpler solution using EventPreview:
>
> Event.addNativePreviewHandler(n
It might be worth checking out the gwt svg implementation in gwt-widget
library:
http://gwt-widget.sourceforge.net/docs/xref/org/gwtwidgets/client/svg/package-summary.html
On Tue, Jan 26, 2010 at 6:22 AM, markww wrote:
> Hi,
>
> I'd like to make some really simple overlay classes in GWT to wrap
No, i definetly mean not the XYZ.nochache.js.
Here is a line from my firebug:
http://localhost:8080/application/64CE9F3B21EDFDB2ADBA49308C361972.cache.js
this is what gwt tries to load, but the file is definetly reachable
under this path:
http://localhost:8080/application/application/64CE9F3B21ED
No, i definetly mean not the XYZ.nochache.js.
Here is a line from my firebug:
http://localhost:8080/application/64CE9F3B21EDFDB2ADBA49308C361972.cache.js
this is what gwt tries to load, but the file is definetly reachable
under this path:
http://localhost:8080/application/application/64CE9F3B21ED
When the user clicks the ok button, you generate "delete all" event.
On 01/26/2010 12:10 PM, ojay wrote:
Hi,
I have user editor and when somebody clicks the delete button I show a
popup in which the user has to confirm that all the data should be
deleted. Only if this will be confirmed with yes
ojay schrieb:
> I have user editor and when somebody clicks the delete button I show a
> popup in which the user has to confirm that all the data should be
> deleted. Only if this will be confirmed with yes, the data will be
> deleted in the database. Now is my problem that I do not know how I
> c
once again, i have to answer the question myself!
at first: would anyone PLEASE write an guide for using the
jsonprequestbuilder it´s damn annoing the find out everything by
try and error.
about my problem:
the name of the callback method for the jsonp request changes whith
every request.
when
On 21 Jan., 15:44, John V Denley wrote:
> for you dduck, the way forward would be to do as leduque suggests
> above and set the compile time flag for style to "detailed" and that
> should give you a much better idea where the error is, you might find
> the following link
> useful:http://code.go
The code you are trying to compile is the original from GWT 1.7 project or
have you made some changes? What about the 3rd party modules, do you use
some of that? Maybe there is some code messing up with the compiler...
And the Development Mode, can you try the application using it?
Try to compile
On 26 Jan., 13:11, dduck wrote:
> I have done so, but the debugging still points to a piece of
> JavaScript that does not have a clear correspondence to the original
> Java code :(
Specifically it points to this line:
function Y$(a){var b;if(a.Z()){return KK(new IK,Wob)}else{b=lJ(new
fJ,Ohb+a.
Hi,
I am actually experimenting with GWT to replace our UI. (We actually
use struts) I like GWT a lot so far.
I thus pushed the experiment further by trying to integrate it in our
solutions. I must work within a few parameters set by my employer.
Among those, it must be possible for my team to
hi all,
I want to display a image is my project .
i want to know where to store the image and what is the path for that
image.
by the way i successe to display a image that was stored in the web .
please help me.
thanks
--
You received this message because you are subscribed to the Google Groups
Hi,
From our perspective, we managed to get things working somewhat
adequately as follows:
1. use maven for automated builds and awesome dependency management
2. use eclipse and maven eclipse plugin
3. use gwt and gae plugins (where SDK must point to the same versions
as those declared in pom.xm
Hi folks,
Are there any samples of the TabPanel with the listener implemented?
It would be very helpful to look at some example code.
Thanks!
--
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
Hi, I'm new here and new to gwt.
I'm not a Java programmer, but I'm start to learn to use GWT.
I'm trying to use an extension of the ListBox widget to make it able
to collect data from a database by AJAX.
I found only an example on the web, but I obtain an uncaight exception
(class not found) at
I'm not sure, what you mean with non-UI and on the other hand
you want to display a progressbar.
maybe you want a pure-GWT implementation without any 3rd party stuff
like flash or applets?
if so, this may be what you are looking 4:
http://code.google.com/p/gwtupload/
On 25 Jan., 17:43, Lothar Kim
That is the question I felt like asking as well, Dalla.
--
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-too
This is the original v1.7 code with only the GWT 2 change applied, ie
no other code changes have been applied yet.
We are able to run the app in dev mode without any issues.
We use a few 3rd party modules, yes. The primary client-side
dependency is the GXT module. On the server we have a few othe
I figured it out. Accidentally, I used
com.google.gwt.dev.util.collect.HashSet instead of java.util.HashSet.
It works in eclipse, but not in tomcat, even if I put jar into WEB-INF/
lib directory.
On Jan 25, 1:16 pm, ailinykh wrote:
> Hello, everybody!
> When I deploy my GWT application to tomcat
The only time I have this kind of problem is when I am working in Dev
mode.
It seems that Eclipse caches the nocache.js file (Which tells the
browser which gwt.rpc to load).
Normally I don't do a rebuild unless I have changed something on the
backend so I remember most of the time to stop and resta
On Tue, Jan 26, 2010 at 12:01 AM, cowper wrote:
> Hi,
> From our perspective, we managed to get things working somewhat
> adequately as follows:
>
> 1. use maven for automated builds and awesome dependency management
> 2. use eclipse and maven eclipse plugin
> 3. use gwt and gae plugins (where S
...and another, this time the one I am actually after:
Class: com.google.gwt.core.client.JavaScriptException
Message:
(TypeError): Result of expression 'a' [null] is not an object.
line: 1520
sourceId: 4968015904
sourceURL:
http://worm:8080/myShopInstall/gwt-results-app/5DF30FE3D0E594F4B64889C27B
Sorry, I just read what I worte and realised I made a mistake. We
don't have that many .properties files, but we do have a large (>
1000) files that describe each field in the DTO with a constant string
value. Ex:
public class AdminUserListDefProperties implements Serializable,
BeanModelTag {
Hi,
import com.gwtext.client.widgets.TabPanel;
...
final TabPanel tabPanel = new TabPanel();
tabPanel.setClosable(false);
tabPanel.setResizeTabs(true);
tabPanel.setMinTabWidth(115);
tabPanel.setTabWidth(135);
tabPanel.setEnableTabScroll(true);
Hi,
In GWT 2.0 there is supposed to be a feature that allows us to emulate
java stack traces in the compiled web application. I can not find much
information on how to enable this. The docs are very quite about this
subject.
I found that there are 3 properties:
- compiler.emulatedStack
- compiler
On Tue, Jan 26, 2010 at 6:21 AM, m.mil...@newelements.de <
m.mil...@newelements.de> wrote:
> No, i definetly mean not the XYZ.nochache.js.
>
> Here is a line from my firebug:
> http://localhost:8080/application/64CE9F3B21EDFDB2ADBA49308C361972.cache.js
>
> this is what gwt tries to load, but the f
BTW, Your code stills looks like compiled with -style obfuscated.
On Jan 26, 6:55 am, dduck wrote:
> ...and another, this time the one I am actually after:
>
> Class: com.google.gwt.core.client.JavaScriptException
> Message:
> (TypeError): Result of expression 'a' [null] is not an object.
> line:
Why don't you try
void onModuleLoad() {
RootPanel.get().add(new HTML("HelloWorld"));
}
If you really want to deal directly with the dom look at
com.google.gwt.user.client.DOM but this is probably not the way you
want to use GWT
On Jan 25, 11:07 am, markww wrote:
> Ah actually it looks like this
hi GWT gurus,
I would like to ask two question about GWT samples
1, Can I assume samples provided under folder gwt-2.0.0/samples are
written in best practices?
2, Is there any plan to re-write Showcase sample to UIBinder?
Best regards,
Max
--
You received this message because you are subscribe
Is there some description of how precisely java objects are passed via
POST requests and returned in JSON responses?
--
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.
Hey All,
I'm using the gwt maven plugin to control my builds and the apache
war plugin is built into it. Most of our visuals are controlled
strictly by css and since our upgrade to gwt 2.0 we're having a
horrible caching problem. In the docs for the war plugin it has a
variable called "useCach
To clarify what I´m looking for, let´s assume that I´m working with
Googles MVP Contacts example.
Instead of having EditContactView and ContactsView as completly
separate views, I want to add them to a DockLayoutPanel,
showing both views at the same time.
Let´s assume that I want to put the Contac
i'm using uibinder to create some widgets with a CSS file and the
corresponding .java and .ui.xml files.
Where can i find how the uibinder accesses the required resources ?
For example, i have my widgets in the package
com.testapp.client.widgets : MyWidget.java and MyWidget.ui.xml
The css file is
hi, i´m impressed about the quick reply!
at first i develop the application on jboss 5.1.0. everything works
fine in development mode but since i tried it on the joss i have a
couple of problems.
so the first "application" is the name of the application.
the second "application" is the name of th
Dims schrieb:
> Is there some description of how precisely java objects are passed via
> POST requests and returned in JSON responses?
The protocol can change between GWT-versions and is to be
regarded to be "internal". If you really want to know you
have to read the sources of the RemoteServiceSe
On 26 Jan., 16:15, Djabi wrote:
> BTW, Your code stills looks like compiled with -style obfuscated.
You are right.
Thought I had fixed it, but hadn't.
Here is the unobfuscated code:
function com_google_gwt_user_client_ui_Panel_
$clear__Lcom_google_gwt_user_client_ui_Panel_2V(this$static){
Hi,
I started a thread a while back asking for some way to support sub-
types of properties (e.g. for mobile Safari/Android). I got a quick
response saying that Conditional Properties were the answer, and that
they were in GWT 2.0.
Thread:
http://groups.google.com/group/google-web-toolkit/browse
Btw the compile error is because type can't be static and depend on a
compile time generic arguement. When the statics are innitilaized H
is not defined yet.
On Jan 25, 10:34 am, Ice13ill wrote:
> Hello, i'm trying to develop a custom application event system using
> my own events and a base eve
Chris, is there an (approximate) timeframe for when you guys are
planning to release the updated Incubator?
We're having issues with GlassPanel (I guess everyone is), but also
with the FastTree -- hoping the new release resolves these.
Thanks!
On Dec 27 2009, 11:43 pm, Chris Ramsdale wrote:
> W
Ok this is what I came up with:
public class SVGRect extends Node
{
protected SVGRect() {}
public static final native SVGRect create() /*-{
var rect = document.createElementNS('http://www.w3.org/2000/
svg', 'rect');
return rect;
}-*/;
}
public class
On Jan 26, 4:49 pm, Ice13ill wrote:
> i'm using uibinder to create some widgets with a CSS file and the
> corresponding .java and .ui.xml files.
> Where can i find how the uibinder accesses the required resources ?
>
> For example, i have my widgets in the package
> com.testapp.client.widgets :
It looks like they snuck in an update when nobody was looking. :-)
http://code.google.com/p/google-web-toolkit-incubator/wiki/Downloads
On Jan 26, 9:36 am, WiseBoggz wrote:
> Chris, is there an (approximate) timeframe for when you guys are
> planning to release the updated Incubator?
>
> We're h
On Jan 26, 12:43 pm, "m.mil...@newelements.de"
wrote:
> once again, i have to answer the question myself!
> at first: would anyone PLEASE write an guide for using the
> jsonprequestbuilder it´s damn annoing the find out everything by
> try and error.
>
> about my problem:
> the name of the c
Hello,
I've started using gwt for a couple of weeks and still face a question
on which I couldn't find any good answer.
What is the added value of the UIBinder in gwt 2.0?
For example, in my class, I can do:
VerticalPanel vertPanel = new VerticalPanel();
vertPanel.setSize(); and so on
or hav
By default the images are loaded from the path {web-root}/images/
In the future please post SmartGWT related questions on the SmartGWT forum
: http://forums.smartclient.com/forumdisplay.php?f=14
Sanjiv
On Tue, Jan 26, 2010 at 4:43 AM, joe7935 wrote:
> hi all,
> I want to display a image is my
I am a bit surprised that I didn't see many issues on this:
I use RichTextArea and have the following problems:
1 - The getScrollHeight() always returns the height and not the actual
scroll height
2 - In IE each line is doubled
Can someone help?
Yossi
--
You received this message because you a
Hi Gerald,
declarative UI have some good advantages. The ones that first pop up in my mind
are:
- Your Web designers (which are usually not very used to Java fanciness) can be
more confident while
retouching the layout of your application. Which also decrease the chances
that several peopl
Hi Alessandro,
IMHO, I wouldn't dare the (wasted) time in redoing the views using UIBinder. If
your views are working beautifully
right now, then why would you spend more time on them? If you have followed the
best-practices, your views are
likely to be "silly" (bunch of set and get methods).
I just noticed :)
I kept checking the home page, and it says 1.7 still.
Thanks!
On Jan 26, 12:53 pm, Jim Douglas wrote:
> It looks like they snuck in an update when nobody was looking. :-)
>
> http://code.google.com/p/google-web-toolkit-incubator/wiki/Downloads
>
> On Jan 26, 9:36 am, WiseBoggz
i'll try that. 10x!
On Tue, Jan 26, 2010 at 7:46 PM, Thomas Broyer wrote:
>
>
> On Jan 26, 4:49 pm, Ice13ill wrote:
> > i'm using uibinder to create some widgets with a CSS file and the
> > corresponding .java and .ui.xml files.
> > Where can i find how the uibinder accesses the required resour
This is beyond anything Ive come across before, sorry I cant help anymore,
though it looks like i did manage to push you in the right direction!
good luck figuring it out...
2010/1/26 dduck
>
>
> On 26 Jan., 16:15, Djabi wrote:
> > BTW, Your code stills looks like compiled with -style obfu
Never mind... I should have read the reported error more careful. I
did not realize that there was a set-configuration-property as well...
I had to read the DTD to realize this.
David
On Tue, Jan 26, 2010 at 3:23 PM, David wrote:
> Hi,
>
> In GWT 2.0 there is supposed to be a feature that allows
Thank you for those points you mentioned.
Actually in my case we are developers and so would have a preferences in
java code rather than in xml instructions.
What I also wonder is if there are some optimisations in using one or the
other method.
Do you have any idea?
Le 26 janv. 2010, 7:57 PM, "M
Check this code:
PopupPanel p = new PopupPanel();
p.setSize(p.getOffsetWidth() + "px", p.getOffsetHeight() + "px");
As expected, nothing should happen., size of the popup panel should
not change But you can notice that the size changes. Both height and
width increases by the amount of padding pad
A solution to this problem anyone ?
On 28 déc 2009, 14:58, Peter Ondruska
wrote:
> public class Upload extends HttpServlet {
>
> private static final long serialVersionUID = -7859156850837921885L;
> private final Logger logger = Logger.getLogger(getClass().getName());
>
>
We are in the process of updating number format constants based on
latest CLDR update. In previous version, Arabic number system is used
for Arabic countries. Now CLDR offers both number system due to the
popular request of latin number system. In CLDR file, Arabic number
system is marked as the de
On 27 jan, 00:43, mably wrote:
> A solution to this problem anyone ?
The JavaDoc says "send back text/html". Follow this advice, really
(just pay attention to "<" and "&" chars that might appear in your
output).
> On 28 déc 2009, 14:58, Peter Ondruska wrote:
>
> > response.setC
Hello, list!
I'm trying to get back into writing my JSR-303 compliant validation
framework for GWT for a couple of reasons. (http://code.google.com/p/
gwt-validation)
1) They (the JSR group) have released an updated/final proposition.
They have also released source code!
2) I have some free deve
Hi Keith,
Thanks for offering to help us maven users. I wish you guys did use
maven :)
On the development workstation, we use STS (for our purposes, Eclipse
Ganymede with m2eclipse plugin). We use the Google Plugin for Eclipse
for Development mode. We run development mode from the launch menu
How future proof are GWT compilations? For example, if I compile my
app today with 2.0:
1. How it will react in a couple of years to lets say IE 9, Firefox 4,
etc.?
2. How it will react to a yet unknown, however standards compatible,
browser?
--
You received this message because you are subscri
It should sound weird, but... have you tried to compile with less memory
at -Xmx parameter?
Try the default -Xmx128m, and others like -Xmx512m, -Xmx1024m or -Xmx8192m
This came from here "It's more that the JVM allocates multiple regions of
memory. When you increase -Xmx, this can cause some of t
thanks for the help Thomas!
On Jan 25, 4:36 am, Thomas Broyer wrote:
> On Jan 25, 5:38 am,ross wrote:
>
>
>
>
>
> > Hi,
>
> > This is probably a very noob question but I have updated my project to
> > GWT 2.0 and I am trying to rewrite some of my Widgets to use
> > Declarative UI because it looks
Hi. I have a GWT tree of folders. When a folder i do an RPC call to
load a list of files on the right side of the screen. If the user
were to rapidly change folders it queues up the RPC calls and takes a
very long time to load whatever the last folder clicked was. I want
to prevent a folder cha
Hi
Basically i want dialog box center 's call to show dialog box in
center should be set in xml as default.
Can anyone help me ??
Thanks
Dev
--
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
can anyone give an example how to use CssResource for defining css for
a Widget, e.g. SplitLayoutPanel, in standard way.
since I cannot expose "gwt-SplitLayoutPanel-HDragger" in a CssResource
because of invalid "-" character.
// @ClassName("gwt-SplitLayoutPanel-HDragger")
// String gwtS
Hi experts! :-)
I am new to GWT and I am working on an application which I have a
jQuery application displaying an image, the jQuery code allows the
image to be scrollable.
I have wrapped the jsQuery script to a div in my GWT application.
What I am trying to do is to overlay a GWTCanvas on top o
Hi,
I have a requirement where I have to call from GWT client code into an
arbitrary JavaScript function given only its name.
For example I have the name of the function as a String say
"doSomething" and I have an array of Strings for arguments. I'm
expecting that the function is already defined
Are u sure abt that? I haven't done any testing in gwt for it. If u hv done,
please share the details since have started using this extensively in my
project.
My experience from pure javascript is that one single handler at document
level is much better that having several handlers on various butt
GWT is the obvious choice for UI. But if you want to use Grails/Groovy
for server side, you have to either code messy DTOs or client side
POJOs. It would be nice if GWT would support using the Grails/Groovy
domain objects directly on the client. Any chance of that happening?
--
You received thi
Check out the answers here:
http://stackoverflow.com/questions/359788/javascript-function-name-as-a-string
Though the executeFunctionByName example seems a little overblown. The
real take away is to not use eval() if you can help it.
I would also check to make sure the function is really a functi
Oh! And (hopefully I'm not stating the obvious here), check out the
"apply" Function method:
https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Function/apply
and be careful with what "this" you pass into with it if the author of
that function made any assumptions about
The problem is the GWT RPC's serialization, which can't work with objects
created by hibernate. You can use the DTO Grails plugin (
http://www.grails.org/plugin/dto) or you can use JSON / REST for
communication.
In the case of a Grails app, which comes with great support for REST / JSON,
I would p
Hi,
I actually got lost at the part where you said that you disable the
google appengine server. It doesn't make sense, because if you intend to
deploy your application to an application server not equal to GAE you
must disable GAE support on your eclipse project. In fact, when you
create a G
88 matches
Mail list logo