Thank you. I have in the mean time got some simple example working, but
with a somewhat different "design"; I basically wrote my type in
JavaScript, and used JavaScriptObject overlay types to make it look like a
Java Type, so I"duplicated" the methods in the Java code, using JSNI,
rather then "
that
method, either from Java or JSNI.
3) (Optional) Same as methods, but for fields too.
The "end goal" is to allow users some limited ability to "customize" the
application by "injecting user scripts" into it.
I would be grateful for any help.
Regards,
Sebast
Hi everybody,
I'm creating a website with GWT. I want to add CellTable into my project.
The problem is that I have a lot of data to put into the tables. So, my
website freeze and show my table after 2-3 minutes.
I find on internet that multi-threads are impossible with GWT. So, what is
the sol
On Wednesday, June 26, 2013 4:55:19 PM UTC+2, Carl wrote:
>
> wrt numbers in JavaScript...
>
> All numbers in JavaScript are stored as 64-bit (8-bytes) base 10, floating
> point numbers. This will probably provide enough space for your IDs.
>
This is only true if you assume my IDs start with 0/1
actually
dived into GWT, yet so I would not know about it. I do know that GWT can
compile Java code to work correctly as JavaScript even with long, but I
don't know if the same solution can be used within hand-made scripts.
Regards,
Sebastien
--
You received this message because you a
Nobody?
Le mercredi 29 mai 2013 14:46:48 UTC-4, sebastie...@isen-lille.fr a écrit :
>
> Hi everyone,
> I have a simple CellTable with editable cells. I add a button "save"
> outside of the table. So, I want to be able to save the change of the final
> user.
>
> I want to do something like that:
Now I understand why you talk about refresh() or updateRowData(...). The
first method doesn't do anything for me and my provider dosen't know the
second method updateRowData. I don't find a solution on google.
This is a part of my code:
public ArrayList> rows = new ArrayList>();
ListDataProvide
Thanks for your answer!
In fact, I don't want to refresh my table. I just want to get all the data
which are in my table. My table is editable by the final user.
Le vendredi 31 mai 2013 17:59:38 UTC-4, David a écrit :
>
>
> The cells are reused so there's no way to get a specific rendered cell
Maybe there is an other way to do that? I don't find a solution...
Le jeudi 30 mai 2013 14:14:33 UTC-4, sebastie...@isen-lille.fr a écrit :
>
> I don't find a method to simply get the text in a cell. It's very weird!
>
> Le mercredi 29 mai 2013 14:46:48 UTC-4, sebastie...@isen-lille.fr a
> écrit
I don't find a method to simply get the text in a cell. It's very weird!
Le mercredi 29 mai 2013 14:46:48 UTC-4, sebastie...@isen-lille.fr a écrit :
>
> Hi everyone,
> I have a simple CellTable with editable cells. I add a button "save"
> outside of the table. So, I want to be able to save the ch
Hi everyone,
I have a simple CellTable with editable cells. I add a button "save"
outside of the table. So, I want to be able to save the change of the final
user.
I want to do something like that:
If the button is cliked:
int i=0;
int j=0;
while(ihttp://groups.google.com/group/google-web-toolki
I'm using lighthttpd, is it possible that it's the problem?
Le jeudi 25 avril 2013 14:49:39 UTC-4, sebastie...@isen-lille.fr a écrit :
>
> Hi,
>
> My web application has serveral widgets like
> datePicker, dynamicDecorator... If I run my project with eclipse, widgets
> are ok.
>
> I want to buil
Thank you for your answer.
I choose a theme and I have the same result.
When I look the network requests, all seems OK.
My WebContent folder contain:
- folder myproject (with the theme GWT/clean )
- folder META-INF
- folder WEB-INF
-flavicon.ico
-Myproject.css
-Myproject.html
Le jeudi 25 avril
If I delete:
>
>
and if I run the project with eclipse, my project just use the CSS. And if
I copy the same project on the server, the CSS doesn't do anything.
In fact, if I put the 2 line (for the theme) in the gwt.xml or if I don't
do that, and if I delete the CSS on my server, I have
Hi,
My web application has serveral widgets like
datePicker, dynamicDecorator... If I run my project with eclipse, widgets
are ok.
I want to build my project on lighthttpd, so I just copy my folder on my
server. When I open website with a web broswer, it works but all my widgets
have no "styl
Thank you very much!
Le mercredi 24 avril 2013 15:54:06 UTC-4, sebastie...@isen-lille.fr a
écrit :
>
> Hi everybody,
>
> I create a dynamic CellTable this way:
>
> for (int column = 0; column < arrListFilters.size(); column++) {
>> IndexedColumn IColumn= new IndexedColumn(column);
>> IColumn.setS
In
https://groups.google.com/forum/?start=&hl=en#!topic/google-web-toolkit/7CFHEhWUjQA[1-25-false]
I don't know what is "verbColumn" in my exemple.
In
http://stackoverflow.com/questions/16146094/gwt-columnsorthandler-setcomparator-for-all-columns-in-a-loop-make-the-sorting
I try to do the same
Thanks for your answer.
I didn't know what to do, so I test with the 0th entry. I know that it is
not the solution.
In your answer, columnIndex is my "i" I guess? I can't get it, it must be
"final".
I try to do that, but it doesn't work too:
i=0;
> while(i *final Column, ?> column= table.ge
Hi everybody,
I create a dynamic CellTable this way:
for (int column = 0; column < arrListFilters.size(); column++) {
> IndexedColumn IColumn= new IndexedColumn(column);
> IColumn.setSortable(true);
> table.addColumn(IColumn, arrListFilters.get(column));
> }
>
> final ListDataProvider> provider =
Thank you for your answers.
- Thomas:
Yes, it works. But the problem is that I don't know John. It can be
anything else. For example the JSON can be: *{"records": [{"names":
{"Cedric": ["50", "H", "US"], "Jean": ["50", "H", "US"]}, "style": "TR"}]} *or
{"records": *[{"names": {"Blabla": ["50",
Thanks. I try it, but I don't undestand how does it works... Do you have
simple examples or tutorials?
I try to do it:
*interface Person {
Names getNames();
String getStyle();
}*
* interface Names {
// Other properties, as above
String getProp1();
String getProp2();
String getPro
Thank you for your answer. If I do that:
*public final native JsArray getTest()
/*-{
return this.records[0].names.John;
}-*/;*
*
*I get *50,H,US, *so it's OK for that. But I'm not supposed to know
"John" or "Jack", so how can I get them?
Le samedi 30 mars 2013 12:00:06 UTC
Hi everybody,
I want to read this kind of JSON with GWT:
{"records": [{"names": {"John": ["50", "H", "US"], "Jack": ["50", "H",
"US"]}, "style": "TR"}]}
I use overlay for that.
If I use that, I get "TR":
public final native String getStyle()
/*-{
return this.records[0].style;
Hi all,
I try to use overlay type on this kind of JSON:
{"records": [{"names": {"John": ["50", "H", "US"], "Jack": ["40", "H", "EN"]},
> "style": "TR"}]}
So, to get the value of "style", I do that and it works:
public final native String getStyle()
> /*-{
> return thi
Hi everybody,
I want to read this kind of JSON with GWT:
*{"records": [{"names": {"John": ["50", "H", "US"], "Jack": ["50", "H",
"US"]}, "style": "TR"}]}*
I use overlay for that.
If I use that, I get "*TR*":
* public final native String getStyle()
/*-{
return this.records[0
HTH,
> /dmc
>
>
>
>
>
>
>
> On Thu, Feb 24, 2011 at 7:09 AM, sebastien wrote:
> > my config is GWT 2.1 and Gilead 1.3.2.1839, hibernate3.jar
>
> > my project is named oppv.
>
> > my LoginService.java -- (package com.oppv.client.remote)
>
> > public
cbgdlogu6oau
Content-Length: 177
Origin: http://127.0.0.1:
X-GWT-Module-Base: http://127.0.0.1:/com.oppv.Oppv/
Content-Type: text/x-gwt-rpc; charset=UTF-8
X-GWT-Permutation: HostedMode
Response headers
Content-Type: text/plain
My Result getName is :
tml either from a attachment from a email .. or other way)
Thanks,
Sebastien
--
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 grou
Hi
I extracted the code to a dedicated project:
http://code.google.com/p/gwt-i18n-server/
Now It supports Constants, ConstantsWithLookup, Messages (plural
included).
Regards,
Seb
On 8 fév, 13:42, Lucas de Oliveira wrote:
> Hi all,
> sorry to bring back the post but I'm having problems while try
Hu,
One year ago I write a simple support of I18N on server side. The
mechanism was based on Java reflexion. All is in a single class:
http://code.google.com/p/gwt-fusionchart/source/browse/trunk/fusionchart_server/src/com/raisepartner/chartfusion/web/server/gwti18n/GWTI18N.java
The simple call t
(a tiny problem of keyboard later ...)
This change is nice when the developpement team is cross plaform.
Due to this change you have to update your eclipse classpath.
Regards,
Seb
On 6 oct, 06:07, Sebastien wrote:
> Hi,
>
> The announce said the distribution is no more specific to a
Hi,
The announce said the distribution is no more specific to a platform.
So I suppose gwt-dev-*.jar have been replaced by a single and portable
jar: gwt-dev.jar. This change is nice when the developpement te
On 6 oct, 05:29, hezjing wrote:
> Hi
>
> I'm trying to configure GWT 2.0 milestone 1 i
Hi,
Same problem for me with my application !
My application works fine in compiled mode. But in debug mode (hosted)
with OOPHM it throws the exception on the server side.
The use of OOPHM is required under linux (with 64bit processor)
because the hosted mode (with Mozilla 1.7...) crashes every
Hi,
Be careful, the use of Date instance between client side and server
side takes in account the time difference between geographical areas.
Then if your client lives in USA whereas your web server is in Europe
(my case), the formated date is not the same. There is al least 6
hours in less ... B
Hi,
Concerning the first question, the solution is simple. I developed a
tool class to use on server side. The class GWTI18N permits to obtain
dynamically an implementation of the XXXMessage interface (sub
interface of gwt Message interface).
Here is a link to the class :
http://code.google.com/
Simply call the url corresponding to your servlet. If the servlet
provides an image, you have to use the Image class and specify the url
of the servlet. In addition when you build the url you can assign
parameters: ../my_servlet_url?myparam1=myValue1&myparam2=myValue2
Be careful with the path of
Maybe, you can have a try what there?
>
> On Feb 9, 2:49 am, Sebastien wrote:
>
> > Hi,
>
> > I am interested to migrate from the 1.5.3 to the 1.6.0 M1. When I use
> > this M1 with -war option, the the compiler output is not like an
> > expanded war. I tried to
Hi,
I am using GWT 1.5.3 version. Since 3 years I worked with GWT under
linux (ubuntu 8.10) with a 32 processor. Since few days I have a new
computer with 64bit processor (ubuntu 8.10 again). My project works
well in compiled mode. But at each time, I use the simulator
(GWTShell), it crashes quic
Hi,
You have to divide your screen space in severl areas managed by
panels. On click event you can update the content the expected panel.
Take a look to the samples provided in the binary distribution.
Regards,
Seb
On 8 fév, 15:41, lidos wrote:
> Hello,
> I m new to gwt community and i would l
Hi,
- First, I suggest you to use SmartGWT. GWT ext will not evolve lot
due to ext licence. GXT is not free and today it does not offer enough
widgets than smart GWT.
- Second you have to play with CSS. For the last point I advice you to
define an interface containing style definitions (String fi
Hi,
I am interested to migrate from the 1.5.3 to the 1.6.0 M1. When I use
this M1 with -war option, the the compiler output is not like an
expanded war. I tried to specify all parameters (-war, -gen, -
extra ..) without success. The output of the compiler is always
similar to the output of the 1.
On client side, you can use a static variable to store your data.
On 15 sep, 05:32, "Ian Petersen" <[EMAIL PROTECTED]> wrote:
> On Sun, Sep 14, 2008 at 11:00 PM, hezjing <[EMAIL PROTECTED]> wrote:
> > What I want is how to access the session from the client code?
>
> Impossible. The session exis
Hi,
I tried Chrome with my GWT application and I found a bug : When I
click on something (button, text, link ...), the page immediately goes
up to the begin of the page and my cick is ignored. This problem
occurs on Windows because Chrome is available on Windows only.
But, since several months, I
43 matches
Mail list logo