The problem you describe is relevant to any AJAX framework. Using GWT
doesn't make it worse or better. At the end of the day you have a bunch of
javascript code. It doesn't matter if you create it manually or by GWT
compiler.
Thank you,
Andrey
On Wednesday, December 24, 2014 11:12:43 PM
Thank you!
This is what I need.
Andrey
--
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/-/Jbx45cSqnaMJ.
To post to this group, send email to
Hello, everybody!
I have text with html formatting (originally it was created by
RichTextArea). I want to show it as a plain text with no formatting. This
is exactly the same as RichTextArea.ExtendedFormat.removeFormat does. But I
want to do it programmatically. What is the best way?
Thank
Yes, I can compile. I get ClassNotFoundException when in module B (library)
I try to create interface replaced by concrete class in app.
09:17:51.405 [ERROR] [myapp] Could not load deferred binding result type
'com.ais.myapp.client.ExceptionHandlerImpl'
java.lang.ClassNotFoundException:
Hello everybody!
I have three GWT modules A, B and C. C has some common widgets and utility
classes/interfaces.
both A and B depends on C. A depends on B. A has an entry point.
The problem is: module C has an interface which I want to replace by a
class in A module. I use replace-with statement
Hello everybody!
I want to create custom widget which consists of two widget- Left and
Right.
Left has fixed width, Right takes all space left. Widget height is
defined by Right. Right just wraps all content it has. If I make
parent wider Right gets wider also.
The content of Left is scrollable.
Hello, everybody!
I'm implementing custom cell, extending AbstractCell. One problem I
have is related to event handling.
My cell has image, and I need to know the mouse position related to
this image.
In method
public void onBrowserEvent(Context context, Element parent, Integer
value,
Hello, everybody!
In my application I want to send user to login page. I do
Window.Location=./loginServlet;
So, if my application is deployed to www.mysite.com/MyApplication user
goes to www.mysite.com/MyApplication/loginServlet
It works fine until i try it in IE.
IE sends user to
Perfect!
Thank you very much!
Andrey
On Feb 18, 8:22 am, Thomas Broyer t.bro...@gmail.com wrote:
Window.Location.assign(GWT.getHostPageBaseURL()http://google-web-toolkit.googlecode.com/svn/javadoc/2.2/com/google/g...()+
loginServlet);
--
You received this message because you are subscribed to
Why do you need events? Each Activity is notified when it becomes
active ( method start() is called).
Just check the application state at this moment. If you want to share
some data between several activities make this data singleton.
Thank you,
Andrey
On Jan 19, 7:59 am, SergeZ
in your application
at a given time, then this becomes less of an issue.
-Ben
On Jan 20, 8:01 am, ailinykh ailin...@gmail.com wrote:
Why do you need events? Each Activity is notified when it becomes
active ( method start() is called).
Just check the application state at this moment
This is what I do
@UiField
Hyperlink imageLink;
...
String imgStr=img src='+url+'/;
imageLink.setHTML(imgStr);
Andrey
On Jan 15, 4:25 pm, zixzigma zixzi...@gmail.com wrote:
g:InlineHyperLink, g:HyperLink and g:Anchor cannot contain an element
if I'm correct.
do you know how we can then
It helped.
Thank you!
Andrey
On Dec 27, 10:51 am, David Chandler drfibona...@google.com wrote:
Use mvn clean compile gwt:compile to be sure you're doing all
compilation. If you still get the compilation warning, try deleting
browser cache.
/dmc
--
You received this message because you
I did, no difference.
On Dec 26, 1:25 am, Mike Guo gsun...@gmail.com wrote:
you need compile first before you run http://127.0.0.1:/Expenses.html
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to
I tried to run it (mvn gwt:run)
If I use URL as http://127.0.0.1:/Expenses.html?gwt.codesvr=127.0.0.1:9997
everything looks good, but if I
point browser to http://127.0.0.1:/Expenses.html I get popup
dialog with message GWT module may need to be (re)compile
Is it supposed to happen or I
Hello, everybody!
Let's say I have GWT application with page MyPage.html.
In my application I want to move user to regular html page ( to
login, for example). I just call
Window.Location.replace(urltoGo);
It works. But then in my servlet, which handles urltoGo, I want to
redirect user back to
I just realized that problem happens with chrome only. FireFox, IE,
Opera work fine.
--
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-tool...@googlegroups.com.
To unsubscribe from this group,
Yes, of course. As I told, everything works as supposed to. The only
problem- clicking back.
On Dec 3, 12:46 am, zixzigma zixzi...@gmail.com wrote:
Have you added your newly created place to AppPlaceHistoryMapper ?
http://code.google.com/webtoolkit/doc/latest/DevGuideMvpActivitiesAnd...
Hello, everybody!
I slightly modified hellomvp example, I just added one more place/
activity/view. It's called OneMorePlace, OneMoreActivity, OneMoreView.
So right now I have scenario like this- HelloActivty starts
OneMoreActivity, OneMoreActivity starts GoodByeActivity.
But when I tried to
starts GoodByeActivity? Can
you please post the code for OneMoreActivity?
/dmc
On Thu, Dec 2, 2010 at 4:52 PM, ailinykh ailin...@gmail.com wrote:
Hello, everybody!
I slightly modified hellomvp example, I just added one more place/
activity/view. It's called OneMorePlace
grows as the
level of complexity of a Cell increases. UiBinder for Cells should make it
much easier to template Cells.
Thanks,
John LaBanca
jlaba...@google.com
On Fri, Nov 26, 2010 at 1:01 PM, ailinykh ailin...@gmail.com wrote:
Hello, everybody!
I have CellList which contains
Hello, everybody!
In HasDataPresenter.java I see code like this:
// Update the page size.
final boolean pageSizeChanged = (pageSize != length);
if (pageSizeChanged) {
pageSize = length;
}
and later
if(pageSizeChanged)
doSomething();
What a reason to use 'final'
Hello, everybody!
I have CellList which contains custom cells. It's pretty close to Cell
List example from show case, but my custom cell is more complicated.
It has several images, several links and I want to handle clicks on
images and links. Generating html code by overriding render method
seems
:41, ailinykh ailin...@gmail.com wrote:
Hello, everybody!
I try to manipulate with background image and background position.
I need to change background image and background position on the fly.
What I have is a couple of images:
@sprite .i1 {
gwt-image
Hello, everybody!
I'm confused with latest MVP pattern. My problem is:
Let's say I have main layout which consists of several widgets.
Something like this
g:DockLayoutPanel unit='EM'
g:north size=4
my:MyNorthWidget/
/g:north
Hello, everybody!
I just looked into latest show case. CellList/Celltable work with
ListDataProvider which is a class keeping all data.
But it is aware about user interface -
dataProvider.addDataDisplay(display);
What a reason for that strange design?
Thank you,
Andrey
--
You received this
It makes sense. But why not traditional Model/View design when Model
fires events and any subscriber (not necessary View) updates itself?
On Oct 7, 11:18 am, Thomas Broyer t.bro...@gmail.com wrote:
On Oct 7, 6:02 pm, ailinykh ailin...@gmail.com wrote:
Hello, everybody!
I just looked
Hello, everybody!
I have simple layout, something like this
g:DisclosurePanel
g:headerEdit Lists/g:header
g:HTMLPanel
some stuff here
/g:HTMLPanel
/g:DisclosurePanel
g:ScrollPanel
g:Tree ui:field=listTree /
Hello,
everybody!
I try to create layout with two TabLayoutPanel widgets. (One's tab is
the parent for another)
This is the code. It works fine in chrome. But in IE inner
TabLayoutPanel's tab takes whole window. It looks like
it's parent (LayoutPanel) doesn't exist. Any ideas how to fix it?
should work for you.
On May 18, 12:28 pm, ailinykh ailin...@gmail.com wrote:
Hello,
everybody!
I try to create layout with two TabLayoutPanel widgets. (One's tab is
the parent for another)
This is the code. It works fine in chrome. But in IE inner
TabLayoutPanel's tab takes whole
Thank you, Chris!
It makes sense. Honestly, I don't see any reason to use Gwt panels in
UiBinder xml file.
I put there regular html, added some padding to td. Now everything
looks good.
By the way, what is stylePrimaryName how it differs from
styleName?
Andrey
--
You received this message
Hello, everybody!
I've problem with HorizontalPanel layout.
What I have is:
g:HorizontalPanel width=100%
g:cell width=100%
g:TextBox width=100% ui:field=inviteEmail/
/g:cell
g:cell
g:Button ui:field=inviteButton text=Invite/
/g:cell
Hello, everybody!
I've got a strange problem. I put several widgets into main page.
Everything looks good, but when I change browser window size (make it
small) scroll bars don't appear.
I can see only small area at the left top corner.
What could be wrong?
Thank you,
Andrey
--
You received
I figured it out. Accidentally, I used
com.google.gwt.dev.util.collect.HashSet instead of java.util.HashSet.
It works in eclipse, but not in tomcat, even if I put jar into WEB-INF/
lib directory.
On Jan 25, 1:16 pm, ailinykh ailin...@gmail.com wrote:
Hello, everybody!
When I deploy my GWT
By this way you secure the main page only. What is pretty much
useless.
All client/server communication is done through AJAX. You can't secure
it by a traditional servlet filter,
because GWT serialization doesn't know anything about redirect. You
will have something like serialization Exception.
Hello, everybody!
I try to style TabLayoutPanel.
I can apply style to panel itself:
ui:style
.gwt-TabLayoutPanel {
cursor: default;
background: #92c1f0;
}
/ui:style
and then
g:TabLayoutPanel styleName='{style.gwt-TabLayoutPanel}'
Thank you!
This is what I'm going to do. But I see one problem here. I'd like to
use Google's authentication.
As far as I understand it is HTTP based. I don't see any way how to
use it outside browser.
Any ideas?
Thank you,
Andrey
On Dec 15, 10:45 am, Isaac Truett itru...@gmail.com wrote:
Hello, everybody!
I have a simple GWT application. Right now Web browser is the only
client. Also I want to create pure java client (android based). Is
there a simple way to use GWT RPC from java client? If not, what are
my options?
Thank you,
Andrey
--
You received this message because you
wrote:
2 solutions:
* 2 gwt applications user and admin (you could use a custom
properties/permutation).
* 1 gwt application and applicative (if(userInRole(admin)) customization.
HIH
On Tue, Jun 23, 2009 at 2:28 PM, ailinykh ailin...@gmail.com wrote:
Hello, everybody!
I have a widget
I see. How do you check user permissions on server side?
Andrey
On Jun 23, 2:47 pm, Chad chad...@gmail.com wrote:
Andrey,
RPC is the way I do it. I have a User object that can be passed
between the client and server. It's kept on the client after login so
the entire UI can easily refer to
to each role. The
roles and rights are added to the user and sent back to the client.
From that point on, the application can just query the user object for
everything that it needs to know about the user.
HTH,
Chad
On Jun 23, 3:28 pm, ailinykh ailin...@gmail.com wrote:
I see. How do you
Hello everybody!
I have simple GWT project. In servlet implementation I use class from
another Java project (it is regular class library).
Both of them are eclipse projects. Main project has reference to
library project, I can compile. But when I run it I get
ClassNotFoundException. If I export
42 matches
Mail list logo