What is the problem with Shiro ? I am using it for security management with
my application and we did not have encountered any problem with its
integration. It was only few lines of code :
public void login(String username, String password) {
Subject currentUser = SecurityUtils.getSubject();
Yes, they run faster when compiled since there is no need for eclipse to be
connected to the browser plugin and to handle all events (for communication
with eclipse)
2010/7/13 guandalino guandal...@gmail.com
Hello, am I wrong thinking that scripts run faster once that are
compiled and deployed
Hi,
The right syntax is :
*ui:image field=activeImage src=active.png/*
* **ui:image field=deactiveImage src=active.png/*
Then, simply use :
*...@sprite .active {*
*gwt-image: 'activeImage';*
* }*
*
@sprite .deactive {
Width/Height will be automatically written in your css class, you do not
need to do any reference on it.
2010/8/6 Nicolas ANTONIAZZI nicolas.antonia...@gmail.com
Hi,
The right syntax is :
*ui:image field=activeImage src=active.png/*
* **ui:image field=deactiveImage src=active.png
if it is what I want) :)
On Fri, Aug 6, 2010 at 5:55 PM, Nicolas ANTONIAZZI
nicolas.antonia...@gmail.com wrote:
Width/Height will be automatically written in your css class, you do not
need to do any reference on it.
2010/8/6 Nicolas ANTONIAZZI nicolas.antonia...@gmail.com
Hi,
The right
You can use the external keyword to say gwt that the class should not be
obfuscated.
ui:style
@external myClass;
.myClass {
/* Adds extra css here */
}
/ui:style
2010/8/9 Thomas Van Driessche thomas.van.driessch...@gmail.com
Hi,
I could use this: ui:style field='otherStyle'
:
Fix bij adding .action{}
It seems like he doesn't find it in the css linked in the html page?
kind regards
On Aug 9, 12:22 pm, Nicolas ANTONIAZZI nicolas.antonia...@gmail.com
wrote:
You can use the external keyword to say gwt that the class should not be
obfuscated.
ui:style
Hello all,
just about your sentence Chistian :
That's why, I'm giving a little more work to my views that apply to simple
local task that isn't relevant to the presenter, thus simplifying my code
and making it more easy to understand and more easy to read. Yes I have to
test it, but I have
idea.
Maybe someone has already met this problem and found a solution ?
Thanks,
Nicolas ANTONIAZZI
--
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
Hello,
I think that there is a problem with the Dom Implementation of opacity in
IE8.
getElement().getStyle.setOpacity(value);
The standard way of setting a css opacity is opacity : value
with IE6 or 7, it is : filter : alpha(opacity=value);
with IE8, it is the same. but there is only a
Did you try with conditional css preprocessor ?
In my opinion, this is the best way to inserts some css code specific to a
platform. This is done at compilation time, so CSS generated for IE is not
same as the Firefox one. Only css specific to the target platform will be
transfered :
Hello,
I converted all my project to GWT 2.1 Activity/Place following the concept
described on
http://code.google.com/intl/fr/webtoolkit/doc/trunk/DevGuideMvpActivitiesAndPlaces.html
But, doing this work, I came to a question : Why do we have to set a name in
the place constructor ?
A place
.
Sebastian
On Wed, Oct 27, 2010 at 9:36 AM, Nicolas ANTONIAZZI
nicolas.antonia...@gmail.com wrote:
Hello,
I converted all my project to GWT 2.1 Activity/Place following the
concept
described
on
http://code.google.com/intl/fr/webtoolkit/doc/trunk/DevGuideMvpActivitiesAndPlaces.html
But, doing
Hello,
I migrated all my code to GWT 2.1. I was a bit surprised to not find any
NestedPresenter helper. I created my own with an interface called
NestedPresenter that provides a start(HasWidgets.ForIsWidget container);
method.
I prefered doing it this way instead of using multiple
different
between Activity and Presenter (excepts name).
Thanks Tomas.
Nicolas.
2010/11/3 Thomas Broyer t.bro...@gmail.com
On 3 nov, 11:16, Nicolas ANTONIAZZI nicolas.antonia...@gmail.com
wrote:
Would not be easier to create a Presenter interface that provides a
start()
method, that would
Thanks for your comments. Do you mind sharing with us what would go in
the Presenter interface to allow you to fully use MVP? We're very
much open to ideas from the community as to how to make it work
better.
Well, in my opinion, it would be clearer to create 2 new interfaces :
1) a
Hello,
This is just a quick question to gwt developpers to know what is the reason
to pass the EventBus to the start() method of Activity ?
Is there something special about this instance ?
Because if we use a ClientFactory, like described in the MVP doc on the
website, (or we inject with Gin),
Oh yes, that's nice.
It's great to wrap the original event bus so we can still use it to send
fireEvent() and use the instance from start() to add new handler.
Very cool.
Thanks Thomas.
2010/11/4 Thomas Broyer t.bro...@gmail.com
On 4 nov, 09:46, Nicolas Antoniazzi nicolas.antonia
Very interresting Thomas. It is similar in some ways to the gwt-presenter
project.
Just a question. You says that views are singleton. I understand the reason
(efficiency). But does not it leads to UI state problems ?
By instance, if you call a method on your view that adds a new css class to
an
Hello,
I am trying to use CodeSplitting with Activites on 2.1.
I read this very interresting thread
http://code.google.com/p/google-web-toolkit/issues/detail?id=5129 and
T.Broyer says that the best approach is to use an AsyncProxy for Activities.
It makes sense but I have problem with it since
?
Is the AsyncProvider even usable right now if we compile from source?
On Nov 6, 9:27 am, Thomas Broyer t.bro...@gmail.com wrote:
On 6 nov, 01:24, Nicolas Antoniazzi nicolas.antonia...@gmail.com
wrote:
Hello,
I am trying to use CodeSplitting with Activites on 2.1.
I read this very interresting
together behind the
same split point. ProviderBundle makes that really easy to do.
ProviderBundle is totally usable without the rest of GWTP. (Although
I'd love to hear your reason for not using it. ;))
Cheers,
Philippe
On Nov 6, 4:40 pm, Nicolas Antoniazzi nicolas.antonia...@gmail.com
wrote
Hi Phillipe,
Also, I think it's a bit unfair to call GWTP's code generation magic
when GWT relies on it for so many different things... But if you
really want to write proxys yourself, GWTP's allows it.
Yes, I agree that I was a bit unfair with GWTP. In my opinion, it would be a
geater tool
In my opinion, a full website can be built with GWT (uiBinder is a great
helper for this).
This is the way that we chose in our company. it is really fantastic to code
with gwt and it allows to use so many optimizations for the client side
(client bundle, conditional css, ...).
Every pages of the
Phillipe :)
Cheers,
Nicolas
Cheers,
Philippe
On Nov 8, 1:35 am, Nicolas Antoniazzi nicolas.antonia...@gmail.com
wrote:
Hi Phillipe,
Also, I think it's a bit unfair to call GWTP's code generation magic
when GWT relies on it for so many different things... But if you
really
I can give you what I did in my application. Maybe that you will prefer this
method :
* When the application loads, the server store a login/logout status of the
user in a json format (just for optimization like this :
http://code.google.com/intl/fr/webtoolkit/articles/dynamic_host_page.html. You
For our project we use Tomcat / Postgresql on server side. It works great.
The hardest part is to be able to configure maven (if you use it) with gwt +
wtp (eclipse tomcat plugin). But with the latest version of all the eclipse
plugins, it should work fine.
Nicolas.
2010/11/9 mike.cann
Hi,
We implemented nested VP in our app.
The inner presenter has an interface that the outer can talk to. Only
presenter talk each other, never views. Views are just the responsability of
the associated presenter.
2010/11/11 zixzigma zixzi...@gmail.com
Hello Everyone,
Problem: a View and
No it is not possible since RPC call are simple XmlHttpRequests and Security
implementation in browser does not allow cross server call.
But, you can forward your RPC requests from the Serve1r to your Server2
Client1 -- Server1 -- Server2.
2010/11/15 Raju rajus...@gmail.com
Hi,
I am new to
Hello,
I am trying to use the internationalization feature of GWT. When I have read
the doc, it was great, but now that I am in the code, it is a bit harder.
I was afraid by the i18n management of uiBinder but thanks to mergelocales
from gwtp, it is now really simple. All translations are store
Hello Koen,
I never used Requestfactory so I do not know if it is similar to RPC. In my
case, all my RPC Services can send a ServiceRemoteException (declared in
Services interfaces). (ServiceRemoteException is a custom exception that I
extended for my needs)
@RemoteServiceRelativePath(GWT.rpc)
On my side I would like to extend it to simplify the generation of some code
like Activity / View / Place (juste creates stub). Like what is already
done for uiBinder / ClientBundle, ...
I am very interested to know this date too.
Thanks
Nicolas.
2010/11/19 jbroquefere
I do not know the low level functions for doing this, but it is possible. We
use a tool called CodeMirror on our project. It is a rich text area with
code parser and syntax highlight.
There are methods it the api to select portion of text.
http://codemirror.net/
http://codemirror.net/
Hi,
I am running Ubunbtu 10.04 with eclipse 3.6 and GWT 2.2.
the GWT Designer is working on my machine. I had few problem because my view
uses the @UiTemplate to reference the associated xml, instead of letting the
system default (name of the inner interface in Composite). But except this,
it's
Just because gin/guice is better than spring ;)
2011/2/24 lascarayf lascar...@gmail.com
Why GWT team do not make a OFFICIAL GWT SPRING INTEGRATION
DOCUMENT??
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group,
As a workaround, you can use event.getNativeEvent().getKeyCode() ==
KeyCodes.KEY_ENTER
2011/4/8 Gabriel volpegabr...@gmail.com
Eg.
txtPwd.addKeyPressHandler(new KeyPressHandler() {
@Override
public void onKeyPress(KeyPressEvent event) {
I just realized that I never called removeHandler() on some of handler that
I was using.
HandlerRegistration h = Window.addResizeHandler(new ResizeHandler() {
@Override public void onResize(ResizeEvent event) { height =
event.getHeight(); width = event.getHeight(); } });
In the case of a
Hi,
in the Google I/O, David Chandler did a presentation about best practices
with GWT.
I have gone to youtube, on the google developer chanel
http://www.youtube.com/user/GoogleDevelopers but I cannot see the video
about this presentation.
Is someone from google reading this message can tell us
...@gmail.com
Here's the link :
http://www.youtube.com/wat http://www.youtube.com/watch?v=imiquTOLl64
ch?v=imiquTOLl64 http://www.youtube.com/watch?v=imiquTOLl64
Cheers,
On Fri, May 13, 2011 at 9:42 AM, Nicolas Antoniazzi
nicolas.antonia...@gmail.com wrote:
Hi,
in the Google I/O, David
Thanks,
Great pres !
2011/5/14 Daniel paradoxpi...@gmail.com
Here you go: http://www.youtube.com/watch?v=0F5zc1UAt2Y
On May 13, 4:42 pm, Nicolas Antoniazzi nicolas.antonia...@gmail.com
wrote:
Hi,
in the Google I/O, David Chandler did a presentation about best practices
with GWT.
I
Maybe use :
filter: literal(alpha(opacity=40));
I did not try.
2011/5/14 Alex Luya alexander.l...@gmail.com
It seems like UiBinder's CSS mechnism can't this CSS rule:
filter:alpha(opacity=40)
Hello,
I'm using i18n with uiBinder.
In my gwt config file, I declared 2 locales :
!-- French language, independent of country --
extend-property name=locale values=fr/
!-- English language, independent of country --
extend-property name=locale values=en/
Then I assigned the default
Greg,
If you think that the Javadoc is not correct, send a patch.
If you think that the package is not usable, do not use it.
If you think that gwt code is not good, do not use gwt... And write your
clone with your best comments,
But please do not flame like this.
2011/5/17 Alain Ekambi
Thanks Thomas, it fixed it.
2011/5/17 Thomas Broyer t.bro...@gmail.com
See http://code.google.com/p/google-web-toolkit/issues/detail?id=5769
You have to set-property name=locale value=en, fr / (with en, fr
being the list of all known locales)
--
You received this message because you are
Maybe that I did not really understand, but you cannot instantiate sub
presenters directly from uiBinder.
You have to instantiate it from the parent one, and the child presenter has
to instantiate its own view.
2011/5/27 Issam boualem.is...@gmail.com
Sorry but I'm not talking about replacing a
Here, we use Shiro since it is really easy to integrate.
Moreover, Shiro is not tight to Spring... And that's a good thing for us
since we use Gin on client and Guice on Server (to not multiply API).
2011/6/22 Elhanan Maayan elh.mailg...@gmail.com
we are exploring apache shiro with gwt
I would like to implement a Custom Pager for datagrid wich has quite the
same behaviour as PageSizePager (show more button), but triggered by the
scrollbar (show more called every time that the scrollbar reach the bottom
of the table).
I would like to add a new ScrollHandler on DataGrid, but the
Thanks jeff !
I'm going to try this :)
2011/8/16 Jeff Larsen larse...@gmail.com
HeaderPanel panel = (HeaderPanel) dataGrid.getWidget();
CustomScrollPanel scrollPanel = (CustomScrollPanel)
panel.getContentWidget();
--
You received this message because you are subscribed to the Google Groups
If you use MVP, you might use some kind of factory for your objects, like
the PlaceController.
The best is to use dependency injection for this (with Gin).
The PlaceController is Injected in the Activity (or in your custom factory).
When it comes to testing, you can use a special factory (or
Yes, indeed, I did not realized this !
That's a good question :) !
2011/8/17 tanteanni tantea...@hotmail.com
thx i already use gin. but how to get a testable PlaceController -
Placecontroller is a class not an interface? my only idea is to give null?
--
You received this message because
One solution could be to create an interface in your project around
PlaceController and bind this interface on an inherited version of
PlaceController. Then, inject the interface instead of the concrete
implementation.
But there is certainly an easyier way of doing it...
2011/8/17 Nicolas
We use gwt-fx in our project. It is only focused on FX and it does it well.
http://code.google.com/p/gwt-fx/
2011/8/21 Manuel Carrasco MoƱino man...@apache.org
On Fri, Aug 19, 2011 at 12:42 PM, Tomasz Gawel tomaszga...@op.pl wrote:
1. But Animation class in gwt seems to be quite handy. All
As soon as your image is uploaded, you can have a link to it. something like
http://my.site.com/images/uploaded_img.png
Then, you only have to dynamically change the background of your element :
myWidget.getElement().getStyle().setBackgroundImage(
http://my.site.com/images/uploaded_img.png);
The
GWT is just javascript, so you cannot access hardware from javascript,
except if you use HTML 5 features (like webgl to use video cards,
websockets, ...)
And, yes, you can interact with applet, the same way that you can do it with
javascript.
2011/9/21 Manoj Behera manoj.behera@gmail.com
Interresting. But in this case, is not it the same problem for all anonymous
classes ?
Do not you have this problem with event handler ?
myButton.addClickHanler(new ClickHandler() {
public void onClick(ClickEvent e) {...}
}
2011/9/26 Rokesh Jankie rjan...@gmail.com
Almost there...
method
Hello,
We have just released our new GWT App to test coders.
We built the full website with GWT/Gin + Guice/Shiro/MyBatis.
If you like coding challenges, you can try the java demo on
http://www.weecod.com/demo
(Only for real hackers ;) )
Feedback welcome !
And many thanks to the community for
Thank you both for your comments !
Ungarida, you are right, we are going to work on a version that is more
compatible with large screen.
It was easier to start with fixed width version for our first release, but
we are planning to improve the UI.
Thanks for feedbacks !
That's funny to see
You can build the full page with GWT but you have to keep in mind, that it
will bring some problems too.
The main problem will be Search Engine. You will have to rely on htmlunit to
fix it (generates static version of webpages).
The other problem, is that pages will be a bit slower to load (for
The main problem will be Search Engine. You will have to rely on htmlunit
to
fix it (generates static version of webpages).
The search engine result isn't important.
What do you main by htmlUnit to fix it?
HtmlUnit is a tool that embed a browser (firefox) and can execute javascript
code
If your resource is declared from an interface, you can use a @DoNotEmbed
annotation above specific resources instead of disabling it for all your
application.
http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/com/google/gwt/resources/client/DataResource.java?r=10282
did you try gwt-upload ?
2011/12/21 Robert Fix rob3rt...@googlemail.com
hi,
i need a file-upload like it is used in Google+ and want to implement
it in a gwt-project. In GWT i can only find a FileUpload with single
selection. I hope you can help me because i don't want to use a
javascript
Does anyone know if there is a video about the gwt session from io 2012:
The History and Future of Google Web Toolkit by Ray Cromwell?
I know that it was not live streamed, but I tought that we could get a
delayed video.
--
You received this message because you are subscribed to the Google
62 matches
Mail list logo