take a look at gwtquery and the dnd plugin for it.
http://code.google.com/p/gwtquery/
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
yup. Exactly!
--
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/-/YcS5buik9kkJ.
To post to this group, send email to
yes, but it is only in trunk.
--
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/-/iS7iEE0IWfkJ.
To post to this group, send email to
Escaping css3 is a PITA. I'm 100% on board.
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
DataGrid just takes a List of results and is in no way coupled to
RequestFactory. Return a list of results from an rpc call and send them to
the grid.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web
What is stopping you from upgrading to 2.2.0+? That is the supported
version of gwt-designer.
I don't think anything has been removed.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
Ray was in the process of reviewing a patch of mine before he left. Who
should take that over, or should I continue to try to work with Ray on that?
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
Why do you need to get widgets as elements?
Why not just do
p.add(new HTMLPanel(Hello a href=\#world\World/a);
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
I got the same as Patrick. CellTable is filled with styling.
--
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/-/nuW0uTpJ0NsJ.
To post to this
This is probably a better discussion for the users group, but I'll answer it
anyway. I'm using HighCharts for some of my charting needs, you'll just need
to send the data down to the charting software and either poll for new data,
or implement server push/cometd and have it update the graph
This has the look of smartgwt. It is generally a bad idea to mix gwt widgets
with smartgwt widgets.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
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
DataGrid needs to live inside a LayoutPanel
--
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/-/_xePEB-6AJ8J.
To post to this group, send email to
Upgrade to trunk. There is a custom header builder in there.
--
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/-/hDJSimfogmgJ.
To post to this
An example
http://showcase3.jlabanca-testing.appspot.com/#!CwCustomDataGrid
--
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/-/mU_6gWhP38wJ.
To
yea, you extend the CellTable.BasicResources class, override
@Override
@Source(BasicStyle.DEFAULT_CSS)
BasicStyle cellTableStyle();
and point to your own css file.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view
I'd recommend trying to provide your own patches. GWT is a community effort
and as such it needs more than just the support of google. You'll almost
certianly learn something in the process aswell, so it really is win/win.
--
You received this message because you are subscribed to the Google
Nevermind, I found the answer in the package-info.java file.
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
are you escaping the - ?
literal(\-webkit-gradient( linear, left bottom, left top, color-stop(0.23,
rgb(220,106,0)), color-stop(0.62, rgb(219,135,32)) )); works for me
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this
I'd go with 3a. Your usecase may not be everyone else's usecase (although it
makes sense).
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
Switch to datagrid, that allows for horizontal scrolling.
I've got a local version of drag resizing for columns working locally for
the most part. I was waiting to pull a patch in until I figured out how to
get the sizes of all the columns first. The only way I could get drag
resizing of
I got my own (slightly buggy version) done in a weekend.
If you're not interested in waiting for me to submit either a patch or my
own grid component project, you can look at DialogBox for some tips on how
to hand the dragging events.
The components to build this are all there, they just
Do these classes only exist to test RequestFactory in jre mode or are they
used for something else as well?
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
There also is a library which makes some css3 work on old IE easier,
http://css3pie.com
and I made a wrapper for that in gwt
http://gwt-css3-pie.googlecode.com
so you don't have to implement the special pie selectors yourself, the
library automatically ads them to the IE versions.
--
You
All the issues marked patcheswelcome are reasonably hidden from view because
they do not show up as open anymore.
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
Is there a way to add patcheswelcome to the dropdown of the issue tracker? I
think people will not find these issues and know to work on them.
If I went to the issue tracker hoping to work on something where I would be
able to help out the gwt community, I would start looking at open issues. I
If ie8 and 9 didn't need a bunch of heavy lifting to get all of the
advantages of css3 styles, then you would probably be right, but
unfortunatetly, ie10 is going to be when ie finally starts meeting the
standards.
The point is semi-moot. I've started a project
To be blunt, Trying to get styling to work right in IE is somewhat of a
nightmare. Especially with the lack of css3 support.
There is a library out there that fixes some of the major headaches css3pie.
http://css3pie.com/
border-radius,
you could use the unobfuscated version of the project to create the
javascript, then post javascript compile you could make sure sources are not
included and your obfuscation scheme is implemented.
You will probably want to implement a -noserver implementation to really get
this going.
--
I've solved a lot of the boilerplate issues by writing an annotation
processor to create my Proxies. I'd open source it, but I did it on my
companies dime and they arne't interested in opensourcing projects. It is
DEFINITELY worth the effort to do it though.
--
You received this message
A good place to get started would be
http://code.google.com/p/acris/wiki/AnnotationProcessing_DebuggingEclipse
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
Hah, I wasn't really watching the group at all at that time, so that
explains it!
--
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/-/Me9idEhuC3MJ.
you could use gin, create a singleton and inject it wherever you need it.
--
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/-/LTDB03bg8fAJ.
To post
Take a look at IconCellDecorator or ImageCell
http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/cell/client/IconCellDecorator.html
http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/cell/client/ImageCell.html
--
You received this message because
I have use cases where I need to be able to clone proxies and use them in
different request contexts.
Here is the code I've done to accomplish that
public static T extends BaseProxy T cloneProxyToNewContext(ClassT
clazz, T proxy,
RequestContext context) {
T newProxy
The setFrozen(true) is really important if the proxy you're copying is being
edited by a different request context. Without setting that flag, you'll get
errors.
the context.edit changes the state from frozen to not frozen.
--
You received this message because you are subscribed to the
that version looks older than the latest release. the version is from July
22nd.
--
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/-/l8Jp1V_UMrMJ.
You will always need to attach your widgets to RootPanel or
RootLayoutPanel.
--
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/-/9CfFal_RLJAJ.
To
oh wow, that is a glaring over site. You are the first person I've seen run
into this problem though
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
You probably want to ask this on SmartGwt's forums.
--
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/-/PJwvqrBxkPcJ.
To post to this group, send
Datagrid, the column headers and footers are independent of the data.
Meaning you can scroll the data and the headers stay in place.
CellTable this is not the case.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion
So it does!
Turns out if you import a maven project it just works the way you describe,
if you import the project as an eclipse project with a maven nature, it just
gives you errors in your pom and you have to decide how to deal with them.
--
For historical purposes, I figured out a working solution ( at least it
works for me) and posted it in the gwt-maven-plugin user group.
https://groups.google.com/forum/#!topic/codehaus-mojo-gwt-maven-plugin-users/Lha85tfYiz4
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
Have you looked at gwtQuery? That could probably solve your problems. It is
a gwt port of JQuery
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
Short answer is no.
Long answer is yes, but it will take you far more time to implement than you
want.
If you wanted to use similar implementations, you could change your button
implementation to work with ButtonBase from the com.google.gwt.*widget*.client
package.
--
You received this
if contextmenu isn't sunk by all browsers ( I haven't tested EVERYWHERE, but
it does where chrome, ie8, 9, firefox) you can always grab the native event,
check for the click event then nativeEvent.getButton() ==
NativeEvent.BUTTON_RIGHT
--
You received this message because you are subscribed
You're not required to have a java 1.6 server to run with gwt compiled 1.5
code. You'll just have to setup a no-server situation. That way your 1.5
server code can live in a 1.5 environment and you compile your js with java
1.6
--
You received this message because you are subscribed to the
@David,
my post here
https://groups.google.com/forum/#!topic/google-web-toolkit-contributors/-4gaablGx8I
is how I got rfvalidator-apt working with m2e in indigo.
If you have questions, let me know.
--
You received this message because you are subscribed to the Google Groups
Google Web
I know I would like it if the RequestFactory stuff was pushed into maven
central.
Don't make gwt-servlet into a real dependency, add it to the list of
dependencies in your plugin.
plugin
groupIdorg.bsc.maven/groupId
artifactIdmaven-processor-plugin/artifactId
eclipse run as webapp.
I just spent a few hours debugging problems with this around the office and
I know where the problem is now. I just haven't implemented the solution.
When you do both of these things (note I cut useless bits for clarity)
resource
Yea, 1.6 is required now. Good riddance to 1.5!
--
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/-/CUxC4EEtzlsJ.
To post to this group, send email
I'm using it. It seems to be working fine. What is your issue?
--
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/-/4BnMg0znH5cJ.
To post to this
Those changes to AbstractCellTable were just committed within the last
couple of weeks and has been going under some pretty heavy changes. They
usually like to let things like that bake for a while before actually
releasing them.
That being said, there is no reason to not use a version of
Are you interested in an ant build target that pushes gwt builds into your
local repo? If so, I've got that setup on my machine locally, and with some
minor tweeks to it, I could use what you guys have for your push script.
I've found it useful for myself.
On Thu, Sep 8, 2011 at 12:13 PM, David
you'll just have to add it with
inside column (2.4rc1)
There is a method
public void setCellStyleNames(String styleNames) {
this.cellStyleNames = styleNames;
}
where it links to a style where you set
white-space:nowrap;
--
You received this message because you are subscribed to
the label needs to be attached before you're able to get the size.
--
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/-/p58V32BHirsJ.
To post to this
In the meantime you could create a map with the Column and with the database
name.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
Don't send List over rpc. The serializer has to take every impl of List and
create a serialization policy for it. Try it with ArrayList and see what you
get.
Also, K has to be defined as something, preferably something as strongly
typed as possible. And all instances of T and K must also be
How about a new dist-maven ant target that would create a maven bundle
(folder with the JARs and POMs laid out just like in a Maven repository)?
You would then run ant -Dgwt.version=2.4.0 dist dist-maven [1] instead of
just ant dist to build a release, and the generated maven bundle would be
You could use DockPanel instead, then you don't have to worry about
explicitly sizing the north panel.
Then in your center panel, add a ResizableLayoutPanel and that should allow
for the resize events to hit it.
--
You received this message because you are subscribed to the Google Groups
The general practice I've seen the GWT guys do for that is to do an initial
patch where they autoformat, then 2nd patch with the actual changes.
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
it helps them prioritze which bugs people think are important.
--
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/-/uZ4xEdVC3l8J.
To post to this
I cancelled the review. I didn't realize this would cause fat slow apps.
Sorry about that.
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
If you pulled down trunk, you could use the client side
requestfactory-apt.jar. That does compile time validation on your objects,
so you'd probably be able to get the red squiggilies to tell when you're
doing something wrong.
--
You received this message because you are subscribed to the
I stick them in the view. They've always seemed like view objects to me.
--
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/-/_YYqN69dcS8J.
To post
I'm doing trunk builds as well and I've been pushing files manually into my
repo. It is a PITA. It would be awesome if there was an ant target that you
could call after the build that would push the artifacts into your local
maven repo, probably appending -SNAPSHOT to the version.
Would you
The behavior is from the CSS. It isn't a hack to remove it.
You just need to change it so you're not using the stock css anymore. If
you're using cellTable
you'd want to edit one or both of the following 2 css properties.
.cellTableSelectedRowCell {
border: selectionBorderWidth solid
you can always override the CSS and get change
.dataGridSelectedRowCell {
border: selectionBorderWidth solid #628cd5;
}
to
.dataGridSelectedRowCell {
}
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the
Try deleting your run target and have the GPE rebuild them for you.
--
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/-/lfeEflvap7kJ.
To post to
Poking in the code of DataGrid, it looks like you could get access to it
this way.
HeaderPanel panel = (HeaderPanel) dataGrid.getWidget();
CustomScrollPanel scrollPanel = (CustomScrollPanel)
panel.getContentWidget();
Admittedly, this isn't very clean, but it looks like it should work.
--
Oh cool, I never had need for CellList so I never really played with that
example.
Thanks!
KeyboardPaging seems like the wrong name if it can be used this way.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on
DockPanel mainPanel = new DockPanel();
DockPanel isn't a LayoutPanel. Try DockLayoutPanel.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
I think DataGrid needs to be displayed inside a LayoutPanel.
--
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/-/r8bsek1dmzMJ.
To post to this
How about you check out http://css3pie.com/
--
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/-/Q-9lObFEcKUJ.
To post to this group, send email to
I would recommend extending the LayoutPanel that is the closest fit to your
needs, then sink the appropriate events. You Can use FocusPanel to show you
how to sink the events you're interested in.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit
On the ones you are creating new, are you giving them an EventBus?
--
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/-/esHEBRYEkCgJ.
To post to this
Yea, any panel can implement ClickHandlers, just do a addDomHandler(handler,
ClickEvent.getType());
that sinks the event as well as adds the handler to the panel. I hadn't
looked at the source in a while, so I figured it was still the
sinkEvents(Event.CLICK | Event.FOCUS ) thing, but
GWT Classes
Style extends CSSRource{
/* List of methods */
}
GwtBundle extends ClientBundle{
@Source(someStyleSheet.css)
Style getStyle();
}
All you need to do now is extend GwtBundle and override the method that
creates the style and point it at your new StyleSheet.
MyBundle
I'm not sure that what you're trying to do will work. I suspect it won't
with one big reason being Columns don't implemenet the same onBrowserEvent
that Widgets do.
What you probably need to do is redesign your widget as a Cell. Then when
you need to use it as a widget, push that cell into
Does your class contain a Collection where you could be putting an object
that is not serializable?
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
Why do you need to wrap it? Can't you just add each HasData to your
DataProvider? AbstractDataProvider already supports having multiple HasData
objects.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web
One thing I've found that has been working really well for me is the
following (And this way you don't have to do a lot of extending of classes).
I had a need for all my Columns to have Rightclick ability, so I wrote a
ContextMenuCellDelegate, which takes a Cell and delegates all methods except
different browsers get different JS. I don't understand your question.
--
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/-/4bPEkeyP-8sJ.
To post to
http://code.google.com/webtoolkit/doc/latest/DevGuideClientBundle.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
https://groups.google.com/d/msg/google-web-toolkit/-/XYZuXi-Kz1AJ.
To post to
add
@external myToggleButton, myToggleButton-up; to your ui:binder file.
--
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/-/ciCCULGzShUJ.
To post
Are you using maven?
This looks like you have competing versions of GWT on your classpath and the
old one is winning :)
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
With my minimal spare time right now I'm working on getting a new library
based around these Grids, adding more functionality.
What I've ended up doing is Extending DataGrid and maintaining my own List
of my own Column implementation. I have a bunch more data that lives in
Column, its size,
sink the mouseover event on your cell and add a handler for mouseover and
open up a popup panel with the required functionality
if you just want the alt text, you could set the alt text on the content of
the cell.
--
You received this message because you are subscribed to the Google Groups
Does this mean something similar to RequestFactoryInterfaceValidator will
still need to be present? I ask because of
http://code.google.com/p/google-web-toolkit/issues/detail?id=6640 where
RequestFactoryInterfaceValidator seems to be getting in my way.
--
oops, I missed your first reply.
The server code won't accept the RequestFactory interface if it hasn't
been validated. A runtime error will occur, telling the user to run the
ValidationTool.
answers my question.
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
Si estas interesante en usando RequestFactory, es facil usar Spring con
RequestFactory en 2.4-RC.
Hacer un class se llama SpringServiceLocator
public class SpringServiceLocator implements ServiceLocator {
public Object getInstance(Class? arg0) {
ApplicationContext ctx =
I'm inclined to agree with Stephen here. No where else in GWT widgetry is
there a reference to database related things. I don't think this is a big
deal either, but it seems like a more application specific thing rather than
something that belongs inside GWT proper.
--
its called pyjamas
--
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/-/dLmcKl-n4QoJ.
To post to this group, send email to
I have a use case where I couldn't get Editors to work. (Foo that holds a
ListFoo. This would blow up with recursive errors. I spent a lot of time
trying to get this to work and failed completely. I gave up and just decided
to write the binding code myself)
Since I'm using request factory and
when you build the column, specify the number
MyTextColumn extends TextColumnString[]{
public MyTextColumn(int index){
this.index = index;
}
public String getValue(String[] strings){
return strings[index];
}
--
You received this message because you are subscribed to the Google Groups
Thanks David!
One thing people should be aware of is that if you just use check for
updates option in eclipse, you won't get the designer. You have to manually
go back into the download site and select those options. Otherwise I have to
say this is a very exciting release.
--
You received
You should probably add a comment to this post:
https://groups.google.com/forum/#!searchin/google-web-toolkit-contributors/symbolMap$20gzip/google-web-toolkit-contributors/oPUF0i46a3U/adA6GU1ymswJ
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit
if you go to the xml view you can always do the following g:Label
addStyleNames=foo bar baz/ etc
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
Did you map your servlet in your web.xml file?
--
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/-/95sWSOEQpS4J.
To post to this group, send email
oops, i missed the web.xml at the top of the post. Yea, I agree with
everyone else.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
1 - 100 of 360 matches
Mail list logo