Ok It finally worked. The original problem was I had keyboard policy bound
to selection which was preventing the calls to setSelected.
On Tuesday, July 24, 2018 at 3:30:24 AM UTC-5, Thomas Broyer wrote:
>
>
>
> On Monday, July 23, 2018 at 6:17:58 PM UTC+2, BM wrote:
>>
>&
lectAction.IGNORE;
}
else {
return DefaultSelectionEventManager.SelectAction.TOGGLE;
}
}
}
On Tuesday, July 24, 2018 at 3:30:24 AM UTC-5, Thomas Broyer wrote:
>
>
>
> On Monday, July 23, 2018 at 6:17:58 PM UTC+2, BM wrote:
>>
>&
I have GWT cell list with single selection model and checkbox which is one
of the selection column. So it does toggle between rows since it acquires
single section model.
The toggle should function AS-IS but what I want is if one clicks on an
already selected row, the selection should not unch
#x27;t have an event/callback/whatever on the "previously selected
> radio" when you select another one.
>
> On Thursday, June 28, 2018 at 6:07:25 PM UTC+2, BM wrote:
>>
>> Basically to implement custom RadioGroupCell for Cell Table. This is not
>> having a
other one.
>
> On Thursday, June 28, 2018 at 6:07:25 PM UTC+2, BM wrote:
>>
>> Basically to implement custom RadioGroupCell for Cell Table. This is not
>> having a group of Radio buttons within a single cell.
>>
>> So what I want is a cell table which has a cell
Basically to implement custom RadioGroupCell for Cell Table. This is not
having a group of Radio buttons within a single cell.
So what I want is a cell table which has a cell Column called "Active" and
defined with one Radio button in that cell. Unlike checkboxes or custom
cell of group of rad
Hey,
I know this is VERY old post. But do you know the code for RadioGroupCell?
So what I want is a cell table which has a cell Column called "Active" and
defined with one Radio button in that cell. Unlike checkboxes or custom
cell of group of radio buttons within one cell, my requirement is the
Any more suggestions? We using 2.8.2 using maven entry in pom.
On Tuesday, January 30, 2018 at 2:08:25 PM UTC-6, Jens wrote:
>
> If you have downloaded GWT 2.8.2 from Maven, then the "colt" library (and
> lots of other libs) is not bundled into gwt-dev.jar. If your project does
> not use Maven
Also note, We were using GWT 2.6.1 before and DEV mode on IJ was working
fine. We upgraded to GWT 2.8.2 and DEV mode is deprecated and trying to use
Super Dev mode and it's not working.
On Wednesday, January 31, 2018 at 1:22:05 PM UTC-6, BM wrote:
>
> Hi Jens,
> Thanks for the
Hi Jens,
Thanks for the reply. Yes we use maven and added following dependencies. We
also use gwtbootstrap3 and GWTP.
2.8.2
com.google.gwt
gwt-servlet
${gwtVersion}
runtime
When I start the debug mode I get following error in the IJ.
Exception in thread "main" java.lang.NoClassDefFoundError:
cern/colt/map/OpenIntObjectHashMap
at com.google.gwt.dev.util.collect.IntMultimap.(IntMultimap.java:28)
at
com.google.gwt.dev.StringAnalyzableTypeEnvironment.(StringAnalyzable
;
> However, if you are seeing the exact same error as before, then you might
> have more than one copy of guava on your classpath, double check the error
> or share it here so we can take a closer look to see what else might be
> awry.
>
> On Tuesday, January 2, 2018 at 11:4
wrote:
>
> You are using latest GWT, but ancient Guava. Upgrade your Guava version to
> something more recent, and this will go away.
>
> On Tuesday, January 2, 2018 at 11:22:25 AM UTC-6, BM wrote:
>>
>> We recently upgraded our project from GWT 2.6.1 to GWT 2.8.2.
>>
We recently upgraded our project from GWT 2.6.1 to GWT 2.8.2.
We running java version: 1.8.0_144
Guava-gwt: 15
Getting following errors during compilation.
ERROR] Errors in
'jar:file:/Users//.m2/repository/com/google/guava/guava-gwt/15.0/guava-gwt-15.0.jar!/com/google/common/collect/super/
I have a cell table and first column is row selection made of Checkboxes.
The column header is custom SelectAll (Checkbox). Currently that column
header only shows checkbox and the selectAll functionality works fine.
What I want is to have a label next to SelectAll checkbox to basically
refer
So I followed the code given in these threads :
https://groups.google.com/forum/#!searchin/google-web-toolkit/select$20all$20in$20celltable$20header/google-web-toolkit/IY8rfYOzRl0/guGZBgcZ9Z8J
http://pgt.de/2012/05/09/checkbox-in-cell-table-data-grid-header/
Apparently when I implemented this, it
I tried this solution, but in my case, the header checkbox seems
automatically selected and it selects all the records. I have a situation
where there could be pre-selected values for each row coming from DB. How
do I do that?
On Monday, August 27, 2012 at 2:58:15 PM UTC-5, Kara Marie Rawson wr
hat. So combining your RPC requests or making them in
> parallel will give better performance, but the number of RPC services that
> exist in your code doesn't matter.
>
>
> On Thursday, November 13, 2014 4:16:49 PM UTC-5, BM wrote:
>>
>> Is it okay to have an
Is it okay to have any number of RPC services in a GWT project or does that
affect performance?
Considering I use GWT Activities & Places, each RPC call is instantiated
using deferred binding GWT.create and I am not sure how expensive that
operation is?
I am trying to organized my project and
Thanks Tom for the quick reply.
Hmm. I don't know if it defeats the purpose of using cell table approach
because we have to redraw it again. Or is it not?
What about custom EditTextCell and intercept the OnBrowserEvent and check
for a boolean flag which would get set based on Edit button is cl
I have a cell table and here is my requirement.
I want to show all rows and columns in cell table in read-only mode when
the user first arrives.
If the user wants to update a cell, they click Edit button on top of the
Screen which would change all the cells inside the cell table to Edit mode.
I have a similar problem. Can you elaborate more?
On Monday, July 2, 2007 2:38:11 AM UTC-5, Neeraj Upreti wrote:
>
> Hi Orion,
>
> you are right . the default behavior is opening the menu downwards ..
> but we can customize it ..
>
> Construct a class that extends MenuBar class.
>
> Say MenuBarExt
So I have a menu bar on right hand side of the screen. This menu bar as
vertical opening and each menu items has further sub-menus (with vertical
opening).
The problem is when I mouse-over the menu-item to open the sub-menu, it
opens on right hand side of the screen putting a scroll bar in my
Hello,
I was wondering if there is any way I can find a way to prevent re-sizing
of TexArea by drag & drop in any browser type. I know there is CSS3 feature
with resize: none which takes care of that but that feature doesn't work in
IE.
Is there any event code I can use which can disable the dr
That thing worked like a charm! Thank you very much again!!
On Tuesday, August 6, 2013 1:21:02 PM UTC-5, Jens wrote:
>
> Just to get it right, your widget hierarchy is now something like
>
> FlowPanel
>- SimpleLayoutPanel (used by ActivityManager, fixed height)
> - VerticalPanel (assu
Thank you very much Jens. Wow that makes a lot of sense! Let me try that
one now! Really appreciate the fast response!! :-)
On Tuesday, August 6, 2013 1:21:02 PM UTC-5, Jens wrote:
>
> Just to get it right, your widget hierarchy is now something like
>
> FlowPanel
>- SimpleLayoutPanel (used b
Thank you very much Jens. I appreciate a response here. To answer your
question:
1) The activity's view does use DockLayoutPanel. This example was very
simplified. The footer panel does have a coarse layout. The activity's
view has a Vertical Panel. In that the top portion i.e header is basica
I have a scenario. Wherein I am adding custom widgets to a Vertical Panel.
I use Activites and Places btw.
The way I am doing that is I have a VerticalPanel VP1 wherein I create a
new SimpleLayoutPanel as a container and pass that SimpleLayoutPanel as a
widget to the subsequent child activity
ps://docs.jboss.org/author/display/ERRAI/Errai+UI
>
>
>
>
>
>
> On Mon, Apr 1, 2013 at 9:00 PM, BM >wrote:
>
>> Interesting. Thanks for that. Is it compatible with GWT 2.5?
>>
>> What my real goal is to have global way to handle consistently looking
>> GWT form
Subhro.
>
>
>
> On Mon, Apr 1, 2013 at 8:04 PM, BM >wrote:
>
>> We use GWT inside every other panels like VerticalPanel, HorizontalPanel,
>> DockLayoutPanel, etc.
>>
>> The thing I feel it is cumbersome in assigning alignment (both horizonta
We use GWT inside every other panels like VerticalPanel, HorizontalPanel,
DockLayoutPanel, etc.
The thing I feel it is cumbersome in assigning alignment (both horizontal
and vertical) for each elements in those panels.
One way is :
Hello Center
The problem is that if we have severa
I have following view using UIBinder.
How do I assign a minimum size and maximum size to this spit layout panel
that way I can drag only to a certain size left and right?
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" g
Thank you Thomas. As always you rock and helpful in this group! I always
learned a lot from you!
On Sunday, February 3, 2013 6:20:49 PM UTC-6, Thomas Broyer wrote:
>
>
>
> On Sunday, February 3, 2013 9:25:12 PM UTC+1, BM wrote:
>>
>> Not sure I am following "wraps
February 1, 2013 11:22:56 PM UTC+1, BM wrote:
>>
>> So I have a custom SingleSelectionModel which I am using to catch the
>> setSelection well before it is selected. Basically to Cancel selection of
>> second cell if the form data of the first cell is not saved.
>
x27;t used FieldUpdater.
Any ideas?
On Saturday, February 2, 2013 10:30:16 PM UTC-6, Milan Cvejic wrote:
>
> Why are you not using FieldUpdater?
>
> So instead of preventing selection, you actually handle changes in cells?
>
> On Friday, February 1, 2013 11:22:56 PM UTC+1, BM wro
getValue());
}
});
}
return addHandler(handler, ValueChangeEvent.getType());
}
}
What do you think?
On Friday, February 1, 2013 5:31:57 PM UTC-6, Thomas Broyer wrote:
>
>
>
> On Friday, February 1, 2013 11:11:49 PM UTC+1, BM wrote:
>>
>> Thanks Jens a
Thanks Thomas. I will take a look. It seems to be quite involved but I
should be able to figure out what's happening here.
On Friday, February 1, 2013 5:31:57 PM UTC-6, Thomas Broyer wrote:
>
>
>
> On Friday, February 1, 2013 11:11:49 PM UTC+1, BM wrote:
>>
>> Thank
So I have a custom SingleSelectionModel which I am using to catch the
setSelection well before it is selected. Basically to Cancel selection of
second cell if the form data of the first cell is not saved.
public class PromptingSelectionModel extends SingleSelectionModel {
private boolean s
web-toolkit/issues/list?can=1&q=ListBox+HasValue
> If you can't use a ValueListBox, is relatively easy to make an HasValue
> around a ListBox; ask if you need it and can't come to doing it yourself.
>
> On Friday, February 1, 2013 9:46:08 PM UTC+1, BM wrote:
>>
>&
I have a custom class which is used to assign single handler to all of my
UI text fields.
Custom Class Watcher:
=
private ValueChangeHandler reusableChangeHandler;
public void registerHandlers(HasValue element) {
element.addValueChangeHandler(reusableChangeHandler);
I also realized that the overriden setSelected method is called two times
in PromptingSelectionModel. So if I selected Cell 7 and Cell 7 is currently
selected and if I click on Cell 10, the the cell selection is about to
changed the first call to overriden setSelected method passes Cell 7 object
PlaceChangeEvent. I thought putting
a global variable would be easier than having every view to handle logic of
updating the local flag within its presenter.
On Thursday, January 31, 2013 5:22:13 AM UTC-6, Thomas Broyer wrote:
>
>
>
> On Tuesday, January 29, 2013 6:43:11 PM UTC+1, BM wr
I tried to use the similar code for PromptingSelectionModel class. It works
but the only different is that for unsaved form data, although it prevents
the selection of next cell it leaves a mild yellow selection on. So I see
blue selection of first cell and mild yellow selection on second cell.
extboxes.
>
> Another thought would be to subclass textbox and handle it in there by
> adding an isDirty() flag
>
> On Tuesday, January 29, 2013 1:26:29 PM UTC-8, BM wrote:
>>
>> I have a form in GWT and I want to capture an event similar to dirtyform
>> flag in JQ
I have a form in GWT and I want to capture an event similar to dirtyform
flag in JQuery. Basically I want to understand if any of the form data has
been changed. The requirement is pretty simple here. I am NOT looking for
if the data has been actually been modified but just to find out if they
I was looking something similar and your example is perfect. I am going
with approach of having my custom SingleSelectionHandler
i.e PromptingSelectionModel . My view is more like GWT Showcase
CellList-DetailForm example. If I click on my cell, my code populates the
form elements. My Form is a
Not sure if you got this working. But one can't use Vertical Panel as cell
rows inside any Cell Widgets. GWT widgets (Vertical Panels, Horizontal
Panel, GWT Button, GWT textbox, etc) can't be used inside Cell because they
are heavyweight components and very slow so if used would defeat the
purp
Hi,
Did you able to make the logging thing work? I am in same situation,
perhaps you can help me? Thanks.
On Wednesday, November 10, 2010 3:26:46 AM UTC-6, sree wrote:
>
> Hi,
>
> The document is complicated and no easy understandable examples.
> I was planning to use slf4j along with l
I know GWT document says to inherit "com.google.gwt.logging.Logging". Does
anyone have any suggestion on which is a standards or best practices or
trusted third party JARs to use for logging GWT client side code? Any help
is much appreciated.
--
You received this message because you are subsc
Hello,
Just wanted to see what are pros and cons of GWT MVP4G vs GWT Activities &
Places?
If moving to GWT MVP4G will make us miss any features which Activities &
Places offer or MVP4G is self sufficient enough to replace Activities and
Places.
I used extensively Activities and Places and that
Thomas, Jens, you guys rock!! Thank you very much for quick replies and
helping GWT community stronger day by day!
On Wednesday, September 12, 2012 11:45:44 AM UTC-5, Thomas Broyer wrote:
>
>
>
> On Wednesday, September 12, 2012 6:35:53 PM UTC+2, BM wrote:
>>
>> So your
2, 2012 6:04:04 PM UTC+2, BM wrote:
>>
>> Hi Jens,
>> Thanks for replying back with an example. You answered what I am needing
>> for. So that definitely helps. I kind of thought about this approach but
>> couple of things I found here which I am not sure is b
Hi Jens,
Thanks for replying back with an example. You answered what I am needing
for. So that definitely helps. I kind of thought about this approach but
couple of things I found here which I am not sure is better way to do that.
1) My presenter would need additional dependencies like ClientFac
Hello,
I have a thorough knowledge of GWT MVP with Activities and Places. With
Eclipse GPE, I can create GWT MVP view with ease which basically creates
Place, View files(UIBinder XML, View interface, UIBInder XML Implementation
file), Activity class and reference in ClientFactory to create the v
Thanks Thomas. You are awesome!
I think we tried tabIndex='0' and so on.. But the focus went from the
first textbox to the browser address bar and then came back to second.
Not sure if I had something wrong setup.
On Nov 2, 10:31 am, Thomas Broyer wrote:
> ?
> There's a setTabIndex(int) so the
Hi,
How to assign Tab Index inside a UIBinder XML file to a textbox field
in GWT? I am using GWT 2.3.
--
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
This is what I did to learn GWT.
1) Go through the slides on here:
http://courses.coreservlets.com/Course-Materials/gwt.html
These slides are nice to give you little kick start. But don't doesn't
explain the newer GWT well enough.
2) Buy the Manning's GWT in Action Second Edition MEAP. This book
Will it still work if you refresh the browser (F5 key) or just jump up
the places by Back button? I think redirectAfterLogin may be null in
those cases as they are not set via previous activity class.
On Sep 15, 12:07 pm, Alex Dobjanschi
wrote:
> Your login place should have a 'redirectAfterLog
The idea of creating Tokenizer is to have tokens for Browser History.
The questions to consider would be do you care to have browser
history? And what that means is do you care if the user have to use
Back and Forward buttons of the browser? Because you can always use
navigation buttons/anchors to
What framework are you using? Do you have a client factory? Perhaps
you can define a singleton instance of the dispatchAsync in the client
factory object and getting it from anywhere as long as you are passing
the same instance of client factory.
Secondly why would you want to make a server side c
Have you checked the Manning's GWT in Action Second Edition book? They
have it on MEAP program. This book is awesome. They cover the latest
2.3 version with extensive coverage on UIBinder, RPC, MVP, Activities
and Places, RequestBuilder. They are in fact going to add chapter on
RequestFactory also.
In Junit I am trying to test the method which is not returning
anything using the Mockito, but I am not able to test it.
==> You would need to understand what this method with return type
void is actually doing. If it is updating some class level variables
then you can assert on those variables.
Hi Thomas,
AHHA !! Thank you very much!! Finally I understood it!! I owe you
one.
I think I was getting confused with the term "activity". You helped me
clear the doubt that my presenter can act itself as a presenter or
presenter + activity together.
Now I understood what you meant by "mock HasXx
"I'd highly encourage you to use the pattern from the "MVP - part 2"
article
from the GWT doc, where the presenter itself implements an interface
that
the view calls back, rather than exposing the view through
HasXxxHandlers
and the like."
==> Can you elaborate more on this? My only question here
I think I got it what you saying. I got caught up with MVP-Part 2 in
terms of activities and places and kind of lost the major
understanding of what it is ultimately trying to tell you to avoid
HasXxxHandlers.
So I have one question here.. If my presenter implements the interface
which view calls
My ListBox is inside a custom composite widget I have created. I am
using this widget in my different views in my application.
Just to elaborate more on this widget which I created, it is a Dialog
Box which has Left ListBox and Right ListBox. There are 4 buttons on
the center which allows to move
Presenter:
public interface Display {
HasText ageTxtBox();
HasClickHandlers incrementButton();
}
View implements Presenter.Display interface:
@UiField Button incrementButton;
@UiField TextBox ageTxtBox;
@Override
public HasText ageTxtBox() {
return ageTxtBox;
}
@Override
publi
Presenter:
public interface Display {
HasText ageTxtBox();
HasClickHandlers incrementButton();
}
View implements Presenter.Display interface:
@UiField Button incrementButton;
@UiField TextBox ageTxtBox;
@Override
public HasText ageTxtBox() {
return ageTxtBox;
}
@Override
publi
/src/test/java/ and /src/main/java/ folders are created by maven when
you mavenised the GWT project. I also have
statement in my gwt module XML file.
I have package name as com.mycompany.project.client.activity inside /
src/test/java/ folder which has files to test my activity classes.
I get so
Here are my main concerns in JUnit test logic inside activity class
using activities and places framework in GWT 2.3 and I am not sure if
this is been clearly addressed before or not.
Classic MVP Approach:
After reading tons of articles on stackoverflow and other blogs, I
understand that if you mo
So you are saying I should have three files for a custom composite
widget using UIBinder?
.java file
.ui.xml file
Presenter file ?
On Aug 28, 5:22 am, Alex Dobjanschi wrote:
> IMO You should not do unit testing for views. All you could test is what,
> that they look ok? Or they respond to app
I have created a stand alone custom widget using GWT UIBinder with the
help of GWT Designer.
The two files which I have are :
MultipleListBoxCustomWidget.java
MultipleListBoxCustomWidget.ui.xml
I use this widget is my GWT application which I use activites and
places framework and all my views ar
How to get the selected row and hide ID column:
So let's say you have your object which is a DTO (YourObjectDTO) which
has other properties FirstName, LastName including id column.
But the difference here is you don't show the id column but create
rest other columns in the cell table. Something li
My first question would be why would you do something like that? The
whole idea of GWT is have your application AJAX functionality.
You can do something like this.
Instead of including x.html in your jsp page, why can't you rename
your x.html to x.jsp and change the the welcome-file-list entry in
You are awesome! Thank you very much!
On Aug 16, 11:17 am, Jens wrote:
> You can use or in your UiBinder xml and put the
> "" tag directly into it, e.g.:
>
>
> Title
>
>
>
>
>
> -- J.
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolki
I want to have equivalent HTML tag in resulting HTML using GWT.
Basically to draw a horizontal line.
How do I do that?
The one way I did using UIBinder was:
where:
.demo-hr {
border: 1px solid #9A9A9A;
}
Using firebug the resultant H
HashSet objects.
We learn new things every day! Thanks again all of you for taking your
time to guide me here. I appreciate it!
On Aug 10, 11:21 am, Alex Dobjanschi
wrote:
> BM, can you create an empty project and copy those files (service, service
> async, server impl, etc) & run it
Tried with hashset instead and did not work.
On Aug 10, 9:38 am, Alex Dobjanschi wrote:
> You're really not showing us the code.
> Please follow the guidelines then, and check one by one.
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
T
le subclass of List.
>
> It may not fix your problem, but you should do it anyway.
>
> Paul
>
> On 10/08/11 15:51, BM wrote:
>
>
>
>
>
>
>
> > So I created two test methods to see if my POJO has a problem or not.
> > I am not even using my POJO but
I cleaned all the files and folders inside Target folder (Using
Maven).
I removed all the files and folders newly created by GWT inside WAR
folder (Keeping CSS, WEB-INF, HTML files).
I did full rebuild and still has the same problem on simple plain
ArrayList of String objects as mentioned in my te
So I created two test methods to see if my POJO has a problem or not.
I am not even using my POJO but arraylist of String objects just to
make things simpler now.
1) Verified that my gwt.xml does have following.
2) I created a simple Test RPC classes (MergeService,
MergeServiceAsync and MergeSe
I am getting this weird error "The response could not be deserialized"
during RPC call using GWT 2.3. I looked for similar threads on this
forum but their problem seems to be different than mine. Here is the
complete stack trace.
Also my ArrayList contains an Object which implements Serializable a
ng idea for actually
amplify your hassle, rather then solve it. So I have no problem to
twist my JavaBeans in any direction, basically. I am fine storing in a
Database any POJO that implements anything (Serializable,
IsSerializable or nothing at all).
P.S. I am using NetBeans for the development,
83 matches
Mail list logo