GWT Generator TypeOracle not listing all the classes

2013-12-22 Thread Komal
I am trying to useTypeOracle to find classes annotated with my custom 
annotation.
But there are a few classes that are getting skipped and not being listed 
in TypeOracle, By debugging and digging around I found most of the classes 
were annotated with @GWTCompatible which when removed a lot of classes 
appeared but a few more classes in-spite of them not having any such 
annotation were skipped, it appears that there are some cyclic references 
due to which these are skipped and not loaded. 

 Is there a way to get all the classes loaded even if there are some cyclic 
references?


-- 
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 group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


GWT Wrapper for Twitter Bootstrap v3!

2013-12-22 Thread Joshua Godi
I just wanted to let the GWT world know about this GWT wrapper for Twitter 
Bootstrap v3. Almost feature complete too.

Check it out: https://github.com/gwtbootstrap3/gwtbootstrap3.

Thanks,
Joshua Godi

-- 
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 group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: How to generalize the methods in AccessImpl

2013-12-22 Thread Jens
I have no idea what AccessImpl is but I think you want composition instead 
of inheritance. Inheritance is suitable to "is-a" relations and "AccessImpl 
is a HttpSession" sounds wrong, doesn't it? You want two classes for 
HttpSession methods and basic social media functions and then give both 
these classes to AccessImpl via its constructor.

-- J.

-- 
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 group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


How to generalize the methods in AccessImpl

2013-12-22 Thread Leung
Hi

I dont want to have a huge AccessImpl. Some general features like handling 
HTTPsessions or social media functions should be put in a separate file. Only 
more specialized features like, retrieving user profile from facebook, are left 
in the AccessImpl. For Java, we can only extends from one super class. But I 
will have more than one super class, HttpSession, SocialMedia... 

Is there any suggestions? design pattern?


Thanks
Ming

-- 
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 group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: CellTable - ListDataProvider - Table not updating on subsequent calls

2013-12-22 Thread Javed
I actually found the underlying cause.  Basically on the second update I am
getting an optimistic locking error.

But I am convinced I am using my JPA correctly.

Does that ring any bells or jog your memory?


On 21 December 2013 15:54, Alfredo Quiroga  wrote:

> Ufff it's been so long I can't remember :( sorry and on top of it I
> deleted the project. I just read my own email again to see if I could tell
> what I was doing wrong and even now can't really tell.
>
> Sent from my iPhone
>
> On Dec 21, 2013, at 8:40 AM, Javed Sumra 
> wrote:
>
> Hello Alfredo.  I am having a similar issue.  Did you get to the bottom of
> this?
>
> Thanks
>
> On Saturday, August 4, 2012 3:10:46 PM UTC+1, Alfredo Quiroga-Villamil
> wrote:
>>
>> I am still investigating here on my side, but I have a feeling I might
>> be missing the obvious so if someone knows what I am missing or
>> potentially doing wrong please let me know.
>>
>> Elements:
>>
>> - A CellTable
>> - A ListDataProvider
>> - RequestFactory
>> - A "refresh" button
>>
>> Scenario:
>>
>> - The CellTable is populated via RequestFactory.
>> - On the first load, all data is shown in the table (all rows are
>> populated)
>> - I have a button (refresh).
>> - The Table can be edited, so as an example I edit the first row,
>> first cell and simply change the text to something else.
>> - I click on the refresh button and load a brand new list of proxies
>> from the server using request factory.
>> - I clear my provider's list and add the new proxies.
>> - The new list doesn't replace the old values (previously edited).
>>
>> Curiosity:
>>
>> I've noticed that after I click refresh, although at first glance the
>> edited cell didn't change, if I click on it once or twice, it'll
>> correctly display the last value loaded from the server. This is very
>> unusual behavior. I've also tried to invoke refresh and flush on the
>> provider itself after adding the new set of proxies.
>>
>> Presenter's code that is invoked for the first load and subsequent
>> ones is shown below:
>>
>> @Override
>> public void readAll() {
>>
>> destinationContext = 
>> factory.getRequestFactory().createDestinationContext();
>>
>> destinationContext.findAll().with("cards",
>> "cards.trunks",
>> "daysOfWeek", "daysOfWeek.hourlySchedule", "holidays")
>> .fire(new Receiver>()
>> {
>>
>> @Override
>> public void 
>> onSuccess(List
>> proxies) {
>>
>> view.
>> getDestinationCellTable().getProvider().getList().clear();
>> view.
>> getDestinationCellTable().getProvider().getList().addAll(proxies);
>>
>> if (proxies != null &&
>> proxies.size() > 0) {
>>
>> view.getDestinationCellTable().getCellTable().getSelectionModel().setSelected(proxies.get(0),
>>
>> true);
>> }
>>
>> }
>>
>> });
>>
>> }
>>
>> I am still investigating here, but as I previously said if you see
>> that I am simply missing the obvious I would appreciate it if you can
>> let me know.
>>
>> Thank you in advance,
>>
>> Alfredo
>>
>> --
>> Alfredo Quiroga-Villamil
>>
>> AOL/Yahoo/Gmail/MSN IM:  lawwton
>>
>  --
> 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 group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>  --
> 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 group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 

Specsavers Forum 6, Whitely
DD: +44 1489 862310

NOTICE: This message contains privileged and confidential 
information intended only for the addressee. If you have received this message 
in error you must not disseminate, copy or take action on it; please notify 
specsavers.postmas...@specsavers.com Opinions expressed in this message are 
those of the sender and do not necessarily represent those of Specsavers. 
Although this e-mail and any attachments are believed to be virus free, e-mail 
communications are not 100% secure and Specsavers makes no warranty that this 
message is secure or virus f

Compiling GWT to single JS file

2013-12-22 Thread Dmytro Dovzhenko
Hi,
I want to run my GWT module as desktop application using xulrunner, and I 
need to compile it in a single JS file and then embed it in html page. I'm 
compiling with 




But I get 
[ERROR] The module must have exactly one distinct permutation when using 
the Single Script Linker; found 0

My GWT application is too simply, just added a text field.

In firebug I see single JS file, but page shows nothing.

What did I do wrong? Are there another way to do it?

Thanks:)

-- 
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 group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.