its a long code, however in summary:
in tab1 i've a table (table1) with a clickHandler that depends from another
table (table2)
in tab2 i've only display some db data
code when i switch tab
if (tabLayoutPanel.getSelectedIndex() == 0) { // tab1
build_tab1();
clear_TAB2();
Hi thanks for your support,
Now it's working very well.
My Factory now looks :
public class PSGResourceFactory
{
private static PSGResourceFactory fac;
private PSGResources resources;
public PSGResources getResources()
{
if ( resources == null )
{
resources =
Messages Constants (com.google.gwt.i18n.client.Constants
com.google.gwt.i18n.client.Messages) in GWT allow us to put all Messages
Constants into properties files so that we can change these messages
constants at any time we want without the need to recompile the whole
webapp when we
Hello,
I have a flex table and some labels inside the table.
Initially I set the labels in the flex table -
Enter code here...
private FlexTable flexTable_Context = new FlexTable();
private Label myLabelID = new Label();
private Label myLabelIDVal = new Label();
int row = -1;
int col = -1;
Hi,
Is that even possible? To add an API Manager between GWT client and GWT
Servlet, something like a proxy, so that the API manager can know all the
RPCs to the servlet. API Manager is a ready software that we cannot change
the implementation of it.
If it's possible, how do I implement the
Hi,
I am using Gwt-2.5.1.
I am setting sessionId to cookies using
com.google.gwt.user.client.Cookies.setCookie(.).
For this I used following code.
String baseDomain =
com.google.gwt.user.client.Window.Location.getHostName();
Date cookieDate = new Date();
On Friday, March 7, 2014 9:33:26 AM UTC+1, Tom wrote:
Messages Constants (com.google.gwt.i18n.client.Constants
com.google.gwt.i18n.client.Messages) in GWT allow us to put all Messages
Constants into properties files so that we can change these messages
constants at any time we want
I *think* this is the expected behavior (from browsers, GWT just passes the
value around).
But because you want the cookie to be sent to the current domain (only? or
do you have subdomains too?) you can just pass 'null' there, and the cookie
won't have a ;domain= attribute.
On Thursday, March
I suspect you're calling addClickHandler each time you switch tab. Just try
to do it once only.
On Friday, March 7, 2014 9:11:40 AM UTC+1, Davide Micheletti wrote:
its a long code, however in summary:
in tab1 i've a table (table1) with a clickHandler that depends from
another table (table2)
i don't understand your answer.. how can i call an addClick handler of a
table in 2 different tab?
On Fri, Mar 7, 2014 at 11:01 AM, Thomas Broyer t.bro...@gmail.com wrote:
I suspect you're calling addClickHandler each time you switch tab. Just
try to do it once only.
On Friday, March 7,
I honestly have no idea, given the code snippets you showed. But put a
breakpoint on your addClickHandler and see when it's being called, and
where it's called from (look at the call stack in your IDE)
On Friday, March 7, 2014 11:06:03 AM UTC+1, Davide Micheletti wrote:
i don't understand
i did it.. it is called by himself.. i follow all the process step by step
and at the end of the clickHandler it goes in dispatchEvent(event, handler)
of SimpleEventBuss.class and it returns to the onClick of my project.. What
can i do?
On Fri, Mar 7, 2014 at 11:14 AM, Thomas Broyer
On Friday, March 7, 2014 12:00:22 PM UTC+1, Davide Micheletti wrote:
i did it.. it is called by himself..
Sure, but when? and how many times?
i follow all the process step by step and at the end of the clickHandler
it goes in dispatchEvent(event, handler) of SimpleEventBuss.class and
Hi,
I am using Gwt-2.5.1,
I am setting sessionId to cookies using
com.google.gwt.user.client.Cookies.setCookie(.) API.
For this I used following code.
String baseDomain = com.google.gwt.user.client.Window.Location
.getHostName();
Date cookieDate = new Date();
i'm sure, i run it step by step and at the end of onClick it runs
SimpleEventBuss's
function and return to onclick.. the time depend to how many time i
switched tab..
1 switch 1 repeat -- onload tab1 switch tab2 return to tab1
2 switch 2 repeat -- onload tab1 switch tab2 return to tab1
That wasn't my question.
How many times is addClickHandler called? (not the ClickHandler's onClick,
the addClickHandler itself)
And where is it called from? (not the exact call site obviously; but in
response to which kind of events?)
If addClickHandler is called at the time you switch from
If addClickHandler is called at the time you switch from tab to tab, then
you just found the culprit: refactor your code to make it so that it's only
called once.
ok with this i find my error.. when i refresh the tab (with build_tab()) i
re-write the clickHandler.. however i need to clean the
Hi,
code tab1 is executed in build_tab1(); ?
in that case if variable table1 is not local you are adding a new
clickhandler at each call of code when i switch tab
my 2c.
Alberto.
On Fri, Mar 7, 2014 at 9:11 AM, Davide Micheletti
d.michelett...@gmail.comwrote:
its a long code, however
Had a similar issue and ran into this thread. ContentWidgetView of GWT
showcase actually does something similar however instead of extending
HeaderPanel it simply wraps the content portion of the header panel in a
simplelayoutpanel then makes a similar setsize(100%,100%) call in the
yes i've solved.. thanks..
On Fri, Mar 7, 2014 at 12:47 PM, Alberto Mancini ab.manc...@gmail.comwrote:
Hi,
code tab1 is executed in build_tab1(); ?
in that case if variable table1 is not local you are adding a new
clickhandler at each call of code when i switch tab
my 2c.
Alberto.
Hi Thomas, I am confused,
why we need to recompile the whole project when we just change a simple
text in properties file?
For example, suppose we have this line in properties file.
userViewOrder=User''{0}'' pls views order
Then I just change it to
userViewOrder=Customer''{0}'' pls views
Hello Thomas, I just test in eclipse. I start my webapp just let the
server run. When clicking the button 1st time it used this text User455 pls
views order. Npow I just let the server run without stopping it then I
changed User to Customer then I click the button again. This time, it
Hello Thomas, I have just tested in eclipse. I started my webapp just let
the server run. When I clicked the button 1st time it used this text User
455 pls views order.
Now I just let the server to continue to run without stopping it. Then, I
changed User to Customer then I clicked the
Tom,
Are you using dev mode in eclipse? If so, it does the recompiling for you
on the fly.
To show what your web app looks like without on the fly compiling, do a
full compile using the menu item GWT Compile Project... and then
stripping the ?gwt.codesvr= from the url.
On Fri, Mar 7, 2014 at
On Friday, March 7, 2014 2:07:11 PM UTC+1, Tom wrote:
Hi Thomas, I am confused,
why we need to recompile the whole project when we just change a simple
text in properties file?
That's the difference between static and dynamic
internationalization:
Hi again ;)
I'm trying to create a Master-Details panel associeted to an entity but i'm
really confused and i don't khnow how to start.
i search on the internet but i didn't find something interested.
could any one help me ?
thanks
--
You received this message because you are subscribed to the
On Friday, March 7, 2014 10:30:50 AM UTC+1, Thomas Broyer wrote:
There are also a few projects that directly try to use your GWT interfaces
on server-side; and it's also a planned feature of GWT proper (no ETA yet).
Just curious, but what about https://gwt-review.googlesource.com/#/c/1550/
Ok, I want to manage Constants at Server level, so
com.mattbertolini.hermes.Hermes is a solution.
Please see all my steps:
1- I downloaded hermes-1.2.0.jar import into correct Library of eclipse
(no problem)
2- Create MyConstantsWithLookup.java at client package
import
It has actually been answered elsewhere before it was even asked here:
http://stackoverflow.com/questions/5182245/setting-the-width-of-a-column-without-clipping-textinputcell-in-gwt-2-2-celltabl
On Monday, March 3, 2014 11:22:32 AM UTC-5, Sean wrote:
Glad this hasn't been answered in ~3yrs
On Friday, March 7, 2014 5:48:41 PM UTC+1, Tom wrote:
Ok, I want to manage Constants at Server level, so
com.mattbertolini.hermes.Hermes is a solution.
Please see all my steps:
1- I downloaded hermes-1.2.0.jar import into correct Library of eclipse
(no problem)
2- Create
On Friday, March 7, 2014 5:03:28 PM UTC+1, Andrea Boscolo wrote:
On Friday, March 7, 2014 10:30:50 AM UTC+1, Thomas Broyer wrote:
There are also a few projects that directly try to use your GWT
interfaces on server-side; and it's also a planned feature of GWT proper
(no ETA yet).
Ok, got it.
Thank you for the explanation.
On Friday, March 7, 2014 6:13:19 PM UTC+1, Thomas Broyer wrote:
It is one step towards I18N on the server. GWT.create() on the server
was one such other steps. The last one being generating Messages,
Constants, etc. implementations for use on the
any one could help me ? just tell me from where i start and what is the
component ?
--
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
The following approaches work:
public class SnapSvgWidget extends Widget {
public SnapSvgWidget() {
setElement(Document.get().createDivElement());
drawExample(getElement());
}
private native void drawExample(Element container) /*-{ var paper =
$wnd.Snap(400,400)
No one wanna help me ??
thanks people :(
--
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
Thank you very much Thomas, I did there is no warning at all.
On Saturday, March 8, 2014 4:05:24 AM UTC+11, Thomas Broyer wrote:
On Friday, March 7, 2014 5:48:41 PM UTC+1, Tom wrote:
Ok, I want to manage Constants at Server level, so
com.mattbertolini.hermes.Hermes is a solution.
Hi All,
It's been a while since I've tried any versions since 2.3.0. I picked up
2.6.0 and I can not access the generated JS from IE8, IE9, or Chrome. I am
using the entry point class to add a reference to a couple of converted
functions.
Safari and FireFox work.
Is there any workaround? I
Here is my problem. I want to change the Constants dynamically for my web
app when it's already in the Production Mode.
So here is what I did
import com.google.gwt.i18n.client.ConstantsWithLookup;
public interface MyConstants extends ConstantsWithLookup{
String email();
}
In the
Do you have any cool techniques or tools to share that help generate code
for GWT?
I'm about to add a class to a project. Due to the set of GWT features I'm
using, I'll likely add a corresponding DAO, a Locator, a RequestContext, a
Proxy, likely two or three of: Place, Activity, Presenter,
39 matches
Mail list logo