No one here who wants to give me some hints? We want to start our
first productive project with GWT soon and I would like to
understand the best way of session handling before...
Best regards
Mark
On 15 Dez., 11:53, Bestmacfly mark.mesc...@googlemail.com wrote:
Hi,
I'm new to GWT and just
I don't think that GWT is currently well suited for doing this dynamically.
It is however well suited to do this statically through a refresh of the
page.
I do it statically by using @eval in my css files that reference preference
classes. Preference classes are selected through a theme and the
How about making other rules apply rather than changing the content of
the rules that apply? I.e. have .theme1 .someClass in theme1 and
.theme2 .someClass in theme2, and simply switch the class name on the
Document.get().getBody() to switch theme.
That way, you don't need to uninstall the
Yes of course, simple and straight forward... Just change the parent
(cascading) style.
On Tue, Dec 20, 2011 at 11:28 AM, Thomas Broyer t.bro...@gmail.com wrote:
How about making other rules apply rather than changing the content of
the rules that apply? I.e. have .theme1 .someClass in theme1
Hi everyone,
I am very delighted to announce the release of gwt-
rcharts to GWT community. It renders interactive charts on client side
based on SVG and VML with cross browser support*.
The library is based on a popular javascript library
rapheaeljs and
You could for example create a public static method in your custom
RequestFactoryServlet that delegates to
RequestFactoryServlet.getThreadLocalRequest().getSession().
Or you just use some other class that stores the session as a ThreadLocal.
But if you do it yourself, keep in mind to clear the
Oops!! I forgot to mention the links, here they are :
http://code.google.com/p/gwt-rcharts/
and
http://www.gwt-charts.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
+1 here.
Great work
2011/12/20 saurabh saurabh saurabh.bl...@gmail.com
Oops!! I forgot to mention the links, here they are :
http://code.google.com/p/gwt-rcharts/
and
http://www.gwt-charts.com/
--
You received this message because you are subscribed to the Google Groups
Google Web
Thank you a lot, Jens,
I just accessed the session via my DAO, exactly what I was looking
for!
With this I can implement some filters in my DAO without having to
send ID's as method parameter, perfect!
I didn't seen before that there are already some static methods for
accessing the request...that
Thanks for your quick answers, guys. I suppose its easy to find info
about how to use my own server, datastorage, etc. in order to develop
non-cloud apps with GWT. I'm very quiet (and my boss will be). Anyway,
I'll be asking for help and advice.
Magus.
--
You received this message because you
Hi,
I have a base Entity class with subclasses as shown below. I can
view and update my entities but I get the exception
java.lang.IllegalArgumentException: Cannot fetch unpersisted entity
whenever I try to save /persist a new entity.
Does request factory support inheritance ?
Dear Friends,
i have a project on going and i need some help from you guys
I have 2 questions
I create a TabSet and a newTAB in it. inside the TAB i put a TextBox
1- I add an eventhandler to text box
every time event fired a popup is set to be shown and after a while
set to be hide.
I do the following:
Create an application in a war named ROOT.war - when deployed to
Tomcat this reacts to
www.myserver.com/index.html
Let us assume You want three entry points
/ - (the main application - public)
/membersonly - login secured area
/admin - the admin area
So create two folders in
Hi folks,
I'm experiencing a little bit problem. I would like to launch my
application in development mode (known also as Hosted mode). My
current GWT version is 2.3.0.
For debug reasons, I want to inspect the generated JavaScript in my
browser but the default format is a non-human readable
Hi Saurabh,
this looks great!
I am going to try it out.
Maximilian
Oh man!
How long did I fuzzle around with embedded Flash Animations throwing
data into them with JavaScript
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post
Hi, additionally, I need to use and reference unsaved objects by id,
but before being saved, they have null Id, how can I handle it? Help,
please.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to
Has anyone ever been able to do this, or looked into doing it? Thanks!
On Dec 19, 3:53 pm, llefler lakota.lef...@gmail.com wrote:
Hello,
I am working on fixing up the GWT -MotionChartand wanted to know if
anyone knows a good way of approaching an implementation for changing
or regulate the
i use:
popup.showRelativeTo(widget...)
in my debugger i can see that during the callback:
public final void showRelativeTo(final UIObject target) {
// Set the position of the popup right before it is shown.
setPopupPositionAndShow(new PositionCallback() {
public void
On Monday, December 19, 2011 10:59:16 PM UTC+1, tzhotmail wrote:
Hi,
I have a base Entity class with subclasses as shown below. I can
view and update my entities but I get the exception
java.lang.IllegalArgumentException: Cannot fetch unpersisted entity
whenever I try to save /persist a
Like it a lot, neat and seems very simple to use. Good work!
On Tue, Dec 20, 2011 at 6:28 AM, saurabh saurabh saurabh.bl...@gmail.comwrote:
Oops!! I forgot to mention the links, here they are :
http://code.google.com/p/gwt-rcharts/
and
http://www.gwt-charts.com/
--
You received this
On Tuesday, December 20, 2011 12:05:14 PM UTC+1, hallmit wrote:
Hi folks,
I'm experiencing a little bit problem. I would like to launch my
application in development mode (known also as Hosted mode). My
current GWT version is 2.3.0.
For debug reasons, I want to inspect the generated
On Tuesday, December 20, 2011 2:07:01 PM UTC+1, MagusDrk wrote:
Thanks for your quick answers, guys. I suppose its easy to find info
about how to use my own server, datastorage, etc. in order to develop
non-cloud apps with GWT.
GWT is mostly about client code; on the server it's only
I do the following:
It's not a very elegant solution and you still have only one entry point.
You mainly dispatch depending on the action found in the url.
I would definitely get ride of the refresh action which causes an extra
server-client round trip. Round trips should be minimized as much as
Which widgets are you using ?
--
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/-/TjJYrGJPTxIJ.
To post to this group, send email to
1- I add an eventhandler to text box
Sounds like a css issue. Use Firebug to solve this. Probably the z-index
isn't correct.
2 - i add keypress event handler to text box
See the Event class for the possible events that you can use.
For example: Event.ONCHANGE
--
You received this
That isn't the case, I can tell a measurable difference. This change was
introduced when uiBinder switched to use SafeHTMLTemplates. You can use the
following to disable its use
set-configuration-property name=UiBinder.useSafeHtmlTemplates
value=false/
In a more extreme example, I was using a
Hello All,
I have a GWT 2.4 app using MVP, clientFactory, activities, places, and
uiBinder. I have a composite widget that I created as a standalone
object with it's own ui.xml file. I reference that class and insert it
into the main viewImpl.ui.xml file.
The composite widget receives some data
Hi,
GWT 2.4
I have a client bundle and generates images and background images as
follows,
Document.get().getElementById(hbhtopbar2).getStyle().
setBackgroundImage(url(+HomePageClientBundle.INSTANCE.topbar2().getSafeUri().asString()+));
Image hbtopbar3 =
I'm trying to convert one of my Widgets to a UiBinder in GWT 2.4. The
current Widget uses the width from an ImageResource to size a parent
TD element.
The parent TD has to be the exact same size as the image or the
overall Widget will not look right. I do not want to hard code the
value...
I
Take a look at image sprites.
On Dec 20, 1:44 pm, Deepak Singh deepaksingh...@gmail.com wrote:
Hi,
GWT 2.4
I have a client bundle and generates images and background images as
follows,
Document.get().getElementById(hbhtopbar2).getStyle().
Hi
I'm trying to learn how to use RequestFactory. I created a new App
Engine Connected Android project. In the shared MyRequestFactory class
I then add RequestString getSomethingElse(); to the code below,
just before the closing curly bracket.
Hello,
I'm developping a gwt/gae project on eclipse indigo.
It's a maven project.
I'm using the google plugin, and the m2e plugin to manage the project.
The project has a maven webapp folder : src/main/webapp
When using the develop server, all is put by the maven plugin in the folder
I have Remote Logging enabled, and any data logged in my GWT client
code only shows up in my Tomcat console. I have logback configured
and correctly logging data to log files for server code. Does anyone
know how I can configure GWT remote logging so that my client log data
gets directed to my
Nice! I added this to a GXT LayoutContainer with a FitLayout. Any
idea how to allow dynamic sizing?
Doing this in the onRender() function seems to work only for the
initial size. Once I add it into the container though, if I try to
resize, the chart stays the same size and just clips if the
I just wanted to say that I'm having the same issue.
Any help is greatly appreciated.
Thanks.
On Dec 10, 9:39 am, Ruben Leal rusol...@gmail.com wrote:
Hello guys,
I'm trying to test gwt2.4 RequestFactory technology with Hibernate
validator 4.2. After adding libs to my WEB-INF/lib I have
I was able to fix this issue in my environment but I'm not 100% sure
why. Basically all I did was to remove the hibernate jar out of the
WEB-INF/lib but made sure it was still part of the projects build
path.
Contents of WEB-INF/lib
appengine-api-1.0-sdk-1.6.0.jar
appengine-api-labs-1.6.0.jar
GWT only uses java.util.logging, so you have to configure the Slf4j bridge to
redirect the logs to logback.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
Use @sprite in a CssRessource so it sets the appropriate background position.
If you have an Image widget, pass the ImageRessource to setRessource.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
Hi Erez, nice question, actually its going to be an issue to attend,
Thanks for drawing attention over this.
Anyway work around solution could be like : making and adding a new
chart instance with new dimension and removing the old chart.
--
You received this message because you are subscribed
Sorry, I don't understand widgets, I'm refering to Data (DAO) classes
and JDO persistence.
On 20 dic, 10:18, Ed post2edb...@gmail.com wrote:
Which widgets are you using ?
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this
Sorry, I don't understand widgets,
Exactly my point...
I think you posted your message in the wrong forum.
On Tue, Dec 20, 2011 at 11:34 PM, MagusDrk magus@googlemail.com wrote:
Sorry, I don't understand widgets, I'm refering to Data (DAO) classes
and JDO persistence.
On 20 dic, 10:18,
Try 22px
BTW: I these day's I would build my widgets tabless as much as possible
--
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/-/HogMhVzLBmYJ.
I found it... I started out with GWTVF (Gwt validation framework, another
library. That one required this JVM setting :
-Dgwt.validation.excluded.ValidatorClassesRegexp=^org.hibernate.*
which was still set.
Removing it fixed my issue.
--
You received this message because you are subscribed to
2 - i add keypress event handler to text box
this eventhandler is called before the data changes inside the textbox
so i recall keypress handler twice to get the data change after every
key press. this is a work around, how can i handle the data change
after a keypress
Use the
I have a customized GWT Date -Time widget which is a combination of
two text boxes, one to hold the date and one to hold time. When I
enter the date 04/09/1956 12:00 AM (in the Date widget), internally in
the ValueChangeHandler for my widget I run it through the GWT's
DateTimeFormat class'
This behavior deviates from widespread usage of pagination across the web
so I don't see how it's desirable to do something unexpected by users
unless it's clearly superior.
When I navigate from one page to another it's because I want to see the
next set of results/data and I expect the stuff
public class AutoResizeBox extends RichTextArea
{
public AutoResizeBox()
{
set(getElement());
}
public static native void set(Element f) /*-{
console.log(f.tagName) ;
// console.log(f.document.body.scrollHeight + 'px');
}-*/;
}
RichTextBox is based on
If speed is critical for your application then there are 2 things to
consider:
1. Speed after the application is loaded.
2. Speed in which the application loads up.
If you are concerned about latter, then you have to either use code
splitting or consider moving to jsp. Because in a
So far this is what I have and seems to be working good. I'll stick with
this for now I think and change it if something better comes up.
public class MapHandlerRegistration {
/**
* create a handler for eventName
* @param w
* @param eventName
* @param handler
* @return
*/
And using it in MapWidget:
public HandlerRegistration addClickHandler(ClickMapHandler handler) {
return MapHandlerRegistration.addHandler(this, click, handler);
}
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this
Hi ,
I am using Spring STS to build GWT and Spring web application. I created
dynamic project and added GWT to it. when i am compile i am getting below
error. Please help, if i am missing anything.
Compiling module com.base.HelloWorld
[ERROR] Unexpected internal compiler error
Hi friends,
I am using ListDataProvider to load the data into the celltable. I
have also set an EmptyTableWidget using setEmptyTableWidget which
shows an HTML panel when the table is empty. I want to know if there
are any ways to get the loading symbol by removing the empty table
widget while the
Starting to add unit tests for JsonRpc support in RF would be great
(though not easy, as GWT doesn't provide any server-side utility).
Otherwise, LGTM (but see comments below).
I'm not keen on the proposed changes to setAcceptableValues and
setValue. ValuePicker is supposed to be usable as a thin wrapper around
a CellList, without even calling setAcceptableValues.
With your proposed changes, setValue would break the list as soon as you
use pagination (getVisibleItems()
committed as r10804
http://gwt-code-reviews.appspot.com/1616804/
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
http://gwt-code-reviews.appspot.com/1618806/
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
Thanks very much for the review! Your point is taken on tests; I'm
currently in the process of writing some rudimentary tests for JSON-RPC
in RequestFactory.
As you mention, these tests will not be integration-level tests at
first, as there is no RF server side in the testing infrastructure (as
(to be clear, the patch with test will be part of a separate issue).
http://gwt-code-reviews.appspot.com/1618806/
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
I'm not keen on the proposed changes to setAcceptableValues and
setValue.
Okay, I'll back off of that then; I was thinking, albeit naively, that
behaving as much as like ValueListBox as possible would be a good thing.
But good point on the paging.
Thanks for the review!
http://gwt-code-reviews.appspot.com/1614807/diff/1/user/src/com/google/gwt/user/client/ui/ValuePicker.java
File user/src/com/google/gwt/user/client/ui/ValuePicker.java (right):
http://gwt-code-reviews.appspot.com/1614807/diff/1/user/src/com/google/gwt/user/client/ui/ValuePicker.java#newcode50
LGTM
http://gwt-code-reviews.appspot.com/1618806/diff/2001/user/src/com/google/web/bindery/requestfactory/shared/impl/AbstractRequestContext.java
File
user/src/com/google/web/bindery/requestfactory/shared/impl/AbstractRequestContext.java
(right):
http://gwt-code-reviews.appspot.com/1614807/
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
Not sure about the test details (documenting the differences with
ValueListBox which are another issue –that might need to be addressed
too, but independently as this one) but overall LGTM.
Be sure to see my comment on getValue() though.
On 2011/12/16 17:38:57, jlabanca wrote:
LGTM
http://gwt-code-reviews.appspot.com/1618804/
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
I use a lot of HTML panels so I can use native html for as much layout and
styling as possible for performance reasons. I try and minimize the number
of widgets I use which is especially helpful on mobile devices. As a
result, I use quite a lot of css class references to either local uibinder
On 2011/12/20 20:21:45, skybrian wrote:
http://gwt-code-reviews.appspot.com/1618806/diff/1003/user/src/com/google/web/bindery/requestfactory/shared/impl/AbstractRequestContext.java
File
user/src/com/google/web/bindery/requestfactory/shared/impl/AbstractRequestContext.java
(right):
On 2011/12/20 22:31:52, rdayal wrote:
On 2011/12/20 20:21:45, skybrian wrote:
http://gwt-code-reviews.appspot.com/1618806/diff/1003/user/src/com/google/web/bindery/requestfactory/shared/impl/AbstractRequestContext.java
File
On Tue, Dec 20, 2011 at 2:36 PM, rda...@google.com wrote:
On second thought, even though List and Set are the two that are
technically allowed, there's really no problem with JSON-RPC and the
encoding of a Collection, as its done in the exact same way regardless
of the collection; I don't
http://gwt-code-reviews.appspot.com/1614807/diff/6001/user/src/com/google/gwt/user/client/ui/ValuePicker.java
File user/src/com/google/gwt/user/client/ui/ValuePicker.java (right):
http://gwt-code-reviews.appspot.com/1619803/
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
70 matches
Mail list logo