Re: TextArea in Custom Cell won´t allow space characters

2014-04-15 Thread Jambi
Ahh got it working! I needed to override the isEditing method so that it 
will return true if the textarea is focused.

Am Dienstag, 15. April 2014 23:15:52 UTC+2 schrieb Jambi:
>
> It seems that for me it would be easier to prevent the CellList to prevent 
> the behaviour I mentioned. This approach seems to create a TextInput Cell 
> but I want to use my own Element composition within my CustomCell since the 
> TextArea is only one part of it. Or does this code have the necessary 
> fragments that would prevent the selection from intercepting the keyup 
> event for the space bar? 
>
> Am Dienstag, 15. April 2014 22:48:23 UTC+2 schrieb Juan Pablo Gardella:
>>
>> Check http://stackoverflow.com/questions/8080052/gwt-textarea-in-column
>>
>>
>> 2014-04-15 17:35 GMT-03:00 Jambi :
>>
>>> Hey there,
>>>
>>> I am stucking with implementing a TextArea within a custom cell. The 
>>> focus event on click works and I can type in some characters. But the cell 
>>> won´t allow any space characters since the keyup on space bar seems to be 
>>> reserved by the CellList itself for selection stuff. What I want to do is 
>>> to completely disable/ignore all selection functionalities of the CellList 
>>> and I tried it with something like this:
>>>
>>> list.setKeyboardSelectionPolicy(KeyboardSelectionPolicy.DISABLED);
>>>
>>> list.setSelectionModel(new NoSelectionModel());
>>>
>>> but theres no difference. Arrow key up and down should also be disabled. 
>>> I just want the regular TextArea behaviour int the TextArea.
>>>
>>> In my CustomCell class in onBrowserEvent I can do something like this 
>>> (after registered the KEYUP event in the constructor):
>>>
>>> if(event.getType().equals(BrowserEvents.KEYUP) && event.getKeyCode() == 
>>> KeyCodes.KEY_SPACE) {
>>>   ... code does execute here ...
>>> }
>>>
>>> But I have no Idea how to implement the native space bar manually. It 
>>> should be easy to append a space character at the end of my textarea 
>>> string. But I would need the cursor position if I want to put a space in 
>>> between characters and so forth. This would be one huge hack. I wouldn´t 
>>> like this ,). Wouldn´t solve the key up and down issue though.
>>>
>>> I wasted hours on this now... please help (=
>>>
>>>
>>> Cheers,
>>>
>>> Michael
>>>
>>>
>>>  -- 
>>> 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-we...@googlegroups.com.
>>> Visit this group at http://groups.google.com/group/google-web-toolkit.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>

-- 
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/d/optout.


Re: TextArea in Custom Cell won´t allow space characters

2014-04-15 Thread Jambi
It seems that for me it would be easier to prevent the CellList to prevent 
the behaviour I mentioned. This approach seems to create a TextInput Cell 
but I want to use my own Element composition within my CustomCell since the 
TextArea is only one part of it. Or does this code have the necessary 
fragments that would prevent the selection from intercepting the keyup 
event for the space bar? 

Am Dienstag, 15. April 2014 22:48:23 UTC+2 schrieb Juan Pablo Gardella:
>
> Check http://stackoverflow.com/questions/8080052/gwt-textarea-in-column
>
>
> 2014-04-15 17:35 GMT-03:00 Jambi 
> >:
>
>> Hey there,
>>
>> I am stucking with implementing a TextArea within a custom cell. The 
>> focus event on click works and I can type in some characters. But the cell 
>> won´t allow any space characters since the keyup on space bar seems to be 
>> reserved by the CellList itself for selection stuff. What I want to do is 
>> to completely disable/ignore all selection functionalities of the CellList 
>> and I tried it with something like this:
>>
>> list.setKeyboardSelectionPolicy(KeyboardSelectionPolicy.DISABLED);
>>
>> list.setSelectionModel(new NoSelectionModel());
>>
>> but theres no difference. Arrow key up and down should also be disabled. 
>> I just want the regular TextArea behaviour int the TextArea.
>>
>> In my CustomCell class in onBrowserEvent I can do something like this 
>> (after registered the KEYUP event in the constructor):
>>
>> if(event.getType().equals(BrowserEvents.KEYUP) && event.getKeyCode() == 
>> KeyCodes.KEY_SPACE) {
>>   ... code does execute here ...
>> }
>>
>> But I have no Idea how to implement the native space bar manually. It 
>> should be easy to append a space character at the end of my textarea 
>> string. But I would need the cursor position if I want to put a space in 
>> between characters and so forth. This would be one huge hack. I wouldn´t 
>> like this ,). Wouldn´t solve the key up and down issue though.
>>
>> I wasted hours on this now... please help (=
>>
>>
>> Cheers,
>>
>> Michael
>>
>>
>>  -- 
>> 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-we...@googlegroups.com
>> .
>> Visit this group at http://groups.google.com/group/google-web-toolkit.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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/d/optout.


TextArea in Custom Cell won´t allow space characters

2014-04-15 Thread Jambi
Hey there,

I am stucking with implementing a TextArea within a custom cell. The focus 
event on click works and I can type in some characters. But the cell won´t 
allow any space characters since the keyup on space bar seems to be 
reserved by the CellList itself for selection stuff. What I want to do is 
to completely disable/ignore all selection functionalities of the CellList 
and I tried it with something like this:

list.setKeyboardSelectionPolicy(KeyboardSelectionPolicy.DISABLED);

list.setSelectionModel(new NoSelectionModel());

but theres no difference. Arrow key up and down should also be disabled. I 
just want the regular TextArea behaviour int the TextArea.

In my CustomCell class in onBrowserEvent I can do something like this 
(after registered the KEYUP event in the constructor):

if(event.getType().equals(BrowserEvents.KEYUP) && event.getKeyCode() == 
KeyCodes.KEY_SPACE) {
  ... code does execute here ...
}

But I have no Idea how to implement the native space bar manually. It 
should be easy to append a space character at the end of my textarea 
string. But I would need the cursor position if I want to put a space in 
between characters and so forth. This would be one huge hack. I wouldn´t 
like this ,). Wouldn´t solve the key up and down issue though.

I wasted hours on this now... please help (=


Cheers,

Michael


-- 
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/d/optout.


Re: Using Cells for 2D representation

2014-02-20 Thread Jambi
This seems to do the trick for me! Thanks

Am Donnerstag, 20. Februar 2014 00:42:53 UTC+1 schrieb Jens:
>
> Give your CellList a width of 100% and your cells a fixed width along with 
> display:inline-block.
>
> Doing so using the GWT showcase results in:
>
>
> 
>
> Alternatively you can use CellWidget to wrap your cell in a widget and 
> then use it in the widget land.
>
> -- 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.


Using Cells for 2D representation

2014-02-19 Thread Jambi
Hey there,

is it possible to define a 2D cell list (->grid) which is based on the cell 
paradigm to utilize functionality like paging etc? Basically I want to have 
a grid based representation like for example pinterest without having to 
rewrite functionality already given with cells.

Cheers,

Michael 

-- 
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.


Is there a nice Birthday date picker out there?

2013-01-24 Thread Jambi
Hey guys, 

I´m looking for a nice GWT birthday date picker but I can´t find a good 
one. The normal date picker isn´t very convienient for me since you can 
only skip month by month. Does anyone now a nice widget?

Cheers,

Michael

-- 
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: ERROR MAIL.JAR

2013-01-03 Thread Jambi
Are you trying to use the library directly from the client code? This won´t 
work since this is a server side issue. You need to invoke the mail service 
from the server via GWT-RPC for example.


best regards,

Michael
Am Mittwoch, 2. Januar 2013 21:44:22 UTC+1 schrieb Spartacus:
>
>
>
>
>
>
>
>
>
> I'm implementing mail.jar, but when running gives me error, [ERROR] 
> [Negev] - Line 174: No source code is available for type 
> com.EmpresasAdoc.server.MandarEmail, did you forget to inherit a required 
> module? .. Can you help me please.
>
> [image: Imágenes integradas 1]
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/tEUXyNCviqkJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



GWT RPC / GAE caching issue

2012-11-10 Thread Jambi
Hey Guys,

I´m running into a strange caching issue. I have two modules. One admin 
module and one user module. In my admin module I can add an entity and 
persist it to the GAE datastore (via objectify). Everything works fine 
there. In my user module I have two activites: one for showing a list of 
those entities and one entitiy-detail activity. When I change one of those 
entities in the admin module all changes are showed in the entity-list 
activity. But when I switch to the detail view of the entity, it shows an 
old version. No matter how many times I hit refresh. Datastore looks fine 
and I don´t use memcache at this point. The list and detail activity are 
using the same service interface/server side servlet. It´s really weird. I 
checked the payload - it´s always the first response of a request after 
redeploying or restarting the server (yes - changes appear after restarting 
the app). 

I don´t get it. The admin module is using a different service but the 
method for fetching a single entity is the same as in the user-end service. 
Changes appear there immediately. I´m not even sure if this is a GWT issue 
because in every browser I try to fetch the entity, the same (old) entity 
gets fetched again. So it must be a GAE issue. But maybe one of you guys 
have some advice. 

Thanks,

Michael

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/wwKm4a8Y2m0J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Announcing GwtChosen 1.1.0!!

2012-10-27 Thread Jambi
thanks for this good work! I will definetly use those widgets in my next 
project!

Am Donnerstag, 25. Oktober 2012 00:00:42 UTC+2 schrieb Julien Dramaix:
>
> Dear Community, 
>
> I've just released GwtChosen 1.1.0. This release fix some bugs and 
> bring two new enhancements : 
> - possibility to customize the CSS via the ChosenOption object 
> - add optgroup support to the ChosenListBox widget. 
>
> Don't forget to change your pom. xml or download the last jar file 
> (
> http://code.google.com/p/gwtquery-plugins/downloads/detail?name=gwtchosen-1.1.0.jar)
>  
>
>
> Thanks to those who opened issues, proposed fixes and/or tested them. 
>
> Documentation and example : http://jdramaix.github.com/gwtchosen/ and 
> http://jdramaix.github.com/gwtchosen/widgetsample/index.html 
>
> Changes in this release : 
>
> https://github.com/jDramaix/gwtchosen/issues?milestone=2&page=1&state=closed 
>
>
> Julien 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/0yKx-B3tN2MJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Announcing Screencast on how to setup Gin for IOC

2012-10-06 Thread Jambi
Great! Thanks a lot! The stream is a little bit slow though

Am Samstag, 6. Oktober 2012 07:58:44 UTC+2 schrieb gpike:
>
> Hi everyone just wanted to let you know I released a screencast on using 
> Gin in your GWT application to control the lifecycle of your objects. Gin 
> extends the features of Guice for use in your client code. It can be 
> beneficial in writing more componentized code, that is easier to test and 
> or mock. Check it out and the source code is available on GitHub.
>
>
> http://www.gwtcasts.com/2012/10/05/gin-as-an-inversion-of-control-container-in-gwt/
>
> Thanks,
>
> Gordon Pike
> easygwt.com
> gwtcasts.com
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/YuR9MtCd0twJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT Dev Plugin broke (Chrome/mac osx)

2012-09-26 Thread Jambi
Thanks for the hint! I´ll try it later

Am Mittwoch, 26. September 2012 20:57:15 UTC+2 schrieb Thad:
>
> I've got it working! See 
> https://groups.google.com/d/msg/google-web-toolkit/jDg3KoXoVPc/9PcgFBvLJM8J
>
> On Wednesday, September 26, 2012 12:49:08 PM UTC-4, Jambi wrote:
>>
>> Hey guys,
>>
>> today I was starting my gwt app in Chrome and there appears a message 
>> that the dev plugin couldn´t be loaded. I think this could be the fault of 
>> an auto update... Does anyone else have this issue on Mac osx with Chrome 
>> 22.0.1229.79 
>> and dev plugin 1.0.9738?
>>
>> this drives me crazy oO!
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/mH4je9gXSXIJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT Dev Plugin broke (Chrome/mac osx)

2012-09-26 Thread Jambi
Yes, usually i do. But right now i´m developing with MGWT (so webkit only).

Am Mittwoch, 26. September 2012 20:01:37 UTC+2 schrieb Jens:
>
> You should also consider using Firefox during development. The DevMode 
> plugin for Firefox is *a lot faster* than the Chrome plugin.
>
> -- J.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/kLepPTEntY0J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT Dev Plugin broke (Chrome/mac osx)

2012-09-26 Thread Jambi
Thanks! It works!

here some links:

http://mac.oldapps.com/google_chrome.php?old_chrome=1242

http://osxdaily.com/2012/04/06/disable-google-chrome-automatic-software-update/

Am Mittwoch, 26. September 2012 19:41:59 UTC+2 schrieb Jens:
>
> It works with stable Chrome 21.x.xxx. Just don't use the Chrome Beta build.
>
> -- J.
>
> Am Mittwoch, 26. September 2012 18:49:08 UTC+2 schrieb Jambi:
>>
>> Hey guys,
>>
>> today I was starting my gwt app in Chrome and there appears a message 
>> that the dev plugin couldn´t be loaded. I think this could be the fault of 
>> an auto update... Does anyone else have this issue on Mac osx with Chrome 
>> 22.0.1229.79 
>> and dev plugin 1.0.9738?
>>
>> this drives me crazy oO!
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/Qv2Su-1xdskJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT Dev Plugin broke (Chrome/mac osx)

2012-09-26 Thread Jambi
ah ok! have you figured out a convienient way to roll back the versioning? 
maybe someone has an idea which old version to use. I was trying an older 
beta but it still won´t work

Am Mittwoch, 26. September 2012 19:23:25 UTC+2 schrieb John:
>
> YES!!  And I thought maybe uninstalling/reinstalling the plugin might 
> help, but it doesn't reinstall. :(
>
> On Wednesday, September 26, 2012 12:49:08 PM UTC-4, Jambi wrote:
>>
>> Hey guys,
>>
>> today I was starting my gwt app in Chrome and there appears a message 
>> that the dev plugin couldn´t be loaded. I think this could be the fault of 
>> an auto update... Does anyone else have this issue on Mac osx with Chrome 
>> 22.0.1229.79 
>> and dev plugin 1.0.9738?
>>
>> this drives me crazy oO!
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/tJ72YECzyrYJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



GWT Dev Plugin broke (Chrome/mac osx)

2012-09-26 Thread Jambi
Hey guys,

today I was starting my gwt app in Chrome and there appears a message that 
the dev plugin couldn´t be loaded. I think this could be the fault of an 
auto update... Does anyone else have this issue on Mac osx with Chrome 
22.0.1229.79 
and dev plugin 1.0.9738?

this drives me crazy oO!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/eOJi-IvtvPQJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT future

2012-07-28 Thread Jambi
Ha :) check out the translation screen at 6:40 ;) 
http://youtu.be/VOf27ez_Hvg?t=6m35s maybe thats the reason why gwt 
development slowed down... sorry... could not resist ;)

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/pQj25esEQ3kJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: EventBus mechanism

2012-05-01 Thread Jambi
Seems that the onAddButtonClicked and onItemClicked methods perform some 
actions that involve other Presenters/Views that listen to those kinds of 
events. deleteSelectedContacts is just performing local changes that don´t 
affect other views. If there would be a different view that is showing a 
(for example) contact count and this view needs to know about some changes 
in your contacts, you would fire an event in deleteSelectedContacts.

Am Dienstag, 1. Mai 2012 15:01:20 UTC+2 schrieb Adio:
>
> Hi everyone, now that i am working with GWT i am facing a problem with 
> the event handling mechanism the first problem was ( 
>
> http://groups.google.com/group/google-web-toolkit/browse_thread/thread/17b679b499311756/8f06531e30bf0996#8f06531e30bf0996
>  
> ), but when i read this article MVP II ( 
> https://developers.google.com/web-toolkit/articles/mvp-architecture-2 
> ) - actually i read it several times - i still don't understand when u 
> to use EventBus mechanism and when not ? and if i have to use when u 
> use EventBus Handler and HandlerManage ?. 
> Here is what confuses me: 
>
> public class ContactsPresenter implements Presenter, 
> ContactsView.Presenter { 
> .. 
> public void onAddButtonClicked() { 
> eventBus.fireEvent(new AddContactEvent()); 
>   } 
>
>   public void onDeleteButtonClicked() { 
> deleteSelectedContacts(); 
>   } 
>
>   public void onItemClicked(ContactDetails contactDetails) { 
> eventBus.fireEvent(new EditContactEvent(contactDetails.getId())); 
>   } 
>
>  
> } 
>
> Why one method fires and event and the other just do some logic witch 
> is defined the class ? 
>
> Thank you all for your replies. 
>
> the source code of the example is here : 
> http://google-web-toolkit.googlecode.com/files/Tutorial-Contacts2.zip

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/-4L9VQklj1QJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Am I the only one who´s missing GWT on the new Google Developers Page?

2012-03-19 Thread Jambi
I am worrying about the fact that GWT lost its prominent placement on
the Google Code page. I can´t even find informations about GWT on the
new Google Developers page (haven´t checked very well though). What´s
the deal here? Is GWT´s silent death coming one step closer?

-- 
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Insane RPC Serialization Error.

2011-08-22 Thread Jambi
> Try to reproduce the error with a small example.


I would also recommend that. Are the classes KeyItem and LookupRow
serializable? Do they implement an interface for serialization?
Because they need to.

check out this documentation:
http://code.google.com/intl/de-DE/webtoolkit/doc/latest/DevGuideServerCommunication.html#DevGuideSerializableTypes

-- 
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Insane RPC Serialization Error.

2011-08-22 Thread Jambi
Could you post the class contents? Maybe we can see something in your
code.

On 22 Aug., 15:08, Stefan Ollinger  wrote:
> Some days ago I had a similar problem. Development version worked fine,
> but the compiled version gave those errors. What I did to resolve them,
> was to build my project from scratch. At the end I had a compiled and
> working version, having the same codebase like before.
>
> In the progress of resolving the error I also changed some eclipse settings:
>
> - Google Plugin for Eclipse -> Default GWT Version from 2.2 to 2.3
> - Updated Maven Dependencies: GWT 2.2. to 2.3.0, GWT Maven Plugin 2.2 to
> 2.3.0-1
>
> Finally I cannot say where this behaviour results from, but this is how
> I solved the problem.
>
> Regards,
> Stefan
>
> Am 22.08.2011 14:16, schrieb J.Ganesan:
>
> > Any anonymous inner class you have ? That could be a problem.
>
> > J.Ganesan
> >www.DataStoreGwt.com
>
> > On Aug 22, 4:38 pm, Gianluigi  wrote:
> >> The problem is that the serialization behaviour is different from web and 
> >> hosted mode...
> >> I don't know how I should resolve this...
>
> >> 
> >> Da: Gianluigi
> >> A: Google Web Toolkit
> >> Inviato: Luned 22 Agosto 2011 10:30
> >> Oggetto: Insane RPC Serialization Error.
>
> >> Hi to all,
>
> >> It's several days I'm struggling with this error.
> >> I make a rpc call from GWT client to a server passing an object.
>
> >> This pojo contain several data ... and a String with some JSON stuff.
>
> >> The call in DEBUG mode works absolutely fine. Not only in debug mode, but 
> >> when I use the application connected with the GWT browser plugin.
>
> >> In production mode... the seralization fails!!! Nothing on server side. I 
> >> investigate the call in firebug... and the output is:
>
> >> Fri Aug 19 18:13:11 GMT+100 2011 
> >> com.google.gwt.logging.client.LogConfiguration
> >> SEVERE: null java.lang.ClassCastException: null
>
> >> at Unknown.collect_0(Unknown Source)
> >> at Unknown.createStackTrace_0(Unknown Source)
> >> at
> >>   Unknown.fillInStackTrace_0(Unknown Source)
> >> at Unknown.fillInStackTrace(Unknown Source)
> >> at Unknown.$fillInStackTrace(Unknown Source)
> >> at Unknown.$$init_14(Unknown Source)
> >> at Unknown.Throwable_0(Unknown Source)
> >> at Unknown.Exception_0(Unknown Source)
> >> at Unknown.RuntimeException_0(Unknown Source)
> >> at Unknown.ClassCastException_0(Unknown Source) at 
> >> Unknown.dynamicCast(Unknown Source)
> >> at Unknown.makeValue(Unknown Source)
> >> at Unknown.makeValue_0(Unknown Source)
> >> at Unknown.$extractField(Unknown Source)
> >> at Unknown.extractField(Unknown Source)
> >> at Unknown.$extractData_0(Unknown Source)
> >> at Unknown.$makeObject(Unknown Source)
> >> at Unknown.makeValue(Unknown Source)
> >> at Unknown.writeObject(Unknown Source)
> >> at Unknown.serialize_33(Unknown Source)
> >> at Unknown.serialize_28(Unknown Source)
> >> at Unknown.$serialize(Unknown Source)
> >> ...
>
> >> That error output comes thanks to the -Dgwt.style=PRETTY ... otherwise 
> >> would be obfuscated.
>
> >> I'm struggling with this error. How is it possible that in debug mode 
> >> works properly?
>
> >> Any hints to resolve the issue?! THANKS!
>
> >> Muzero
>
> >> --
> >> 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-toolkit@googlegroups.com.
> >> To unsubscribe from this group, send email to 
> >> google-web-toolkit+unsubscr...@googlegroups.com.
> >> For more options, visit this group 
> >> athttp://groups.google.com/group/google-web-toolkit?hl=en.
>
>

-- 
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Why this code can't get the event??

2011-08-12 Thread Jambi
On 12 Aug., 11:07, Ivan Pulleyn  wrote:
> I notice that you are removing the widget from it's parent. That doesn't
> seem correct.

I´m thinking the same. You should probably just hide the widget

-- 
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT is for "apps" — right? But what's about static pages? (GWT's Future Plans...)

2011-08-04 Thread Jambi
> But there could be also a compile time approach. That is,* during compile
> time the appropriate static snapshots could be generated* to represent a
> certain state of the app pre-filled with certain default values. This would
> be even a more elegant solution as the server don't need to be bothered with
> this stuff in the future.

I don´t think this is a good idea. The dynamic content, that should be
crawlable, doesn´t exist at compile time.

-- 
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Using PHP as a server side scripting language with GWT.

2011-08-04 Thread Jambi
Hey Vikas,

using PHP is no problem. But you won´t be able to use GWT-RPC. You
have to use a JSON interface instead.

check out this doc: 
http://code.google.com/intl/de-DE/webtoolkit/doc/latest/tutorial/JSONphp.html

On 3 Aug., 14:12, Vikas Thapliyal  wrote:
> Hi,
>
> We have a PHP web site using Apache web server.
> I want to use GWT in this site.
>
> Can I use GWT as UI components and still use PHP as my server side
> scripting language or I have to shift to Java (for server side
> programming) to listen events from GWT conponents.?
>
> Any other problem that can be forseen with my approach.
>
> Thanks in advance.
> Vikas Thapliyal

-- 
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Facebook like Chat App with GWT

2011-06-27 Thread Jambi
Maybe you should check out the channel API from AppEngine. It works
with web sockets and it´s very easy to use. You should make use of
sockets because the server can notify the client if something new
happened. The client doesn´t have to poll all the time.

On 25 Jun., 22:23, gangurg gangurg  wrote:
> I am trying to implement a Facebook style Chat APP . I use JBOSS as my APP
> server . Can anyone share thoughts on how do I go about .
> I have GWT for my client .

-- 
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Problem with GWT Service results

2011-06-23 Thread Jambi
The proble is, that the code out of your onSuccess method is called
before the request is finished.


...
RootPanel.get("mainContainer").add(new Label("Array lista 2:
"+lista.toString()));
RootPanel.get().add(new Label(String.valueOf("Array
lista 2:
"+lista.size(;
for(int i = 0; i < lista.size(); i++){
RootPanel.get().add(new Label("BOTON "+i));
}
...

won´t work correct because your async request isn´t finished in the
time when you execute the code outside of the RPC. RPC calls are
asynchronous. That means, that the rest of the code executes directly
after the request is started. The onSuccess method gets called when
the result returns from the server.

you could put this code in an external method and call this method
inside of the onSuccess body.

Cheers, Michael




On 21 Jun., 09:39, Jose Luis Hernandez 
wrote:
> Hello!
> I have a problem. I am calling to server side on GWT. The results of
> call is an ArrayList (result). Inside onSuccess method another
> ArrayList is wrapped with the result. However, if I want to use
> ArrayList lista outside of onSuccess method it contains 0 elements,
> but inside is like result ArrayList. How can I solve it? I have tried
> to use lista as class attribute, static attribute,... but it doesn't
> run.
> Thanks!
>
> public void addContainers() throws Exception {
>                 final ArrayList lista = new ArrayList();
>                 gwtService.obtainAttributesDevice(1, new
> AsyncCallback>(){
>                         @Override
>                         public void onFailure(Throwable caught) {
>                                 System.out.println("ERROR");
>                                 Window.alert(caught.getMessage());
>                         }
>                         @Override
>                         public void onSuccess(ArrayList result) {
>                                 RootPanel.get("mainContainer").add(new 
> Label("Array result:
> "+result.toString()));
>                                 RootPanel.get().add(new 
> Label(String.valueOf("Array result:
> "+result.size(;
>                                 lista.addAll(0, result);
>                                 RootPanel.get("mainContainer").add(new 
> Label("Array lista 1:
> "+lista.toString()));
>                                 RootPanel.get().add(new 
> Label(String.valueOf("Array lista 1:
> "+lista.size(;
>                         }
>                 });
>                 RootPanel.get("mainContainer").add(new Label("Array lista 2:
> "+lista.toString()));
>                 RootPanel.get().add(new Label(String.valueOf("Array lista 2:
> "+lista.size(;
>                 for(int i = 0; i < lista.size(); i++){
>                         RootPanel.get().add(new Label("BOTON "+i));
>                 }
>
> }
>
>

-- 
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Resources on the "History" of GWT?

2011-06-22 Thread Jambi
Hey guys,

I´m planning to write my bachelor thesis about GWT. I want to write
about best practices and a whole bunch of patterns. I also want to
write something about the development and history behind GWT. Does
anyone know some good resources about that topic? Wikipedia and the
google docs don´t contain that much informations about this.

Cheers, Michael

-- 
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Sending large nested DTO object over RPC - Browser freezes

2011-06-17 Thread Jambi
How long does it take when you run the compiled code? I think the
hosted mode could be the problem here.

On 15 Jun., 22:34, ciosbel  wrote:
> Try to use this to better inspect RPC serialization/deserialization and
> round trip timings.http://code.google.com/p/gwt-debug-panel/

-- 
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Action on a ImageResourceCell

2011-06-07 Thread Jambi
Works ;) thanks a lot!

On 1 Jun., 15:49, Sydney  wrote:
> See my implementation:http://pastie.org/2003461http://pastie.org/2003467
>
> The call to add the column:
>
>         // Remove Bet Column
>         ClickableImageResourceCell removeCell = new
> ClickableImageResourceCell();
>         Column removeColumn = new Column , YourObject>(removeCell) {
>             @Override
>             public YourObject getValue(YourObject obj) {
>                 return obj;
>             }
>         };
>         removeCell.setUpdater(this);
>
> I use a ValueUpdater instead of a FieldUpdater. The class containing the
> CellTable implements ValueUpdater, I guess you can do the same
> with FieldUpdater.

-- 
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Action on a ImageResourceCell

2011-06-01 Thread Jambi
I could solve my problems and I got it to work. But now I want to use
a FieldUpdater to get the row object when I click on the cell. It does
not work with the tutorial solution. Do I have to add something?

On 1 Jun., 10:49, Jambi  wrote:
> I couldn´t get it working. And I don´t know what I did wrong. Could
> you please provide me with the code of your renderer, cell and
> cellTable setup? This would be great. I know that you sure customized
> your cell for your use cases but it really could help. You could send
> it via mail or just post the code here if you want. I´m sure that a
> lot of users could need a working implementation of a
> clickableImageCell... I´m wondering why there´s no build in
> implementation?
>
> Cheers, Mike
>
> On 31 Mai, 19:44, Sydney  wrote:
>
> > In a CellTable

-- 
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Action on a ImageResourceCell

2011-06-01 Thread Jambi
I couldn´t get it working. And I don´t know what I did wrong. Could
you please provide me with the code of your renderer, cell and
cellTable setup? This would be great. I know that you sure customized
your cell for your use cases but it really could help. You could send
it via mail or just post the code here if you want. I´m sure that a
lot of users could need a working implementation of a
clickableImageCell... I´m wondering why there´s no build in
implementation?

Cheers, Mike

On 31 Mai, 19:44, Sydney  wrote:
> In a CellTable

-- 
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Action on a ImageResourceCell

2011-05-31 Thread Jambi
Are you using this cell in a cellList or in a cellTable? I´m also
stucking with creating a clickable Image Cell

On 31 Mai, 16:16, Sydney  wrote:
> I actually followed this tutorial and now it works 
> fine:http://webcentersuite.blogspot.com/2011/03/custom-gwt-clickable-cell-...

-- 
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: CellTable: Displaying Action/Button cells only onHover

2011-05-16 Thread Jambi
I couldn´t figure out how to apply the class to my cells. Could you
please help help me out? Some code example would be nice ;)...

On 16 Mai, 12:27, Jambi  wrote:
> Thanks Thomas ;)
>
> You saved my life ... again :D
>
> On 16 Mai, 12:22, Thomas Broyer  wrote:
>
> > Yes, using CSS; something like:
>
> > .gwt-CellTable-cellTableCell .hiddenAction {
> >   visibility: hidden;
>
> > }
>
> > .gwt-CellTable-cellTableHoveredRowCell .hiddenAction {
> >   visibility: visible;
>
> > }
>
> > applying the hiddenAction class to your cell (I mean, your cell generates
> > some HTML that uses this CSS class).
>
> > The first rule hides your "actions" by default (when in a cellTableCell, but
> > that's optional, you could apply it mode widely to any hiddenAction,
> > whereever it is), while the second rule makes it visible again when in a
> > cellTableHoveredRowCell, which CellTable applies to a cell when its row is
> > hovered.
>
> > Don't forget to @Import(CellTable.Style.class) on your CssResource in your
> > ClientBundle so the gwt-CellTable-* classes really mean what you'd think
> > they mean ;-)

-- 
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: CellTable: Displaying Action/Button cells only onHover

2011-05-16 Thread Jambi
Thanks Thomas ;)

You saved my life ... again :D

On 16 Mai, 12:22, Thomas Broyer  wrote:
> Yes, using CSS; something like:
>
> .gwt-CellTable-cellTableCell .hiddenAction {
>   visibility: hidden;
>
> }
>
> .gwt-CellTable-cellTableHoveredRowCell .hiddenAction {
>   visibility: visible;
>
> }
>
> applying the hiddenAction class to your cell (I mean, your cell generates
> some HTML that uses this CSS class).
>
> The first rule hides your "actions" by default (when in a cellTableCell, but
> that's optional, you could apply it mode widely to any hiddenAction,
> whereever it is), while the second rule makes it visible again when in a
> cellTableHoveredRowCell, which CellTable applies to a cell when its row is
> hovered.
>
> Don't forget to @Import(CellTable.Style.class) on your CssResource in your
> ClientBundle so the gwt-CellTable-* classes really mean what you'd think
> they mean ;-)

-- 
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



CellTable: Displaying Action/Button cells only onHover

2011-05-16 Thread Jambi
Hey guys,

is it somehow possible to hide specific cells in the cell table? I
only want to display them when the user hovers over a row in the table
and the buttons should only be visibly for this row. Maybe some css
tricks?

best regards,

Michael

-- 
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Best practice for implementing an "active" field

2011-05-12 Thread Jambi
Hey guys,

maybe you have a good solution for this. I have a menu with some image
buttons that have three different states: Inactive, hover, active. The
activity or presenter to the corresponding button should trigger their
own button to active and the active buttons should not be triggered
onHover. Does someone have an elegant solution for this? I think I
need to do this all with gwt code because css would be to unfexible,
right?

BTW: Can we expect the GWT sessions on I/O to be online soon?

kind regards,

Michael

-- 
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT + Android

2011-05-09 Thread Jambi
Hola,

one problem is, that you can´t use GWT RPC in a "native" android app.
You have to use a JSON interface on the server side to fetch data from
the server. Not a big deal though. But you could develop the GWT app
first and then use something like phonegap to take your javaScript
code and compile an android app. In this case, you could use
everything that GWT can do - even RPC etc.. You could use deferred
binding to switch the browser views to mobile views. In this case, you
have to make heavy use of the Model View Presenter pattern.

On 7 Mai, 07:56, Henry  wrote:
> Hi:
>
> Hello from Mexico. I want to create a project using GWT + Android.
> ¿It's possible to mix them? ¿Any suggestion to start it?
>
> Greetings.

-- 
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT project with RSA

2011-05-09 Thread Jambi
I guess you can use the WebAppCreator
http://code.google.com/intl/de-DE/webtoolkit/gettingstarted.html#create

On 9 Mai, 02:17, Rama Krishna  wrote:
> Hi,
>
> I have to work on GWT with Rational software Architect  IDE. Please
> help me, How can I create GWT project from RSA.

-- 
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Good book on GWT

2011-05-08 Thread Jambi
Hey Pawan,

I think this is a good start:
http://www.amazon.com/Google-Engine-Java-Application-Development/dp/1849690448/ref=sr_1_1?ie=UTF8&s=books&qid=1304866598&sr=8-1

On 8 Mai, 16:36, "pawanpreet...@gmail.com" 
wrote:
> Hi All,
>
> I am new to GWT and had gone through initial quick starts on GWT site.
>
> Is there any book for getting clear fundamentals on GWT, more examples
> and helps me to build a project. I mean to say best book in market.
>
> Thanks
> Pawan

-- 
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



.css won´t render anymore in DevMode

2011-04-28 Thread Jambi
Hey guys,

I´m facing a realy strange problem. My default CSS file does not
render anymore in DevMode. Hosted on a Tomcat, everything renders
nicely. The strange thing is, that it just happened all of a sudden...
It seems to be some kind of voodoo. Firebug says that the css file is
fetched OK and I can check the css file in my Firebug console. The css
file is also embedded in the host HTML file. And as I mentioned, the
page renders nicely on Tomcat. The UiBinder css properties render
successfully in DevMode. I tried to embedd the default css file in my
module.xml file but it didn´t helped. It shows the same behaviour. The
file gets fetched, but does not render.

Any ideas?

cheers, Mike

-- 
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Channel API for GWT

2011-04-18 Thread Jambi
Check this out:

http://www.amazon.com/Google-Engine-Java-Application-Development/dp/1849690448/ref=sr_1_fkmr1_1?ie=UTF8&qid=1303128286&sr=8-1-fkmr1

-- 
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: MVP + Handlers + Carelessness = Memory Leak ?

2011-03-31 Thread Jambi
Hi Peter,

I´m not sure if i got your question right but I think the activities
and places pattern could help you. Normally, you have to care about
the unloading of your handlers, but within the activity framework, GWT
handles all the handler unloading as soon as you stop the activity
(remove the presenter). It shouldn´t be to hard to port an existing
mvp app into activities and places. I could be wrong, because I´m also
not that experienced, but I think this is the way to achieve this.

Cheers,
Mike

On 30 Mrz., 19:58, pete  wrote:
> Hallo,
>
> I'm not sure how GWT handles this, so I want to evaluate a short
> example scenario for memory leaks. Suppose I write my own handler
>
> public Interface BlubbHandler {
>     void onBlubb(BlubbEvent event);
>
> }
>
> have my presenter
>
> public class MyPresenter {
>     private final MyView view;
>     private final StringContainer justToBeFinal;
>
>     @Inject
>     public MyPresenter(MyView view) {
>         this.view = view;
>         view.addBlubbHandler(new BlubbHandler(){
>             justToBeFinal.setText("BLUBB");
>         });
>     }
>
> }
>
> and now my Widget is disposed. Will the memory it uses ever be freed?
> Or does the reference to view prevent view from being disposed, and
> the reference of view's BlubbHandler to justToBeFinal prevent
> MyPresenter to be disposed?
> I'm not even sure, how it would be in Java, but I think in Java this
> would cause a memory leak, wouldn't it?
> So do I have to add a dispose() method to pesenter, that must be
> called to null out the BlubbHandlers of view?
> And how is this handled with GWT's own event system? Or with event
> systems constructed on top of GWTs own one, using SimpleEventBus and
> extending / implementing GWT's classes?
>
> Anyone who is more versatile in these matters and can help me would be
> very appreciated :-) I don't want to find out after lines and lines of
> code, that I'm memory leaking like stupid...
> Greetz,
> Peter

-- 
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Post on remote server

2011-03-31 Thread Jambi
I don´t know if it´s possible from the client. But you can do the post
on your own server and exchange the data via GWT-RPC. That´s the way I
handle my OAuth authentication with facebook, google and twitter.

On 31 Mrz., 03:37, ns  wrote:
> Hello,
> I am new to gwt and i just have a quick question. I want to post to a
> remote server but whenever i try to do so using requestbuilder, i
> always get Cross Domain Restriction. If i use jsonp, i can't use
> "post". Is there some simple way in gwt to post to a remote server and
> get json response back?
>
> Thanks!

-- 
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: gwt rpc: reducing http headers overhead

2011-03-30 Thread Jambi
Hey Michele,

maybe this thread will help:

http://groups.google.com/group/google-web-toolkit/browse_thread/thread/a95c1eaeb55d2104

cheers, Mike

On 30 Mrz., 09:55, Michele Rossi  wrote:
> Hi,
> is there any way to configure the GWT RPC mechanism to send out fewer HTTP
> headers with requests?
>
> In my case the headers account for far more traffic than the RPC request
> payload.
>
> Many thanks,
> Michele
>
> POSThttp://192.168.151.88:/marketmon/ServiceResolver.gwtrpcHTTP/1.1
> Accept: */*
> Accept-Language: en-gb
> x-gwt-module-base:http://192.168.151.88:/marketmon/
> Content-Type: text/x-gwt-rpc; charset=utf-8
> x-gwt-permutation: 4F83005C396622954467A089562854DF
> Referer:http://192.168.151.88:/marketmon/IonWeb.html
> UA-CPU: x86
> Accept-Encoding: gzip, deflate
> User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR
> 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729;
> InfoPath.1; OfficeLiveConnector.1.4; OfficeLivePatch.1.3; .NET4.0C;
> .NET4.0E)
> Host: 192.168.151.88:
> Content-Length: 200
> Connection: Keep-Alive
> Pragma: no-cache
> Cookie: JSESSIONID=niz2rzplwvrv
>
> 7|0|5|http://192.168.151.88:/marketmon/|679695836251D111D4E029BE7F29A022|com.myservices.services.remoteservices.HeartbeatService|heartbeat|java.lang.Integer/3438268394|1|2|3|4|1|5|5|-1|

-- 
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Cookies in gwt

2011-03-26 Thread Jambi
Hey Khiem,

I think it´s not possible to have multiple Cookies with the same name.
Normally the new Cookie with the same name overrides the old one. You
should check this in Firefox. Just check the Cookies for your
localhost (127.0.0.1) in the Firefox preferences. You should only see
one Cookie with the specific name. I could be wrong, but you should
definetly check this.

Cheers, Mike

On 25 Mrz., 17:53, khiem nguyen  wrote:
> hi,
> it's possible to have cookies with the same name (with the same gwt-app)
> so if i call: Cookies.setCookie("name", "value"), with firebug i  can see
> there are many cookies with name="name" is sent.
> so it's not consitent if server needs only 1 correct info from cookie. i
> think about calling Cookies.removeCookie("name") before setting it. but
> 1. does it remove ALL cookies with this name the client ?
> 2. will calling Cookies.getCookieNames() return duplicate names or only
> DISTINC ?
>
> i want to be sure there's only 1 cookie with 1 name on the client ? what
> would be your suggestion ?
>
> thanx

-- 
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: DevMode server in AppEngine projects stops immediately after starting the server

2011-03-16 Thread Jambi
Ok I found a workaround here:
http://code.google.com/p/googleappengine/issues/detail?id=4712

I had to install the openJDK and I guess I have to wait for another
mac update to fix the problem. But it works now. Thanks for the hint
Jeff! ;)

-- 
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: DevMode server in AppEngine projects stops immediately after starting the server

2011-03-16 Thread Jambi
Ah I read it wrong, yes... The JDK is also up to date. Is it possible
to downgrade?

On 16 Mrz., 16:50, Jeff Larsen  wrote:
> I believe the latest mac JDK update broke gwt and appengine. Are you using
> that?

-- 
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: DevMode server in AppEngine projects stops immediately after starting the server

2011-03-16 Thread Jambi
Yep, everything is up to date. Is there a repository where I can get
older appengine versions?

On 16 Mrz., 16:50, Jeff Larsen  wrote:
> I believe the latest mac JDK update broke gwt and appengine. Are you using
> that?

-- 
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



DevMode server in AppEngine projects stops immediately after starting the server

2011-03-16 Thread Jambi
Hey guys,

I got a strange behaviour with my AppEngine projects. The Server in
DevMode stops 2-4 seconds right after starting the Server. But there´s
no exception or any error message. I´m pretty sure that it´s not an
issue with my own project because the same failure occurs when I
create a new GWT project with the sample app. One other weird thing is
that it worked one time in the last hours. The project is working fine
when it´s hostet on AppEngine.

the console is giving me this:

2011-03-16 16:33:53.675 java[4580:a07] [Java CocoaComponent
compatibility mode]: Enabled
2011-03-16 16:33:53.693 java[4580:a07] [Java CocoaComponent
compatibility mode]: Setting timeout for SWT to 0.10
Initializing AppEngine server
Logging to JettyLogger(null) via
com.google.apphosting.utils.jetty.JettyLogger
Successfully processed /Users/michael/Documents/Development/workspace/
test/war/WEB-INF/appengine-web.xml
Successfully processed /Users/michael/Documents/Development/workspace/
test/war/WEB-INF/web.xml
The server is running at http://localhost:/

---
After this the server stops...
Any Idea?

-- 
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: What do you think about my Session flow?

2011-03-11 Thread Jambi
Well, it would help if someone could come up with a usefull tutorial
or with a little bit more information. I haven´t found a useful guide
but maybe I was searching for a to specific GWT implementation. This
is a little bit hard to understand for me. Probably I should lern more
about servers, but where to begin?

On 11 Mrz., 10:29, Thomas Broyer  wrote:
> request.getUserPrincipal() != null ?

-- 
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: What do you think about my Session flow?

2011-03-10 Thread Jambi
And how to you verify the user as logged in in each request? I don´t
get it ;)

On 10 Mrz., 21:50, dmen  wrote:
> You should be bothering with any of this stuff. Session management is
> being handled by your java server (e.g. Tomcat) automatically.

-- 
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



What do you think about my Session flow?

2011-03-10 Thread Jambi
Hey there,

I have implemented a Session management for the first time and I would
like to know if it is an appropriate way to do it.

My Flow looks like this:

1. User loggs in
2. Server checks login informations

If the login informations are correct:

3. Server generates a SessionID, stores it in my Database (or would
you rather recommend to store the sessions in a HashMap on the server?
I don´t need to store any session informations. I like the approach
storing the session data in the DB, but I guess the HashMap approach
is a lot faster). I also calculate an expiration date for the session
and store it in the DB.

4. Server sends the SessionID back to the client where the ID is
stored in a Cookie.

5. With every request to the Server, the SessionID is going to be send
within the payload and every service method checks first if the
SessionID exists and is not expired. If the session is valid, the
server refreshes the expiration date so the session is staying alive.
Otherwise I throw an InvalidSessionException on the server which I´m
going to catch on the client. In this case the user is going to be
redirected to the login place and the Cookies are going to be
deleted.

Are there any flaws in my logic? I never implemented a session
management before. And I´m to unexperienced to work with frameworks
like Spring security.

thanks and cheers, Mike

-- 
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



How to use OAuth in GWT context?

2011-03-07 Thread Jambi
Hej Folks,

I am stucking with getting OAuth to work in my GWT App. I don´t
understand the whole system right now. I want to use the Twitter,
Facebook and Google authentication. I don´t need to access any data. I
just want it to use for authentication but I don´t understand what is
running on my server and what is running on my client. After the user
logs in via Twitter, he needs to specify a username. And after that,
the user data should persist in my database.

Does anyone know a good tutorial or sample or can explain the general
workflow for a GWT App?

cheers, Michael

-- 
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Accessing the new Google Recipe Database

2011-03-02 Thread Jambi
Hi there,

is it possible to query somehow the new Recipe Database that Google
offers? It would be cool if I could Access the Database so I could use
the recipes. Unfortunately, the service is not offered in Gemany, yet.
Is there an API? Any ideas?

-- 
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: how do i use google font api on uibinder/gwt?

2011-02-27 Thread Jambi
Just put



in the head section of your war/.html file. From then you can
use the font in your UI Binder. But you have to specify the css font
attributes (for example: ... font-family: 'Tangerine', helvetica,
arial, serif; ... this should do the trick). Works fine in my app.

Michael

On 25 Feb., 12:59, dadada  wrote:
> hi all,
>
> question as above.
>
> uibinder doesn't accept       href="http://fonts.googleapis.com/css?family=Tangerine";>
>
> /bryan

-- 
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: CellTable:: Deselecting an already selected row

2011-02-14 Thread Jambi
> If you use a SingleSelectionModel, it's as easy as
> sm.setSelected(sm.getSelectedObject(), false)

I am using this method on my CellTable and it works. But somehow I get
always an "com.google.gwt.event.shared.UmbrellaException: One or more
exceptions caught, see full set in UmbrellaException#getCauses"
Exception. Is this a know issue or do you think that my implementation
cout cause the problem?

My Code looks like this:

...
final SingleSelectionModel selectionModel = new
SingleSelectionModel();
Handler selectionHandler = new SelectionChangeEvent.Handler() {
public void onSelectionChange(SelectionChangeEvent 
event) {
Member selection = 
selectionModel.getSelectedObject();
eventBus.fireEvent(new 
ShowMemberEvent(selection.getBarcodeID()));
selectionModel.setSelected(selection, false);
}
};
selectionModel.addSelectionChangeHandler(selectionHandler);
...

Thanks,
Michael

-- 
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Combining UiBinder I18n with consants?

2011-02-11 Thread Jambi
Hey folks,

I was playing around with the UiBinder i18n today and I somehow
figured it out to make it work (It was a bit of a pain oO!). Ok, now I
got some properties files for my template, but is it possible to
access these translations from the property files as constants? To use
those "words" in my app as constans where I can´t use the UiBinder
like the Canvas element? And what if I have different UiBinder
Templates and need to translate the same words? They have the same
checksum, but can they access the property file from the other
template? Or do I need global property files? I don´t get the whole
system right now... In my eyes it would be unefficient to mix
constants and the UiBinder I18n. Do I have even a choice?

Cheers, Michael

-- 
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Is it possible to convert ImageResource to ImageElement?

2011-02-06 Thread Jambi
Hej Thomas,

it´s the same with your solution. The Image won´t appear on the
canvas. Maybe it is a bug since the canvas api is still experimental?
Maybe I should try a different approach to implement an image
preloader.

On Feb 6, 11:50 am, Thomas Broyer  wrote:
> Or, without creating an Image widget:
> AbstractImagePrototype.create(imageResource).createElement()

-- 
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Is it possible to convert ImageResource to ImageElement?

2011-02-05 Thread Jambi
Thank you for your quick response. At first I thougth it was going to
work, but the Image does not appear on the canvas. I tried this (as
you said):

Image map = new Image(mapResources.map());
contextMap.drawImage(ImageElement.as(map.getElement()), x, y);



On Feb 6, 2:47 am, Jeff Larsen  wrote:
> Have you tried
>
> Image img = new Image(ClientBundle.getImageResource());
> ImageElement.as(img.getElement());
>
> Haven't tested this, but it is worth a try.

-- 
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Is it possible to convert ImageResource to ImageElement?

2011-02-05 Thread Jambi
Hi there,

I´m playing around with the new Canvas API in GWT 2.2. Great stuff!
And I want to use a ClientBundle to get my Images for the Canvas, to
use it as some kind of image preloader. But the ClientBundle is giving
me ImageResource objects but I need ImageElement objects for the
Canvas.

This is the only way i figured out to add images on the canvas:

ImageElement imgMap = Document.get().createImageElement();
imgMap.setSrc("some URL");
contextMap.drawImage(imgMap, x, y);

It doesn´t seem to be possible to add normal GWT Image objects to the
canvas, or am I wrong?

But I would like to use the ImageResource from the ClientBundle. Any
ideas? Maybe I should try a different approach for an Image preloader?

cheers, Michael

-- 
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Announcing GPE/GWT 2.2M1

2011-01-28 Thread Jambi
Great news!

is there maybe a documentation for the Canvas API? I love the fact
that GWT 2.2 comes with a build in solution, but does it cover all
canvas functions? I´m stucking on drawing an image on the canvas. How
can I create an ImageElement that fits to the context?

On Jan 28, 8:25 pm, Thomas Broyer  wrote:
> OK thanks, so maybe I'll deploy them in our internal maven repo then, so
> I'll have RC1 when it'll be out.

-- 
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: All I Want for Christmas is a powerful Widget Library from Google !

2010-11-14 Thread Jambi
I definitely agree! The new CellWidgets are realy nice, but we need
more ;)!!

-- 
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 group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: MVP : VP to VP and Nested View communication

2010-11-11 Thread Jambi
I think an EventBus would work fine here. Check out this tutorial
http://code.google.com/webtoolkit/articles/mvp-architecture.html
(Events and the EventBus). A View (Presenter) can fire an event to the
EventBus and trigger events on a different View.

On Nov 11, 3:57 am, zixzigma  wrote:
> Hello Everyone,
>
> Problem: a View and its Presenter want to communicate with another
> View/Presenter.
> Special Case: one view is nested in another.
>
> background:
> to implement MVP for "one view and it's presenter"
>  we would need a View Interface, a View Implementation which is
> associated with a UiBinder, also a Presenter. Presenter uses View
> Interface's inner Interface, to communicate with ViewImplementation.
> (FooVIew, FooViewImpl, FooPresenter, ... )
>
> this i understand.
>
> now lets say we have another View/Presenter (BarView, BarViewImpl,
> BarPresenter)
>
> how can these two sets: Foo and Bar, communicate ?
> i think its best for them to communicate through interfaces,
> but i dont know who should be in control.
>
> and in scenarios that these two sets (Foo and Bar) are having "has a"
> relationship, should the interfaces talk ?
>
> #1
> FooViewImpl {
>
> private BarView barView;
>
> }
>
> #2 FooViewImpl{
> private BarPresenter barPresenter;
>
> }
>
> is it better if Views are Nested, or one presenter inside the other
> viewimpl (basically #1 or #2)
>
> if you have any experience with these situation, please help !

-- 
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 group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Entire Site in GWT?

2010-11-08 Thread Jambi
Hej Mike,

GWT Rocks :D! A lot has changed since 2008. And i mean, A LOT. I know
that there is a way now to allow web crawlers to scan your app but I
don´t know how, since i´ve never used it so far. By default all of the
JS script is loaded at start, but you can use "code split" to split
your JS code where you want. I recommend that you check out the GWT
talks from Google I/O 2010 and 2009. Most of the talks aren´t that
newbie friendly, but you get an idea of the capabilities GWT has.

On Nov 8, 5:49 pm, "mike.cann"  wrote:
> Hi Guys,
>
> First post on this list. I have searched for this question before
> posting. The only answer I could come up with was from a post in 2008
> (http://groups.google.com/group/google-web-toolkit/browse_thread/
> thread/c852ff3491f4d128/4b1d9c08a91e25ab?lnk=gst&q=suitable+for+entire
> +site#4b1d9c08a91e25ab) so I thought I would ask it again in case
> anything has changed.
>
> As a Flash / Flex developer new to web-dev im loving the extra
> structure and type safety offered by GWT so im really keen to use it
> exclusively for a new project.
>
> So my questions are:
>
> Is GWT suitable for writing an entire website? Specifically im looking
> to write a site that may sit within a Facebook iframe.
>
> Has the "GWT isnt web-crawlable" issue been solved now?
>
> Is the script for every page on your site downloaded at the start or
> is it downloaded as you click a link (as in a traditional site)?
>
> Are there any other barriers to making an entire site in GWT?
>
> Cheers,
> Mike

-- 
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 group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: New Showcase online!

2010-10-07 Thread Jambi
I don´t get this one...!?

I just wanted to mention that there are some new examples like the
cell widgets

On Oct 7, 1:14 am, Brian  wrote:
> Who IS that guy about to hack Jimmy Carter with a light saber?
>
> On Oct 6, 5:54 pm, Jambi  wrote:
>
> > Hurray!
>
> > There´s an updated showcase online ;)
>
> >http://gwt.google.com/samples/Showcase/Showcase.html

-- 
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 group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



New Showcase online!

2010-10-06 Thread Jambi
Hurray!

There´s an updated showcase online ;)

http://gwt.google.com/samples/Showcase/Showcase.html

-- 
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 group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: How does a GWT project work?

2010-09-28 Thread Jambi
Hi,

normally you just have one single onModuleLoad in your application.
This is the starting point of your later compiled JavaScript. You don
´t link to other pages. You just have one single container (your HTML
body / gwt RootPanel) in which you are fetching different "java" (DOM
objects/operations with your compiled gwt javaScript) classes. I
really recommend to check out all the tutorials on code.google.com and
also learning the basic concepts of web development and Ajax.

best regars, Michael

On Sep 28, 9:36 am, mattyh88  wrote:
> I'm wondering how to setup a real webapplication with GWT.
> Do you need a java file for every page in the client package with an
> onmoduleload function?
> How would you link to an other page from a page in your application?

-- 
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 group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: SelectionModel from 2.1M2 is not working in 2.1M3

2010-09-27 Thread Jambi
Ahh I got it working with this code:

public void setSelectionModel() {
final SingleSelectionModel selectionModel = new
SingleSelectionModel();
Handler selectionHandler = new SelectionChangeEvent.Handler() {
public void onSelectionChange(SelectionChangeEvent 
event) {
Member member = 
selectionModel.getSelectedObject();
eventBus.fireEvent(new 
ShowMemberEvent(member.getBarcodeID()));
}
};
selectionModel.addSelectionChangeHandler(selectionHandler);
this.display.setSelectionModel(selectionModel);
}

is that the normal way?

-- 
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 group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



SelectionModel from 2.1M2 is not working in 2.1M3

2010-09-27 Thread Jambi
Hey guys,

I switched from GWT 2.1M2 to M3 the last days and I still have a
problem with setting the SelectionModel. Before I had something like
this:

public void setSelectionModel() {
final SingleSelectionModel selectionModel = new
SingleSelectionModel();
SelectionChangeHandler selectionHandler = new
SelectionChangeHandler() {
public void onSelectionChange(SelectionChangeEvent 
event) {
Member member = 
selectionModel.getSelectedObject();
eventBus.fireEvent(new 
ShowMemberEvent(member.getBarcodeID()));
}
};
selectionModel.addSelectionChangeHandler(selectionHandler);
this.display.setSelectionModel(selectionModel);
}

selectionModel.addSelectionChangeHandler() is expacting a Handler, but
I can´t pass my selectionHandler to it anymore. It worked fine in M2.
I have to say, that I don´t get everything of the new CellTable. A
good documentation would be realy nice. Maybe you guys can help me out
with that problem?

Thanks, Michael

-- 
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 group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Crop a photo stored locally

2010-09-23 Thread Jambi
Hi there,

isn´t there maybe a way to do this with HTML 5? There is a lot going
on right now with image processing and I was asking myself the same
question about cropping.

-- 
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 group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Checkbox in new CellTable?

2010-09-22 Thread Jambi
Hey guys,

is it possible somehow to insert a checkbox column for each row in the
new CellTable widget? I can´t manage it :/
A code snippet would be useful.

best regards, Michael

-- 
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 group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: MVP Question

2010-09-06 Thread Jambi
> o Consider presenters as singletons
> o Consider Gin

I haven´t tried Gin till now because I try to learn step by step how
MVP etc. works. I´m pretty new to programming and GWT so it´s really
hard for me to try all the opportunites you have now in gwt (MVP, gin,
guice, eventbus, etc). Right now, I don´t even know what even
dependency injection is. But as I said, I´m trying to learn it step by
step.
So you would recommend Gin to solve such problems?

> I don't use history management (yet), but you shouldn't need to create a
> new presenter just to go to a place.

So what would be the best practices to recall my presenter singleton?

> You probably want to deregister your handlers before switching to Page
> B, and reregister upon returning to page A.

Same question here, what would be the best practice for that? I haven
´t seen something like that in the gwt mvp tutorial.

-- 
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 group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



MVP Question

2010-09-06 Thread Jambi
Hey guys,

I have some problems with my MVP architecture. Do I have to "destroy"
my old presenter instances when I´m creating a new one? For example:

I´m on page A and switch to page B. After that I go back to page A and
create another instance of pageApresenter with my history management.
But it feels, that the old instance of my presenter runs in the
background and is also affecting my actions. When I´m now fireing an
event to the eventBus the event is called twice or more often if I
switch another time to page B and then back to page A.

My routine to create those presenters looks like this:

...

Presenter contentPresenter = null;

if (token.equals("adminMembersShowMembers")) {
contentPresenter =  new MemberListPresenter(rpcService, 
eventBus,
new MemberListView(eventBus));
} else if ...

contentPresenter.go(display.getContentContainer());

...

I would appreciate your help ;)

thanks, Michael

-- 
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 group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



How much do you charge for your GWT/development services?

2010-09-02 Thread Jambi
Hey guys,

I know that this isn´t maybe the right place to talk about money. But
we are offering a service like any other (but maybe in a better
way ;) ). I´m just interested how much you guys think is an average
price/hour to charge for a GWT project (And let´s say that you have a
average knowledge and already gathered some experience in this field)?
I´m just curious since i´m new to this business.

best regards, Michael

-- 
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 group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Using an App-wide RPC serive or multiple services?

2010-08-30 Thread Jambi
Hey guys,

another question from me ;)! What is your approach for your rpc logic?
Are you having an App-wide RPC service you pass to each presenter or
are you having multiple service classes you instatiuate in the
presenter you need it? I´ve seen both approaches in different gwt
examples and i´m not realy sure which is the best. What do you guys
think?

-- 
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 group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: What are the benefits of using a MVP Framework?

2010-08-30 Thread Jambi
Ah Ok! I think the reasons are now clear to me. I guess i will check
out some of those frameworks. Thanks guys ;)

-- 
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 group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: What are the benefits of using a MVP Framework?

2010-08-30 Thread Jambi
Hey Gal,

thanks for the answer. Yes, I learned that already and I think I
posted my question wrong. I wanted to know what´s the difference in
implementation if I decide to import an extern library which was build
for MVP uses insted of writing my MVP code from scratch? What would be
the benefits of that decision? Maybe i´m just thinking in a complete
wrong direction, and my question makes no sense. As i mentioned, i´m
very new to the whole MVP story I need it for dummies please ;)

-- 
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 group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



What are the benefits of using a MVP Framework?

2010-08-30 Thread Jambi
Hey guys,

i´m asking myself these days what´s the benefit of using a MVP
Framework like GWTP (never realy used it because i´m very new to the
whole MVP architecture) instead of writing your MVP app like it´s
described on the google code page? Is it a lot easier and more
comfortable? What´s the point of using a MVP framework at all, since it
´s "just" a design pattern? Isn´t there a good MVP integration coming
in GWT 2.1 so that it´s not realy worth it to start using those
frameworks or am I completely wrong?

thanks, Michael

-- 
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 group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Store information in Cookies?

2010-08-28 Thread Jambi
Hi,

i´m asking myself the same question. I guess you could store the data
you need later in a session on the server side and just save the
session id in the cookies. But I´m realy not sure whats the best way
to deal with those problems. Maybe someone knows a realy good tutorial
on sessions and gwt?

-- 
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 group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Is there a searchbar widget for data presentation widgets?

2010-08-27 Thread Jambi
Well, that´s all i needed to hear ;)!

Thanks a lot Thomas!

-- 
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 group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Is there a searchbar widget for data presentation widgets?

2010-08-26 Thread Jambi
Ok: I just found the part of the I/O where the widget is shown:

http://www.youtube.com/watch?v=_ToKWo_hcOk&feature=channel

-- 
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 group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Is there a searchbar widget for data presentation widgets?

2010-08-26 Thread Jambi
Hej Folks,

I´m pretty new to GWT so I´m still learning. So my question is, if
there is existing something like a interactive searchbar you can
combine with the new data presentation widgets? I think i´ve seen it
working before in some Google I/O video, but i´m not sure which video
it was.

best regards, Michael

-- 
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 group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Email support & client side security

2009-08-27 Thread Jambi

Hej folks, i´m a computerscience student from germany and I have some
questions about the GWT. I can tell that i´m a newbie in GWT and my
java skills aren´t that good, too. But I want to know if there´s
possible to set up something like an smtp server for email support in
gwt? How can I realize that? Is there maybe a tutorial? (still
learning ;)..) I would run the app on the app-engine... And how about
the client side encryption in gwt? I heard that there is no native
encryption in  gwt, but how to realize that? with https? A tutorial
would be nice here too ;). It would help me a lot if someone could
give me some answers.

greets, Michael

--~--~-~--~~~---~--~~
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-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---