Re: GWT 2.4 breaks JDK 5 compile support

2011-09-14 Thread ciosbel
Java 1.5 has been deprecated since gwt 2.2. http://code.google.com/webtoolkit/doc/2.2/ReleaseNotes.html#Java15 -- 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

Re: Drag n drop 2.4

2011-09-13 Thread ciosbel
Check this out: http://www.youtube.com/watch?v=KEkR1ox_K10 The MobileWebApp example in 2.4 should be a starting point. Docs still not exists. -- 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:

Re: Datagrid with ScrollPanel

2011-08-17 Thread ciosbel
Sorry, my bad. HasKeyboardPagingPolicy is an interface implemented by CellTable in 2.3 (in 2.4 or in trunk, the inheritance chain in slightly different but still working in the same manner) that defines a *setKeyboardPagingPolicy

Re: Datagrid with ScrollPanel

2011-08-16 Thread ciosbel
CellTable, DataGrid and in general all widgets that implements HasKeyboardPagingPolicy, have a KeyboardPagingPolicy field that can be set to INCREASE_RANGE in order to append the next page instead switching to it. Showcase shows this functionality with CellList, using a ShowMorePagerPanel (that

Re: number only text component

2011-08-14 Thread ciosbel
Do you men a textbox-like wih only numbers allowed? Checkout IntegerBox and DoubleBox. -- 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/-/FRzOfV6s7

Re: how to get iphone-like changing view animation

2011-07-02 Thread ciosbel
As said by Gal, Layout panel gives you max flexibility. A quick sample is the DeckLayoutPanel that put children in a deck with that kind of transition you are expecting. http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/index.html?com/google/gwt/user/client/ui/DeckLayoutPanel.html -- Yo

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

2011-06-15 Thread ciosbel
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 view this discussion on the web visit https://groups

Re: RPC calls

2011-06-13 Thread ciosbel
See https://groups.google.com/forum/#!topic/google-web-toolkit/82S_6LT5Ii0 -- 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/-/yNEHZjRKkJIJ. To post

Re: CellTree & SingleSelectionModel

2011-06-13 Thread ciosbel
Try here: https://groups.google.com/forum/?start&hl=en#!searchin/google-web-toolkit/CellTree$20asyncdataprovider/google-web-toolkit/jdQLj_oZTek/fuKmFMrbghsJ -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web

Re: TextBox filter

2011-05-20 Thread ciosbel
There is a handy IntegerBox (as well as DoubleBox and LongBox) that you can use instead of a simple TextBox. It parses and accepts only integer values inside a TextBox. http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/gwt/user/client/ui/IntegerBox.html In general if you want s

Re: Creating a Dialog Box that Returns Data to its Caller

2011-05-15 Thread ciosbel
Or just use the EventBus: once inserted name & number and clicked something like "Send", just fire a new event that the caller will hook on. If your widget is sufficiently complex to provide a two tier design (view & logic), put that in the logic (presenter/controller) part. -- You received thi

Re: GWT Creating Session ID using java.uti.UUID and ignoring Cookie header

2011-05-01 Thread ciosbel
GWT 2.3 comes with XSRF RPC builtin protection. See http://code.google.com/intl/it-IT/webtoolkit/doc/latest/DevGuideSecurityRpcXsrf.html that's an implementation of what already discussed in an old (but still interesting) document: http://code.google.com/intl/it-IT/webtoolkit/articles/security_f

R: View GWT RPC traffic

2011-04-15 Thread ciosbel
If you enable gwt logging and set the firebug handler you can see, inside firebug Console, the ouput of the serialized /deserialized request / response in plain text. See http://code.google.com/intl/it-IT/webtoolkit/doc/latest/DevGuideLogging.html#Different_Types_of_Handlers If you want to benc

R: Re: CellTree and RPC

2011-04-14 Thread ciosbel
Ok, this is old, but for future related questions, here is how i did. Define an AsyncDataProvider of your own, like: public class MyDataProvider extends AsyncDataProvider { protected void onRangeChanged(final HasData display) { // calling my RPC method to obtain inner elements

R: Old presenters registered on event bus, how to deal with this?

2011-04-13 Thread ciosbel
The signature of the method addHandler() that you use every time to add a handler on the bus for a particular event, is: public abstract http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/event/shared/EventHandler.html>> HandlerRegistration

Re: JPA & JAXB Classes with GWT RPC

2011-04-01 Thread ciosbel
I've managed to use them but with JAXB only. I've no experience with JPA. If you are not stucked with gwt-rpc, you can try to use the new requestfactory, keeping server side entities and make transferrable only the proxy types. But i'm not familiar with that either. -- You received this messag

Re: RPC Problem with HashMap containing ArrayList Value

2011-03-29 Thread ciosbel
I mean that instead using List as base type (that will create a serialization policy for all types that extend Serializable), you just use List where MyDTO is public interface MyDTO extends Serializable { } then gwt will create a serialization policy only for all types that implement MyDTO. B

Re: Spring Security

2011-03-29 Thread ciosbel
and here http://raibledesigns.com/rd/entry/integrating_gwt_with_spring_security -- 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

Re: Spring Security

2011-03-29 Thread ciosbel
It's two years old, but you can start here: http://seewah.blogspot.com/2009/02/gwt-and-spring-security.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-toolkit@googlegroups.com. To unsubs

Re: RPC Problem with HashMap containing ArrayList Value

2011-03-28 Thread ciosbel
Not necessarily a problem, but the serialization file is bigger and compilation can take a while longer. When i faced that problem i also see plenty of warnings, but maybe recent releases are less verbose. I got to use an interface that extends Serializable, and then mark my DTOs used with gene

Re: RPC Problem with HashMap containing ArrayList Value

2011-03-28 Thread ciosbel
Remember that gwt will create a serialization policy for all serializable types 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

Re: Async lazy load on scrolling (pagingscrolltable / celltable)

2011-03-02 Thread ciosbel
Just to say that CellTable (and all widgets that implements HasKeyboardPagingPolicy) has a KeyboardPagingPolicy that can be set to INCREASE_RANGE in order to append the next page instead switching to it. Showcase shows this functionality with a CellList, using a ShowMorePagerPanel (that extends

Re: Integrating GIN into HelloMVP sample from GWT

2011-03-01 Thread ciosbel
https://groups.google.com/forum/#!topic/google-web-toolkit/LtGZpCxQAVY might 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-toolkit@googlegroups.com. To unsubscribe from this group, se

Async lazy load on scrolling (pagingscrolltable / celltable)

2011-03-01 Thread ciosbel
Hi, I'm developing a gwt app in which I used (among other things) a table to present my items. The table is a PagingScrollTable from the gwt-incubator. So far I had no problems using it (and it helped me a lot...), but now I'd like to implement something like a lazy loading behavior as user scr

Re: PlaceTokenizer with no (trailing) token

2011-02-27 Thread ciosbel
I think you have to play around with http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/com/google/gwt/app/place/AbstractPlaceHistoryHandler.java?r=8815 but i've never tried. If you have luck, just tell us. -- You received this message because you are subscribed to the Goog

Re: how to remove the focus effect on disclosure panel

2011-02-17 Thread ciosbel
Just use outline: none css property on the header. See selectors here: http://google-web-toolkit.googlecode.com/svn/javadoc/2.2/com/google/gwt/user/client/ui/DisclosurePanel.html -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to

Re: com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException

2011-02-11 Thread ciosbel
Does it has a default zero argument constructor? Double check here if everything is met http://code.google.com/intl/it-IT/webtoolkit/doc/trunk/DevGuideServerCommunication.html#DevGuideSerializableTypes -- You received this message because you are subscribed to the Google Groups "Google Web Too

Re: PopupPanel

2011-01-28 Thread ciosbel
Mail sample. http://gwt.google.com/samples/Mail/Mail.html On 28 Gen, 19:29, SVR wrote: > http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/g... > > Can somebody please tell me from the above doc, which sample project does > the PopupPanel image correspond to? (I mean the sample

Re: PopupPanel position

2011-01-12 Thread ciosbel
Try to use myPopup.showRelativeTo(elementTarget) method. It should position the popup below the elementTarget. If you want right positioning, just have a look at the 'below' implementation and try to make a righ aligned one. http://www.google.com/codesearch/p?hl=it#A1edwVHBClQ/user/src/com/google

Re: Widget/Panel collapse using arrow button or bar

2011-01-12 Thread ciosbel
You could use the CollapsiblePanel from the gwt incubator: http://collectionofdemos.appspot.com/demo/index.html (the last example). demo sources: http://code.google.com/p/google-web-toolkit-incubator/source/browse/#svn%2Ftrunk%2Fsrc-demo%2Fcom%2Fgoogle%2Fgwt%2Fgen2%2Fdemo%2Fcollapsiblepanel%253Fst

Re: Message: "For security purposes, this type will not be deserialized."

2011-01-04 Thread ciosbel
http://code.google.com/webtoolkit/doc/latest/DevGuideServerCommunication.html#DevGuideSerializableTypes On Jan 4, 9:55 pm, Magnus wrote: > Hi, > > this is true, but it implements java.io.Serializable. > > What is the difference between IsSerializable and Serializable and > when to use which? > >

Re: uibinder widget creation time

2010-12-30 Thread ciosbel
Yes, swap them. emailAddressBox is initialized after the call to initWidget(...). On 30 Dic, 16:13, "a...@mechnicality.com" wrote: > Er.. why not swap the order of the two statements? Generally speaking the > initWidget statement > should come first, but there are other options. It is possible t

Re: XmlAdapter compile error

2010-12-30 Thread ciosbel
I suppose you are trying to use that annotation on a client side class; javax is not emulated by gwt compiler, so you couldn't use it client side. Why not moving the adapter to the server side? Does your client really need it? Annotated jaxb classes can be used by the client (with a couple of twea

Re: Flextable with a locked in position header row despite scrolling

2010-12-22 Thread ciosbel
ed in a future release of gwt, so keep it in mind. ciosbel. On 22 Dic, 22:56, Sunit Katkar wrote: > I have a flextable. Its inside a scrollpanel because the number of rows is > more than what can be shown at a time. So user has to scroll up and down to > view all contents. > > Now is

Re: show loading message in GWT

2010-12-14 Thread ciosbel
The NotificationMole should do the trick. On 14 Dic, 13:33, Sean wrote: > The way I sometimes do it would to put the .gif in the first cell of a > Vertical Panel, and the FormPanel in the second. Have the .gif start off > with isVisible set to False. When the user hits submit, change the > visibi

Re: Server Push with GWT

2010-11-23 Thread ciosbel
I think it's a bit outdated, but have a read: http://code.google.com/docreader/#p=google-web-toolkit-incubator&s=google-web-toolkit-incubator&t=ServerPushFAQ On 23 Nov, 22:07, Noor wrote: > can someone guide me or points me to some tutorial which shows the > implementation of server push technolo

Re: gwt using jquery effect possible?

2010-11-23 Thread ciosbel
There is a clone of JQuery for gwt http://code.google.com/p/gwtquery/ Check it out, could be really helpful. On 23 Nov, 13:59, asianCoolz wrote: > �...@uihandler("buttonfire") >   void addNewWidget(ClickEvent event) { > >      htmlPanelHolder.add(new MyCustomWidget(),"placeholder"); > >  } > > ho

Re: Google style dropbown buttons

2010-11-22 Thread ciosbel
A start could be the DropDownListBox in gwt-incubator. http://code.google.com/docreader/#p=google-web-toolkit-incubator&s=google-web-toolkit-incubator&t=DropDownListBox On Nov 21, 6:45 pm, Andyk wrote: > Hi, > Im relatively new to GWT, but making some good progress and learning > well. > But Im t

Re: Including jQuery in GWT

2010-11-09 Thread ciosbel
I don't know if it's helpful or (given your already coded js) usable, but there is a clone of jquery for gwt. It's called GQuery. Take a look http://code.google.com/p/gwtquery/ On 9 Nov, 21:58, Yaakov wrote: > Hi, > > I have a page that a web designer produced and now I need to add GWT > into it.

Re: gwt-dnd

2010-11-09 Thread ciosbel
Of course it is possible. See live demos http://allen-sauer.com/com.allen_sauer.gwt.dnd.demo.DragAndDropDemo/DragAndDropDemo.html The demo 8 should tell you how (see java sources). I think you have to tell the drag controller to make a given panel draggable by a given child. i.e. // make the pan

Re: Importing hellomvp

2010-11-07 Thread ciosbel
Simply create a new java project from existing sources. Once imported, modify the project properties in order to use gwt 2.1 sdk and the project build path in order to have something like hellomvp/war/WEB-INF/classes as output directory. On 7 Nov, 13:04, hezjing wrote: > Hi > > I have downloaded

Re: showing all the elements from SuggestOracle in suggestionBox

2010-09-10 Thread ciosbel
tm i have no idea on how to do that. ciosbel. On Sep 8, 1:52 pm, Santosh kumar wrote: > Hi *ciosbel*, > > Thank you for your reply ..!! > > As u said, i am using setDefaultSuggestionsFromText method, its working > fine.. !!! i thought solution would be

Re: showing all the elements from SuggestOracle in suggestionBox

2010-09-07 Thread ciosbel
Instead defining your own oracle (which is, indeed, the best solution), just use a MultiWordSuggestOracle. There you can find methods like: setDefaultSuggestions(Collection suggestionList) or setDefaultSuggestionsFromText(Collection suggestionList) You can simply add suggestions to you oracle (or

Re: Get file on server with a pattern

2010-05-20 Thread ciosbel
Nevermind. I called the getServletContext() inside the constructor rather that inside an rpc method. ciosbel. -- 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...@googlegrou

Re: Get file on server with a pattern

2010-05-20 Thread ciosbel
My problem is that getServletContext always returns null. I've also tried to put in a overridden init() but didn't help. ciosbel. On May 19, 9:23 am, Lorris wrote: > Thank you for your answer, > > This is my solution if another people need it : > > This is the content o

Re: XML binding/mapping and GWT-RPC

2010-05-16 Thread ciosbel
I think i'll go that way. Thank you/all. ciosbel. On 14 Mag, 22:28, kozura wrote: > Server-side translation and sending through serialized classes is a > fine way to go.  I do it using xmlbeans, but then do a trivial > conversion to some POJO classes that are much simpler an

Re: XML binding/mapping and GWT-RPC

2010-05-14 Thread ciosbel
I've seen that project (and it's quite amazing) but its purpose is client-side mapping using deferred binding. And i don't want to parse 15K LOC client-side... And it does not (yet :D) generate xml from the annotated classes. Thanks anyway. ciosbel. On 14 Mag, 19:19, Christian

Re: XML binding/mapping and GWT-RPC

2010-05-14 Thread ciosbel
rialization, is wrong? Possible? Useless? Thank you, ciosbel. -- 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, s

Re: XML binding/mapping and GWT-RPC

2010-05-13 Thread ciosbel
I need to manage xml files (already written), so i thought that having them binded into serializable POJO's was a good choice. But none of the technologies mentioned seemed to work in that way. For example with JAXB you can autogenerate java classes from xsd schema, having them serializable and us

XML binding/mapping and GWT-RPC

2010-05-13 Thread ciosbel
the jre subset that can be freely compiled to js (am i right?). So, i was wondering if there a way to use such tools (whatever) and continue using the whole GWT-RPC mechanism and object serialization to client- side. Are there any better solutions? Thanks is advance, ciosbel. -- You receiv

Re: GWT and annotations from JAXB

2010-05-12 Thread ciosbel
I've the same problem. I've followed your instructions and almost everything has been fixed. Except for these errors: [ERROR] Line 36: No source code is available for type javax.xml.namespace.QName; did you forget to inherit a required module? [ERROR] Line 198: No source code is available for t