I m expecting that both RequestFactory and gwt-rpc has less overhead than
vanilla json (at least, in terms of bandwidth - not sure about cpu
requirement differences between them), but if it turns out that neither
works on android, then it would suck to have to switch to json.
On Friday, Febru
Hi,
After a search on the net I didn't find an answer to this problem : I need
to make an RPC call from the onStop() function in order to inform the
server that the application is closing.
Apprently this doesn't work : the server never gets RPC-called from
onStop(). (I checked that onStop is c
Yes gwt-oauth2 is a client side sdk. I played with it, I noticed for no
reason the popup window will not close at times in FF, it remains blank
(not all the time, which was frustrating). Anyway, there are reasons to
prefer server side flow of OAuth. I mentioned a few in the web page.
Thanks.
Thanks for the tips.
I just changed my code to:
while (element.getLastChild() != null && element.getLastChild() instanceof
Element) {
element.removeChild(element.getLastChild());
}
But got the same error.
What do you mean by 1)? I don't see any null fields being used when I
debug in d
hope the following two tips are of help:
1 ) that sounds like a null pointer exception (natively). you are trying to
invoke a native field of a null value
2 ) removing all childrens iterating through them can be very tricky. See a
correct way of doing it manually :
https://code.google.com/p/g
When I override the method SimplePanel.clear() to remove all elements of
the contained element in SimplePanel, and then add a widget
throug setWidget() I receive the error (see the complete error below:
---
this.appendChild is not a function"?
I remove all element after SimplePanel performs
Thanks Thomas for your help and your work on GWT, I really think that GWT
wouldn't be as great as it is now without you.
It's probably better to make the that into the view instead of the
presenter. I was overcomplicating things.
Cheers
On Sunday, February 17, 2013 12:53:34 PM UTC+3, Thomas Br
Thanks Pedro for the help, I think I should look into DI and see it fits my
design well.
On Sat, Feb 16, 2013 at 10:09 AM, Pedro Lamarão wrote:
>
>
> Em sábado, 16 de fevereiro de 2013 00h39min15s UTC-2, MAQ escreveu:
>>
>> Hi,
>>
>> In my view there's a ListBox that its content should depend on
Hi,
I have a CellTable with sortable columns. I want to use the footer to
display some controls for the table. Therefore I provide the controls when
I add the Columns to the CellTable.
BUT if I click the footer elements, they not only execute my action, but
also the sort event.
How can I preve
Thanks, that works!
2013/2/17 Jens
>
> My guess.
>>
>> After dataProvider.getList().add(**foo) is executed,
>> DataDrid is updated asynchronously,
>> and you try to
>> dataGrid.getRowElement(...)
>> before this update happens.
>>
>
> Right. ListDataProvider uses Scheduler.get().scheduleFinally(
Hi,
In an application that uses Highchats and Bootstrap, the
"com.google.gwt.core.client.ScriptInjector" does not seem to be working
correctly for me.
Basically, during the onLoad() of my entrypoint, if I try to inject js
Highcharts.js dependency using the core gwt injector, I end up not
s
> My guess.
>
> After dataProvider.getList().add(foo) is executed,
> DataDrid is updated asynchronously,
> and you try to
> dataGrid.getRowElement(...)
> before this update happens.
>
Right. ListDataProvider uses Scheduler.get().scheduleFinally() to update
the DataGrid. That is done for perf
On Sunday, February 17, 2013 6:37:38 PM UTC+1, Rich wrote:
>
> Thomas,
>
> Thanks very much for the response.
>
> First, is there any way you can share a POM from one of your projects --
> or ideally point me at an entire open source project that uses it?
>
Hmm, there's
https://github.com/tbro
W dniu sobota, 16 lutego 2013 19:34:19 UTC+1 użytkownik muquit napisał:
>
> I needed to add OAuth login to a GWT app of mine but could not find
> anything nice. So I wrote an application to explore the idea. I am
> releasing the code with the hope that you will find it useful.
>
> The URL is: ht
W dniu sobota, 16 lutego 2013 23:26:19 UTC+1 użytkownik membersound napisał:
>
> Hi,
>
> I add a new entry to a DataTable and want to scroll it into the view, as
> it is added at the end of the list.
>
> @UiHandler("buttonAdd") {
> onAdd(ClickEvent evt) {
> Foo foo = new Foo();
> dataProvider.
Pheww,
Caught the culprit... The Locators.
---
@Override
*public* MyDto find(Class clazz,*final* Integer id) {
*return *new MyDAO.findById(id);//Earilier -> return create(clazz
I meant that you of course could also fetch data not only from your own
server. Eg you can use a public wheater webservice to periodically fetch
the data with a timer. Of course this is not restricted to your own server.
2013/2/17 Jeffrey Elrod
> Can you explain the "or elsewhere" part?
> On Fe
I know to include gwt-servlet.jar in my WAR's WEB-INF/lib, but do I also
need gwt-servlet-deps.jar in my deployed WAR?
Is gwt-servlet.jar the *only* GWT jar I should require for deployment? If
not, what else?
If I must include gwt-serlvet-deps.jar, I'm *guessing* I should *not* include
json.ja
On 2/17/2013 6:37 AM, vanessa vanessa wrote:
>
> Hi Jeffrey,
> Thanks for your answer, i don't know this library it sounds great .But if
> i understand the aim right i think it deals with calling form javascript
> the code generated by the gwt compiler. And what i need is a library
> that injects a
Can you explain the "or elsewhere" part?
On Feb 16, 2013 1:52 PM, "Alain Ekambi" wrote:
> They are mot mapped at all. JS is single threaded.
>
>
> 2013/2/16 Faissal Graviton
>
>> Hello,
>>
>> I'd like to use some Java Threads to pull some Resources and I'm
>> wondering how they are mapped into
Hi,
It's seems if I use the same RequestContext reference to create Proxy it
doesn't give a problem...
But what if I am getting a proxy from somewher else already populated with
values ...
is there a way to use that proxy or I just have to do all the setters and
getters to create new proxy
Hi Jeffrey,
Thanks for your answer, i don't know this library it sounds great .But if
i understand the aim right i think it deals with calling form javascript
the code generated by the gwt compiler. And what i need is a library that
injects a
compiled gwt module in a deployed application at runtime
Hi all,
At first is it a necessity to use 'InstanceRequest<>' for persisting
Entites?
Anyway what I am doing is
_
client
creating a proxy -> calling edit() [request.edit(proxy)] -> set the data
to proxy e.g.
proxy.setName("name')
...
...//Also some where setting th
Thanks Thomas, You always been a great help... :)
On Saturday, 16 February 2013 03:47:37 UTC+5:30, Thomas Broyer wrote:
> Because a ValueProxy has no "identity" (and therefore cannot be retrieved
> again later), .with() doesn't apply to it; it only applies to EntityProxy.
>
> On Friday, Febr
On Sunday, February 17, 2013 1:08:31 PM UTC+1, membersound wrote:
>
> Ok so this would mean I have to call the SetPageSize everytime I add a new
> entry. Hm that's not really ideal, can't I have auto-growing table?
>
Yes: use Integer.MAX_VALUE (or 1000, as you suggested) as the page size
(eith
Ok so this would mean I have to call the SetPageSize everytime I add a new
entry. Hm that's not really ideal, can't I have auto-growing table?
2013/2/17 Thomas Broyer
>
> On Saturday, February 16, 2013 7:32:25 PM UTC+1, membersound wrote:
>>
>> Hi,
>>
>> how can I disable paging for a CellTable
On Saturday, February 16, 2013 7:32:25 PM UTC+1, membersound wrote:
>
> Hi,
>
> how can I disable paging for a CellTable? I want to show all data in that
> table without limiting the size, to always show new entries at the bottom
> no matter how many are created.
> Would I have to initial create
On Saturday, February 16, 2013 7:22:05 PM UTC+1, membersound wrote:
>
> Hi,
>
> is there any panel that has a addDoubleClickHandler() Method?
>
> I want to use similar to the following, but apply it to a panel instead of
> a lable:
>
> @UiField
> Label label;
>
> @UiHandler("label")
> onDoubleLa
On Saturday, February 16, 2013 3:39:15 AM UTC+1, MAQ wrote:
>
> Hi,
>
> In my view there's a ListBox that its content should depend on the user's
> locale. I'm confused on whether the deferred binding (to create the list's
> internationalised content) should be in the presenter or in the view.
On Sun, Feb 17, 2013 at 7:46 AM, Rich wrote:
> Thomas,
>
> How does the plugin support supersource today. I've tried to piece this
> together from multiple searches and have something close to your option 3,
> but it's not clear.
>
> 1). How is the plugin configured to use main/src/super?
>
It's
30 matches
Mail list logo