Hi,
I achieved this. To summarise:- you must get access to the table's inner scroll
panel for the central table. Once you have this you should cache its position
everytime it changes. Now when new data is pushed you reset its position to
cached position.
-
--
You received this message
I'd try placing each widget in its own container and showing hiding the
containers rather than the tables. If you use a layoutpanel as a container for
each container then you can call LayoutPanel.setWidgetVisible().
--
You received this message because you are subscribed to the Google Groups
Try onResize or forceLayout. The problem might be that u are using a flow type
widget within the layout panel. In that case try setting width height to 100%.
Also, if you are using a LayoutPanel for your child widget then you could
inherit from ResizeComposite. That will give u the required
The module approach looks interesting. An alternative is to override the method
on the rpc servlet which handles this part. Then trap the error and return a
string of your choice.
The method will be the one which handles the deserialisation in the
RemoteServiceServlet. Possibly
And another thing to add re DataGrid. One gotcha is you must be careful about
setting the height. The best solution is to use LayoutPanels. Give the DataGrid
an explicit height. Place the DataGrid in a LayoutPanel with a width and height
of 100%. Alternatively ensure you have an unbroken chain
Hi,
Your implementation looks fairly old school. I think what you are looking for
is a DataGrid. Please refer to the gwt showcase. It is a Cell widget. There
will be a learning curve and the code will need a rewrite. I expect the
finished result will be a good improvement over a FlexTable.
Is it possible for you to use LayoutPanels? If you can the. You get animation
for free. You can easily do smooth scrolling using this.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails
Is it possible for you to use LayoutPanels? If you can then you get animation
for free. You can easily do smooth scrolling using this.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails
On stable Chrome versions I couldn't inspect the variable values. How do you do
it? When I attempt to evaluate a variable it just gives an error. Unfortunately
Canary is the only way I had of viewing the values at runtime which is a good
enough reason to use it. I don't know how to use
Hi, I am being frustrated because I cannot get sourcemaps to show up in Chrome
in 2.7.0.
I have tried SDBG but it didn't work. I had an error saying it couldn't find
chrome. Then once working it didn't stop at breakpoints. Firefox - forget it -
it gets the source maps but it hangs often and
Hi, I am being frustrated because I cannot get sourcemaps to show up in Chrome
in 2.7.0.
I have tried SDBG but it didn't work. I had an error saying it couldn't find
chrome. Then once working it didn't stop at breakpoints. Firefox - forget it -
it gets the source maps but it hangs often and
Please try a DataGrid. Make sure you put it inside a layoutpanel. That
layoutpanel should itself be placed in a layoutpanel. And so on until the
rootlayoutpanel is reached. Also use a ResizeComposite and not Composite. If
you do this it will appear without you having to give it a size. It will
I am using CXF JAXB generated classes in a GWT application. I would like
equals() and hashCode() to be added to the generated classes. I have
successfully used the JAXB2 Basics Plugins
(http://confluence.highsource.org/display/J2B/JAXB2+Basics+Plugins) and the
JAXB2 Basics Runtime with CXF in
Yes. I noticed it needs double the memory. Also the -port parameter does not
seem to work in Eclipse. Finally, and most importantly, I could not get the
source maps to work. They don't appear in chrome dev tools. I had it all
working in 2.6.1.
--
You received this message because you are
I think you need both a Dev mode and a Super dev mode environment for effective
debugging. I use Chrome for Superdev and have a VM with IE 9 for Dev mode.
Sometimes you get exceptions without a stack trace in the browser console under
Superdev. You then need Eclipse and Dev mode to discover the
Hi, it is better to use CSS to format the text in HTML. I expect it would work
if you did that. Try using span and CSS styles for text you want to format.
E.g., span style=font-weight: bold;hi/span
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit
Hi,
You might need to set the response type in servlet to txt/html. E.g.
content-type
= 'text/html'
jaga
On Tuesday, 18 February 2014 00:22:10 UTC, Bruce Grant wrote:
I am interested in implementing the following using GWT...
1. Create client-specific form variants in HTML
normally.
3. Add a flag to the model data structure you are using to tell the column
which selection cell to render.
HTH
Jaga.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from
While perhaps not directly related to your issue I feel it might be worth
pointing out some issues regarding layout panels.
Please make sure you read up on layout panels. See the gwt web site for an
article. Also note that the DataGrid is a fussy widget which may not display
unless it is both
Hi, admittedly I haven't studied the article but still wanted to comment on
something I noticed. The use of tables for screen layout is not best practise.
It is far better to use divs (FlowPanel) and CSS.
Jaga
--
You received this message because you are subscribed to the Google Groups
enable keyboard selection the
cells and rows have an annoying 'third' state. This makes styling difficult
when attempting clearly illustrate a row's selection state.
Jaga
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To unsubscribe from
Perhaps you can override the DatePickerCell's FieldUpdater() method?
I realised I hadn't been crystal clear in my answer to 2). Of course once the
user has picked a date the cell's value has changed. You may have too store
the old value and manually update the DateCellpPicker's value.
--
CellTable.redraw() or refresh your data provider.
Jaga
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email
to google-web-toolkit+unsubscr...@googlegroups.com.
To post
How about extending the popup interface SuggestDisplay? You can then handle the
callbacks which get fired when the popup is hidden.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails
.
jaga
On Sunday, 20 October 2013 19:04:32 UTC+1, NK wrote:
Thanks Jaga for your responses.
Yes, I tried as what you said. But I still see same result.
On Sun, Oct 20, 2013 at 7:51 PM, jaga j.ann...@gmail.com javascript:wrote:
So until 2.6 you are going to have work around it.
Have you
assuming that you are hosting your pages for 'superdev' using the standard
'devmode'.
HTH
Jaga
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email
to google-web-toolkit
is that only some are being
recompiled. Eclipse will automatically build the project when there has been a
change. It will update the jetty war files as part of that process.
Jaga
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To unsubscribe
Also try Ctrl F5 in your browser!
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group,
Also try Ctrl F5 in your browser!
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group,
Hi,
There is an option in eclipse for automatic building. If you turn this off you
may solve your problem. The problem is that the files used by the superdev mode
are becoming out of date. This happens every time you are changing code in
eclipse. Changing the code will trigger the build and
Best thing to do is to post your pom.xml here. We can then see what you are
doing.
On Friday, 20 September 2013 20:01:23 UTC+1, Xybrek wrote:
Running $`mvn gwt:run-codeserver` throws this error:
[INFO] Webapp assembled in [1255 msecs]
[INFO]
[INFO] ---
The main ingredient will be a DateTimeFormat.
http://www.gwtproject.org/javadoc/latest/com/google/gwt/i18n/client/DateTimeFormat.html
Initialise your datebox with a correctly configured DateTimeFormat.
Create a uibinder class using gwt eclipse plugin. Add a date box to it. Use
provided=true
Hi,
I think a good way to achieve this is to compare the model objects. I will
explain the approach as follows:
1) on starting the screen make a copy of the object to be edited - I
presume this is downloaded via an RPC or similar.
2) edit the object. Every time a field changes update the
Firstly make sure you use nested layout panels. This should be from the
root all the way to the tablayoutpanel. Then if the problem remains the way
I fixed this is to programmatically switch between the tabs. You should do
this after you have done everything else in code for setting up the
Hi, I managed this. I followed the example given on the latest GWT showcase for
the custom data grid
http://gwt.googleusercontent.com/samples/Showcase/Showcase.html#!CwCellTable
Key is new TableRowBuilder. You can inject rows into the table. Use a Click
event on a cell to trigger the
Hi,
According to the literature adding the GWT Debug module to your project and
add onEnsureDebugID to your widgets adds overhead[1]. Can someone be more
specific on what this overhead is? Also why does GWT completely remove ids
anyway? Does it have anything to do with experience of
Hi,
Had a quick look at this:1) they set dataGrid.setWidth(100%) - but
this just scales it to the width of the screen. 2) they do set fixed
column widths - have a look at initTableColumns()
They are some useful calls available. Have a look at the
Okay - for the first solution I did as follows:
1) for each row of data
1.1) for each field
1.1.1) count the number of characters
1.1.2) keep a running maximum
2) finally you have an array of maximum sizes where each index
corresponds to a column, e.g. ListInteger maxes;
3) for each cell column
I have the same problem.
For me there are two solutions:
1) calculate the maximum field width at runtime by inspecting the row
data. Then set the field header size.
2) leave as stock and listen for a mouse click or similar on each
field header and then resize it.
On Oct 10, 2:49 pm, misko237
I noticed that if the temp directory wasn't cleared Eclipse took
longer and longer to start up. Up to 10 minutes. I wrote a simple
script which runs every boot to clear out the offending files. I am
not sure if this affects the compilation performance or not.
On Apr 18, 9:24 pm, Jeff Larsen
One problem with GWT is it's lack of styling. The default style is un-
styled and doesn't work for our application. SmartGWT on the other-
hand provides an attractive uniform styling. The blocker for me is
that now you are using another 3rd party library: you have to learn
its ways, integrate with
sure your model implements Comparable. The
compareTo, equals, and hashCode have to be well implemented for the
selection model to work ok.
On Aug 26, 9:32 am, jaga j.annes...@gmail.com wrote:
I suppose this is relevant for a CellTable too?
The code which does the selection is in model object
I got the multiple selection to work as I and Jocke want by adding a
ButtonCell adjacent to the CheckboxCell. The code is in Bike Shed.
The
ButtonCell is also bound to the Selection Model. This takes care of
what seem to be two bugs:
1) the CheckboxCell is not firing a setFieldUpdater event
2) the
I suppose this is relevant for a CellTable too?
The code which does the selection is in model object. The
object'implements Comparable and the equals, compareTo and hashCode.
Is it possible to pass in a flag which says whether the row is
selected, then return false for the equals?
On Aug 20,
any neat ways of doing this in GWT or knows
any existing code they could point me to. If it works like the
PagingScrollTable with it's RPC request callbacks and Cache that would
be even better. Best regards, Jaga
--
You received this message because you are subscribed to the Google Groups
Google
Hi,
I solved this by setting the XML Doc Type to Standards mode. GWT sets
this to quirks mode by default. A quick fix but may have far reaching
consequences to how your app's look and feel. Look in your
application's HTML file and set this at the top.
Cheers,
Jaga
On Mar 4, 8:57 pm, Sorinel C
I use Axis 2 to communicate with web services on the server. The
ServiceImpl and RPC gives the results to and from the GWT client.
James
On Nov 9, 4:32 pm, doopa niallhas...@googlemail.com wrote:
Hi,
I use tomcat to connect to a variety of webservices. Essentially it
works as a client to
47 matches
Mail list logo