Simply add set-property name=ClientBundle.enableInlining value=false /
to your gwt.xml. See
http://code.google.com/webtoolkit/doc/latest/DevGuideClientBundle.html#Levers_and_knobs
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view
Hi Adam,
Yes thank you, this helps a lot - I havn't thought about that.
But am now having trouble constructing an CompositeCell with the 2
images. Can you help me a bit here with a little code example.
I have to do something like this right:
ListHasCellT, C hasCells = new
Hi Sowdri,
Thanks a lot this example help me lot but if we see the example concentrates
how to parse the params and spilt.
One basic question how do we append params in the url
http://localhost:8080/#
for this URL how can i append params with activities and places, where as in
case of earlier
You can try with Activities and Places.
Using Activities you can load the corresponding other Moudle.gwt.xml and
i dont have sample to have demonstration.
But this can be feasible, one of my colleage did a POC.
Regards
Sri...
2011/10/14 Néstor Boscán nesto...@gmail.com
Hi
I have a
http://localhost:8080/#place-name:key1=value1key2=value2key3=value3 (as
many nvpairs as you require)
Once you hit this url, the place tokenizer will take care of parsing the url
and you can directly access the values of the params, using
place.hasParameter() and place.getParameter() as
Thanks Sowdri, But my question relates to how to append these parameters in
URL. Place name will be defulat.
- key1=value1key2=value2key3=value3
Thanks
Sri
On Mon, Oct 17, 2011 at 2:38 PM, -sowdri- sow...@gmail.com wrote:
Many thanks for your replies, Jeff and Sudhakar.
The ui.xml I'm using at the moment embeds the DataGrid in a
ResizeLayoutPanel (see below). I've tried substituting HTMLPanel and
HorizontalPanel, and I've also tried removing the pager so that the ui
just consists of a DataGrid in a HTMLPanel.
If your resource is declared from an interface, you can use a @DoNotEmbed
annotation above specific resources instead of disabling it for all your
application.
http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/com/google/gwt/resources/client/DataResource.java?r=10282
Hi
I am trying to use an image as a background of a button. I defined the image
as a resource in client bundle.
@Source(image/hborder.png)
ImageResource hBorder();
In the css file, I tried to reference this image with the following code
.gwt-Button {
margin: 0;
padding: 3px 5px;
When you are creating the place, pass this using the constructor. Ex:
placeController.goTo(new MyPlace(key1, value1, key2, value2, key3,
value3));
Rest must be automatically taken care of!
When your MyPlace extends AbstractBasePlace, make sure, you also expose all
the constructors of
What will be the future of GWT regarding Google's involvement in DART
language development?
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
try removing the background property from the style and
add @ImageOptions(repeatStyle = RepeatStyle.Horizontal) to your
ImageResource declaration.
And always try using FireBug to see what style is applied at runtime.
This helps in identifying almost all CSS issues.
-Prakash M.
2011/10/17
Please try something like this
String filePath = /WEB-INF/ + fileName ;
InputStream inputStream =
getServletContext().getResourceAsStream(filePath);
J.Ganesan
www.DataStoreGwt.com
Persist objects directly in App Engine
On Oct 15, 3:04 pm, m...@grayout.de m...@grayout.de wrote:
Hi all
I have
Thanks Prakash..
I must change some properties but It works.
Oleeyyy. :-))
--
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/-/vywbe0LeKtUJ.
To
Hi all!
I created a simple custom scroll panel by using an AbsolutePanel as
the base panel and a SimplePanel for the scrollable content. The
Scroll bar is also just a SimplePanel. The scrolling of an existing
content works without any problems.
The problem:
1. I want the scroll bar to be
Hi,
currently exploring the editor framework and client side validation and have
some questions:
1.) As I use RequestFactory and server side validation is it a good idea to
implement client side validation as well? The only benefits I can think of
is immediate error feedback to the user
i want to know about the procedure for creating the junit test for my
code
--
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email
In my GWT app I have a GWT SuggestBox which I use for a full text
search. The problem is that when you scroll in the page while
SuggestionDisplay is shown, the results move down the page as you
scroll.
When I use Firebug to inspect the page, I see that the text box's
div element is in the correct
Have you looked
at
http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/client/ui/CustomScrollPanel.html
?
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
An alternative way is to use JAXB in the server side, convert XML
documents into object hierarchy and fetch them to client by rpc. It is
likely to be much faster as string data becomes binary data. Besides,
you get first class objects in the client side.
J.Ganesan
www.DataStoreGwt.com
Persist
Hi Prakash,
There is now another problem.
I want the image as a background image of button. (As in Standard GWT
button.)
It covers all button and I can not see the text on button. It does not look
like a button but a normal image.
?
--
You received this message because you are
Hi,
I tried this but nothing seems to work. Can someone please send me a list
and order in which the softwares need to be installed? Or atleast some blog
/ website where the details are written clearly.
This is what I did fyi.
On my laptop with windows 7, i first downloaded eclipse-jee-64
Hej,
I developed an GWT project and everything went great. Only when I want
to deploy it too my tomcat server I'm stuck.
I put everything into a war file. After deploying the war i point my
browser to:
http://ipoftomcat/APPNAME/login.html
when I login my browser keeps me redirecting to:
Sudhakar,
I noticed that I can make changes to the Chrome.css, Standard.css, or
the Clean.css and the changes will be accepted.
From my understanding, those .css files are a result of changing the
settings in the .gwt.xml file
(i.e. inherits name='com.google.gwt.user.theme.chrome.Chrome' /
Sudhakar,
I have messed around with the Chrome.css, Clean.css and Standard.css
styles that can be changed by changing the following tags in
the .gwt.xml file: inherits
name='com.google.gwt.user.theme.chrome.Chrome' /, inherits
name='com.google.gwt.user.theme.standard.Standard'/, and inherits
Remove the ResizeLayoutPanel from the DockLayoutPanel and it should work.
--
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/-/H0n5Z7XAgRYJ.
To post
Yeah the GWT theme is referenced in your HTML page source via
link rel=stylesheet
href=http://domain/appname/gwt/standard/standard.css
This will always be done when you include a stylesheet via your module xml
file in combination with a public folder and thats exactly how GWT themes
are
I confirm the same issue. I'm also trying using DataGrid in the
DialogBox.
Can anyone point us to some solution other than just backing off to
CellTable. I really need scrolled content with fixed headers.
Thanks,
Yuriy.
On Sep 30, 4:07 pm, Stéph perrinst...@gmail.com wrote:
Hi all,
I just
It's probably worth keeping Google's corporate culture in mind. A lot
of more or less autonomous teams go about their daily work, trying to
solve their own particular problems. There's very little top-down
control of the process (unlike, to pick an example at random, a well
known company based
Thanks for the help guys. I got it working using a modified version
Tomasz's implementation. I think the main difference with mine was that
it's only taking JavascriptObject for an event object and that the bus
itself is an javascript object.
Luis
On Fri, Oct 14, 2011 at 5:25 PM, Stefan
I've been working on a project in GWT 2.1.1 and have had no need to
upgrade, until now. Recently, additional devs needed to be able to
access the code and build, and I've needed to document the process for
them.
I set up a VM and a fresh install of Eclipse/GWT and have been unable
to build.
I'm getting the following error after switching to using the 2.4
libraries. I see there is an older bug that mentions something about
the XML parser being used, but all I've change is the GWT library, so
I wouldn't expect a problem.
Any ideas?
J
Caused by: java.lang.Error: Unresolved
heres the style i got from GWT showcase for a button with background
image + text.
.gwt-Button {
margin: 0;
padding: 5px 7px;
text-decoration: none;
cursor: pointer;
cursor: hand;
font-size:small;
background: url(images/hborder.png) repeat-x 0px -2077px;
border:1px solid #bbb;
Hi,
I am newbie to this group and new to GWT as well. I am working on a project
in that i am using GWT Places/Activities.
I am not able to solve few issues which i think this group members can hhelp
me out
1. I am able to navigate between different pages
When you say put everything in a war file did you compile the project
using the Gwt Compiler? It sounds like all you did was copy the
webcontent folder into the war. You'll need to run the GWT compiler in
production mode first.
See:
Never mind, flushing out caches, etc. fixed this issue.
On Oct 17, 11:11 am, joel jtrun...@gmail.com wrote:
I'm getting the following error after switching to using the 2.4
libraries. I see there is an older bug that mentions something about
the XML parser being used, but all I've change is
Just wanted to throw in an update. Running ant from the command line
works as-expected. The problem definitely seems to be related to
GPE. Perhaps I should move this post to the newly created forum that
I noticed?
On Oct 17, 11:37 am, Cory c...@grit-design.com wrote:
I've been working on a
Your MechanicalPlace should have a constructor like public Mechanical(Long
studentId, Long studentName) along with the corresponding getters. In your
PlaceTokenizer.getToken() for MechanicalPlace you build the string like
studentId=
+ place.getStudentId() + studentName= +
Thanks Jen and one more question. I have a hyperlink eg:
Now the problem is i am trying to navigate when a user click on Hyperlink
available in Mechnical (tab) to Chemical (tab)
Below is the snippet code, please let me know any issue with the code below
MechanicalActivity.java
public
See
https://groups.google.com/forum/?starthl=en#!starred/google-web-toolkit/PzlyZ3Gjazg
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
Andrew,
But this doesnt solve the problem, can anyone provide some insight into
this.
Rgds
Rohan.
On Mon, Oct 17, 2011 at 11:41 PM, Andrea Boscolo andrew...@gmail.comwrote:
See
https://groups.google.com/forum/?starthl=en#!starred/google-web-toolkit/PzlyZ3Gjazg
--
You received this
Just wanted to share my experience:
My primary experience has been in .NET (C#/xaml/etc.). My partner has
background in C++, java, and a bunch of related technologies. This
is our first project together, as a company. The client wanted
something that didn't cost much to host but was robust, so
ImageCells by themselves don't care about click events. What I did was
made a decorator that wraps any cell to handle click events and
delegates them to the FieldUpdater:
public class ClickableCellDecoratorC implements CellC {
private static final String CLICK_EVENT = click;
private
Is anyone using AutoBean in a JRE environment successfully? When trying a
very simple test I get a NPE when I try to use
AutoBeanCodex.encode(myAutoBean)
My Bean interfaces look like this:
public static interface Point {
Long getX();
Long getY();
void setX(Long x);
void setY(Long y);
}
public
Your question is not exactly clear, but I'm pretty sure you shouldn't need
to add click handlers to a Hyperlink object, or create entries in the
History object yourself. Just construct it with the Token you want to go
to:
Hyperlink h = new Hyperlink(Navigate to Chemical, thePlaceToken);
And you
Hi everybody!
I like the power of the GWT MVP model. But it is quite a challenge to
wrap your head around the complex class hierarchy orbiting the core
concepts of activities, views and places. After falling through some
unexpected trap doors (e.g. ResettableEventBus), I decided to create a
class
ActivityManager uses (1..1) AcceptsOneWidget (interface). And
AcceptsOneWidget should be implemented by MyDisplayAreaWidget (which is in
most cases a SimplePanel or SimpleLayoutPanel). Then MyContainerWidget
embeds 1..n AcceptsOneWidget / MyDisplayAreaWidget.
So MyContainerWidget is the root
Hi Thomas,
thank you for your reply.
I had a detailed look at this extension (which seems first available
with GWT 2.4.0). Unfortunately one is not able to replace the default
scrollbar layout. I also tried to implement my own extension based on
CustomScrollBar, but unfortunately many of the
Hello, I'd like to extend GWT protocol in order be able the RPC
services to be reused by currently existing applications while
rewritting the front end applications.
Is this possible?
will this still keep the GAE server support for the GWT application?
(I would like to be using the google
hi..
been trying every combination i can think of to debug on tomcat.
i have a webapp (wtp web app with google sdk) which depends on several java
projects (some are jpa, some are other java projects with gwt) . problem is
i keep getting various ClassNotFoundException or No Persistence Provider
My project configuration consists of GWT + Spring + Maven ( not using
dispatcher servlet for server calls). Am using a spring web service
using AxiomSoapMessageFactory, Marshaller and Unmarshaller using
JAXB.The project works fine with GWT 2.1.0 and gwt-maven-plugin
2.1.0-1 version. But when i
I have a GWT Canvas which I would like to size to the allocated width/
height of it's container Widget. In my case I have a LayoutContainer
whose size is 30% width so it varies depending on the window size.
I can use onResize() to detect when the size has changed but how do I
size the canvas
I have noticed that when i am running Async RPC and call take very long
time, all entire page is frozen and browser prompt displayed to stop
execution script.
I read that in GWT for that is IncrementalCommand. So question is how to
make non-blocking RPC request, maybe using IncrementalCommand?
But when you click on the HyperLink it should fire 'ValueChangeEvent', if so
how do we navigate
And the basic parsing of token and findout the place based by token, since
entire parsing of the token will be done in Base Place class.
Please let me know with an example .
On Tue, Oct 18, 2011
the widgit VirticalPanel is made by table tag,and in a table,the tbody
box is smaller than the table box.
so,in the VirticalPanel,the inner widgits added in it will can not
align with VirticalPanel in the left.
how solve this problem?
--
You received this message because you are subscribed to
I'm trying to understand RequestFactory but having quite a difficult
time. First, one note: I'm using ORMLite for persistence, I found it
easier and simpler to learn than Hibernate so I'm hoping I can
continue to use it. Those are the @Database annotations in example
below. I've boiled down my
Any clues?
--
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to
google-web-toolkit+unsubscr...@googlegroups.com.
For more
Oops! I think I replied to the individuals last time ;)
Here's a summary:
@DoNotEmbed is only for DataResource and not for any
ResourcePrototype. Looked at the code of ImageResourceGenerator which
says forceInline = false always, without caring about DoNotEmbed.
IMHO, a simple change to this
The Hyperlink object does not fire ValueChangeEvents, the History object
does, but you probably don't need to listen for them, as your
PlaceHistoryHandler is already listening for them.
http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/client/ui/Hyperlink.html
Thanks Kelly that sounds good.
Thanks
Rohan
On Tue, Oct 18, 2011 at 9:42 AM, Aidan O'Kelly aida...@gmail.com wrote:
The Hyperlink object does not fire ValueChangeEvents, the History object
does, but you probably don't need to listen for them, as your
PlaceHistoryHandler is already listening
Activities and Places are in first place to make navigation simple.
*To Navigate to other url on clicking a hyperlink. *
Hyperlink link = new Hyperlink(Navigate to Chemical, thePlaceToken);
Instead,
Create a gwtanchor, and in the click handler, call
placeController.goTo(new
Sowdri,
thanks for info. Below is the way i have tried but nothing help to solve
this issue. Anything else i need to change i tired different ways.
ChemicalPlace extends Abstract Place and also the required parsing of URL
present in AbstractPlace.
Now the problem when i clik on the link it does
Reviewers: rchandia,
Description:
Change default of UiBinder.useLazyWidgetBuilders to true, in
preparation for deleting the old code.
Also fixes unreported bad code gen for things like a href={uh.oh}
when
safehtml is off. Fix is a bit squirrelly, but the intent is to delete
the code
in question
Oops, I think my fix actually broke a test, still digging. I'll ping
when this is really ready.
http://gwt-code-reviews.appspot.com/1574803/
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
On 2011/10/13 18:53:54, Nick Chalko wrote:
ping
http://gwt-code-reviews.appspot.com/1567804/
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
Reviewers: rjrjr,
Description:
Keep track of TCK coverage.
Run the non TCK test to ensure there is always at least one test.
[JSR 303 TCK Result] WARNING only 191 of 258 (74.03%) TCK Tests Covered.
[JSR 303 TCK Result] 151 of 257 (58.75%) Pass with 32 Failures and 7
Errors.
Please review this
Missed this, looking now.
On Mon, Oct 17, 2011 at 10:26 AM, ncha...@google.com wrote:
On 2011/10/13 18:53:54, Nick Chalko wrote:
ping
http://gwt-code-reviews.**appspot.com/1567804/http://gwt-code-reviews.appspot.com/1567804/
--
LGTM
http://gwt-code-reviews.appspot.com/1567804/diff/1/user/test/org/hibernate/jsr303/tck/tests/bootstrap/customprovider/TckTest.gwt.xml
File
user/test/org/hibernate/jsr303/tck/tests/bootstrap/customprovider/TckTest.gwt.xml
(right):
On 2011/10/17 18:35:43, Nick Chalko wrote:
Redundant with http://gwt-code-reviews.appspot.com/1567804/?
http://gwt-code-reviews.appspot.com/1575803/
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
No broken test, ready for review.
http://gwt-code-reviews.appspot.com/1574803/
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
LGTM
http://gwt-code-reviews.appspot.com/1574803/
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
On 2011/10/17 20:56:59, rjrjr wrote:
On 2011/10/17 18:35:43, Nick Chalko wrote:
Redundant with http://gwt-code-reviews.appspot.com/1567804/?
Not completely. the Keep track of TCK coverage. is new.
http://gwt-code-reviews.appspot.com/1575803/
--
http://gwt-code-reviews.appspot.com/1567804/diff/1/user/test/org/hibernate/jsr303/tck/tests/bootstrap/customprovider/TckTestValidatorFactory.java
File
user/test/org/hibernate/jsr303/tck/tests/bootstrap/customprovider/TckTestValidatorFactory.java
(right):
http://gwt-code-reviews.appspot.com/1575803/
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
LGTM
On Oct 17, 2011 4:26 PM, ncha...@google.com wrote:
http://gwt-code-reviews.**appspot.com/1567804/diff/1/**
user/test/org/hibernate/**jsr303/tck/tests/bootstrap/**customprovider/**
LGTM
http://gwt-code-reviews.appspot.com/1575803/diff/5001/user/style/html/junit-noframes.xsl
File user/style/html/junit-noframes.xsl (right):
http://gwt-code-reviews.appspot.com/1575803/diff/5001/user/style/html/junit-noframes.xsl#newcode287
user/style/html/junit-noframes.xsl:287: xsl:if
76 matches
Mail list logo