Thanks - that did the trick!
--
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/-/CK9UxsdOnPcJ.
To post to this group, send email to google-web-tool
All,
I've seen a few examples where there is talk of substituting a class based
on which browser is involved.
So, I want to have one version of a class for Firefox, and one for
everything else.
I've tried the following, taken from examples I've found online:
Jens,
Thanks for your reply - my issue was related to what you suggested - it
turns out that my Common project has no server classes, but a number of
classes in the shared package, which are extended by classes in the main
project's shared package, which those in turn are used by the main
proj
All,
I'm not sure how exactly this is supposed to be accomplished, but...
I have a GWT project that has no Entry Point. It is basically a number of
classes, etc., that will be shared among different projects. A "common"
library, if you will.
And, I have a project that I'm actually working on
Thanks, that helped a lot, works as expected now!
- Joe
On Jun 6, 12:46 pm, Thomas Broyer wrote:
> On Wednesday, June 6, 2012 6:13:04 PM UTC+2, King_V wrote:
>
> > Thomas,
>
> > Thanks. I think I might be missing something very obvious, because
> > I'm looking
Thomas,
Thanks. I think I might be missing something very obvious, because
I'm looking at the APIs, and I have no idea how to do what you're
suggesting.
Code-wise, how do I get the document within the frame, so that I can
add the new Elements to it?
- Joe
On Jun 5, 6:24 pm, Thomas Broyer wrot
All,
I've got this very short program, and I don't understand why it's not
working. I am creating a Frame object, trying to append element
children to it, and while the Frame instance seems to be aware of its
children, they do not get displayed.
Here is what I have. What am I doing wrong? When
Ok, I found some old messages (several years old) that says this
cannot be done.
However, when I look at:
https://developers.google.com/web-toolkit/doc/latest/DevGuideTesting#DevGuideJUnitSetUp
this seems to imply that you can actually test GUI items on a browser
with such tests. I might well be
Can this be done?
I am not using any extensions or other libraries, just GWT 2.4 itself.
I have a screen that is used for scheduling, and thus shows several
DatePickers next to each other, each showing a different month, and
with the month-forward and month-back buttons disabled.
Some of the ind
All,
Ok, I've read the article at
http://code.google.com/p/google-web-toolkit/wiki/CellBackedWIdgets
in dealing with the Cell-backed Widgets, and I can't say I'm any
better off than I was before reading it.
First, the following line:
getCell().setTabIndex(tabIndex);
doesn't work at all - it req
What you've suggested appears to ALMOST work.
I have two styles in my CSS one called "activeWindow" and the
other called "nonWindowZIndex"
The former has a z-index of 1, the latter of 2.
The trick I found was that I could not add the nonWindowZIndex style
to the MenuBar objects. It has to a
All,
Ok, so I'm still, after a bit of hiatus, trying to create a Window-
type of class that extends DialogBox. I'm going to call it MyWindow
for now.
I'm MOST of the way there. I've been able to create a Caption class
that will have minimize, maximize, and close buttons.
I've been able to get
Button will still work, but a TextBox will never be
able to get focus.
In IE8, a Button will require a double-click to work, but a TextBox
can still be used correctly.
I don't know what other side effects will happen with other Widgets.
Back to the drawing board
On Nov 11, 4:17 pm, King_V
All,
Ok, I'm sure the question can be applied more generically - however,
I figured I'd ask it for my particular problem.
I have a DatePicker, and a class that implements
ValueChangeHandler
What I want to do is figure out the mouse's absolute x and y position
on the browser window when this ha
Well, this is embarrassing, but maybe the answer will help someone
else who's run into the same problem.
Override the onBrowserEvent() method in my own subclass of DialogBox
as follows:
@Override
public void onBrowserEvent(Event event) {
switch(event.getTypeInt()) {
case Event.ONMOU
All,
I'm working on my ever-evolving bit of code, and have run across
something of an issue. My apologies for the lengthy prelude before I
get to the actual question.
Firstly, I have a "full-browser-screen" display - a DockLayoutPanel.
Within it are a:
MenuBar - NORTH
FlowPanel - SOUTH
N
Danny, Thomas,
Thanks for the suggestions.
I actually came up with a workaround - though Thomas, I think I like
the HeaderPanel idea, and may adapt it to my project instead.
What I'm doing currently is:
1) Attach a DockLayoutPanel to the RootPanel
2) Attach a DockPanel to the CENTER of the DockL
Uh, let me clarify my structure - what I've described above is more or
less accurate, but the DockPanel is specifically the CENTER item of
the DockLayoutPanel.
Also, I should mention that the individual items will wrap in the menu
bar (ie: an item that is called "File Menu" rather than just "File"
All,
Ok, playing around with GWT in general, MenuBar right now in
particular.
I have a situation where a demo app screen I have is more or less
looking how I want it to.
But, I have an issue with MenuBar, and didn't know if there was a
simple way around it. If the user shrinks the screen so tha
All,
Ok, I realize DockLayoutPanel is a full-screen sort of Panel, that
REQUIRES an explicit size for every widget attached.
So, given that, I'm wondering if what I want to do is even possible.
I'm trying to go for an application-like look. Essentially, the
screen will be in three sections:
1)
Just posting here to bounce this one up - anyone have any idea if what
I'm asking is possible? Or am I asking for something that can't be
done?
On Oct 21, 10:24 am, King_V wrote:
> All,
>
> Ok, I've used DatePicker, NOT with DateBox, to show a calendar and
> a
Aw, crap - Aiden even specifically said that, and I missed it.
Thanks for pointing it out. Now, don't mind me as I smack my palm
against my forehead. Twice.
- Joe
On Nov 4, 4:35 pm, Danny Kirchmeier wrote:
> Does your Style1.css now say this:
>
> @external .gwt-Button;
> .gwt-Button{
> backgr
Aidan,
Thanks. I'm still really just learning this stuff, so I'll admit to
some cluelessness.
Your advice took care of the Exception being thrown.
However, I've noticed that the Button is ignoring the style. Am I
using this technique incorrectly? I also tried adding "! important"
to the style
All,
I'm getting an exception trying to use CssResources and ClientBundle.
Admittedly, I'm completely new to it and don't really quite know what
I'm doing.
So, can someone explain to me why this doesn't work, and what exactly
it is that I'm doing wrong?
In any case, here's my code. Both classes
All,
Ok, I've used DatePicker, NOT with DateBox, to show a calendar and
allow selection. No problem.
In order to get my own styles for some of the components, my own
project's .css has a few of the DatePicker css components in it.
First question: What is .gwt-DatePicker used for? What parts o
25 matches
Mail list logo