Re: GWT MVP GIN - problem with nested views and presenters

2011-06-16 Thread Aidan O'Kelly
Maybe, @Inject class MainWidget(SubWidget subwidget) . . @Inject class SubWidget(SubWidgetPresenter presenter) You can then inject eventBus into presenter and communicate with the MainWidget/Rest of the app. On Wed, Jun 15, 2011 at 12:58 PM, ricu marko.c...@gmail.com wrote: Anybody? Maybe

RequestFactory - persist method that returns the saved Entity.

2011-06-29 Thread Aidan O'Kelly
So, still trying to fully understand the RequestFactory, I made myself a small app to test having my persistence code in the entity itself. (I have been previously working off the TurboManage objectify+requestfactory sample, thanks David, its been very useful!) I have an Entity called Parent,

Re: RequestFactory - persist method that returns the saved Entity.

2011-06-29 Thread Aidan O'Kelly
the AutoBeanFrozen error with persistAndReturn in GWT 2.3.0 and am looking into it. GWT 2.2.0 did not exhibit this behavior. And yes, Request.fire() just calls RequestContext.fire(), so the effect is identical. /dmc On Wed, Jun 29, 2011 at 1:55 PM, Aidan O'Kelly aida...@gmail.com wrote: So, still

Re: GWT 2.4: RequestFactory versus GWT-RPC

2011-07-14 Thread Aidan O'Kelly
I'm using RequestFactory for a 'non-data-orientated' app and its works very nicely. Chained method invocation: MyServiceRC serviceRequest = appRequestFactory.MyServiceRC(); serviceRequest.giveMeAString().to(stringReceiver); if (needPojo == true) serviceRequest.giveMeAPojo().to(pojoReceiver);

Re: RPC Timeout because of delay at server side

2011-07-14 Thread Aidan O'Kelly
How can I increase the RPC timeout to infinite, so that it never timesout. FYI, 'Read Timeout' is being caused by the OS's TCP stack, so you cannot/should not hope to increase this time-out from GWT client code, you must use one of the methods suggested. (keep-alive's or polling the server to

Re: my biggest problem with gwt

2011-07-15 Thread Aidan O'Kelly
There is a google IO session which covers speeding up the compile process during development, it is in the second half of a talk on the compiler in general. http://www.youtube.com/watch?v=qT6ZsQBM7kY Also, if you are working on client side code, a lot of the time you don't need to go through the

Re: how to access all checkboxes that have a name that begins with abc?

2011-07-15 Thread Aidan O'Kelly
import com.google.gwt.dom.client.Document; import com.google.gwt.dom.client.Element; import com.google.gwt.dom.client.NodeList; . . . NodeListElement elementList = Document.get().getElementsByTagName(input); This will give you a list of all HTML 'input' elements on the page, you can loop through

Re: Broken editor type conversions in GWT trunk r10227

2011-07-19 Thread Aidan O'Kelly
You need to use IntegerBox if you are editing an Integer field, I believe. e:valuebox g:IntegerBox / /e:valuebox On Tue, Jul 19, 2011 at 1:22 PM, Nachiket patel.nachike...@gmail.com wrote: No response on this?? i am also facing similar problem On May 26, 6:42 pm,

Editor framework, editing a fixed size list.

2011-07-19 Thread Aidan O'Kelly
Is the ListEditor adapter suitable for editing a list that has a fixed size? It's currently adding size + 1 widgets, to allow for additions to the list, is there a way to disable this? Or perhaps a better technique for editing a fixed size list in the Editor Framework? -- You received this

Re: Editor framework, editing a fixed size list.

2011-07-19 Thread Aidan O'Kelly
Aha, ok, thanks for the clarification. On Tue, Jul 19, 2011 at 5:06 PM, Thomas Broyer t.bro...@gmail.com wrote: On Tuesday, July 19, 2011 5:23:22 PM UTC+2, Aidan OK wrote: Is the ListEditor adapter suitable for editing a list that has a fixed size? Yes It's currently adding size + 1

RequestFactory: Generate history token on the server-side.

2011-07-26 Thread Aidan O'Kelly
This doesn't seem possible as getHistoryToken() is a method of RequestFactory, and no corresponding method in RequestFactoryServlet. Can I do this somehow, (without patching RF source ! ) If not, worth opening an issue/feature request? I have some workarounds for my case, but it would be nicer

Difference in behaviour with RequestFactoryEditorDriver and SimpleBeanEditorDriver, bug?

2011-07-28 Thread Aidan O'Kelly
Ok, I've been trying to do a very simple form to edit a (user sized) list of strings, using ListEditor. ListEditor is declared like this: ListEditorString, StringEditor notifyEmails = ListEditor.of(new StringEditorSource); StringEditor is actually just a TextBox. public class

Re: Difference in behaviour with RequestFactoryEditorDriver and SimpleBeanEditorDriver, bug?

2011-07-28 Thread Aidan O'Kelly
Ah, cheers Thomas, you're a godsend. On Fri, Jul 29, 2011 at 12:54 AM, Thomas Broyer t.bro...@gmail.com wrote: See http://code.google.com/p/google-web-toolkit/issues/detail?id=6081 Will be fixed in 2.4, fix is not in RC1. -- You received this message because you are subscribed to the Google

Re: GWT Page flows - want to start a open source project - thoughts

2011-07-30 Thread Aidan O'Kelly
There is this, http://claudiushauptmann.com/a-framework-for-gwt-multipage-applications.html Which might be of interest to you. On Fri, Jul 29, 2011 at 3:00 PM, dreamer venugopal.vasire...@gmail.com wrote: Hi, I want to start a new opensource project - GWT page flows - similar to struts.

Re: Google Code Tutorials and Documentation - GWT OAuth

2011-07-30 Thread Aidan O'Kelly
Well, if you've reached a point where you want to do stuff, that there are no step-by-step tutorials for, you need to stop looking for tutorials, and starting looking at reference material, ie, API documentation, or documents/tutorials/papers on a specific technology. You've touched upon it in

Re: GWT and API for integrating Facebook widget (like and share)

2011-08-02 Thread Aidan O'Kelly
GwtFb does exactly this, provides a wrapper around the Facebook JS SDK. Its a good place to start, and for me, it was a useful little tutorial on using JSNI, as the source code under the sdk package is very straightforward and easy to understand. (Just look at FbCore.java ) On Tue, Aug 2, 2011 at

Re: Extending/embedding DialogBox

2011-08-02 Thread Aidan O'Kelly
You can actually just change your UiBinder java class to inherit from DialogBox, and call setWidget(uiBinder.createAndBind(this)) instead of the regular, initWidget() method of Composite. Your UiBinder template then just looks like this: ui:UiBinder ... g:HTMLPanel

Editor framework and polymorphic types.

2011-08-22 Thread Aidan O'Kelly
Anyone have any tips on using polymorphic types within the editor framework? I have some paths of my object graph that hold polymorphic types, and their getters return the super type. How can I create the correct editor for these paths? Creating a ValueAwareEditorT where T is the super-type, and I

Re: Editor framework and polymorphic types.

2011-08-22 Thread Aidan O'Kelly
Actually I just found: http://stackoverflow.com/questions/7043760/using-gwt-editors-with-a-complex-usecase where bobv explains some ways to do it, so can ignore this question. On Mon, Aug 22, 2011 at 6:35 PM, Aidan O'Kelly aida...@gmail.com wrote: Anyone have any tips on using polymorphic types

Re: RequestFactory: Child proxy is null on client side

2011-09-11 Thread Aidan O'Kelly
Think you need to add 'with(payload) to your RF request in the client side code.. RequestItemProxy req = this.itemRequestContext.saveAndReturn(item); to RequestItemProxy req = this.itemRequestContext.saveAndReturn(item).with(payload); On Sun, Sep 11, 2011 at 4:34 PM, Julian

Re: Paging table in GWT 2.4

2011-09-13 Thread Aidan O'Kelly
CellTable does paging, check the showcase which has nice clean examples: http://gwt.google.com/samples/Showcase/Showcase.html#!CwCellTable On Tue, Sep 13, 2011 at 10:15 PM, Khvu Nguyen khvngu...@gmail.com wrote: Is the incubator paging table available in GWT latest release 2.4? Khv -- You

Re: RequestFactory / collections

2011-09-23 Thread Aidan O'Kelly
On Fri, Sep 23, 2011 at 8:40 PM, Magno Machado magn...@gmail.com wrote: And when the user press save, I would call a method on the service to persist the whole entity in a single step, that is: There will be only one service method call Is this the right way of working with requestfactory?

Re: RequestFactory / collections

2011-09-23 Thread Aidan O'Kelly
(not related to OP) Ah, good to know, so I'm guessing RequestFactory tracks which relationships you originally retrieved for a given proxy, and only send these back with subsequent requests.. ? On Fri, Sep 23, 2011 at 10:37 PM, Thomas Broyer t.bro...@gmail.com wrote: Note that the. with() only

Re: RequestFactory / collections

2011-09-24 Thread Aidan O'Kelly
On Sat, Sep 24, 2011 at 12:36 AM, Magno Machado magn...@gmail.com wrote: But only foo got persisted, not it's bars RequestFactory itself doesn't persist anything, it just synchronizes the object graph between client server. How exactly you would persist a Foo, a list of Bars, and the

Re: RequestFactory / collections

2011-09-24 Thread Aidan O'Kelly
Yeah, realized the diff mechanism takes care of what problems I was thinking of shortly after posting, doh. It does mean, you can set a relationship you never retrieved with with(), but you can not un-set (null) a relationship unless you retrieved it, of course, who cares..! (and I didn't check

Re: too much code: GWT Development with Activities and Places

2011-09-24 Thread Aidan O'Kelly
On Fri, Sep 23, 2011 at 3:13 PM, magnum p.magnow...@gmail.com wrote: view implementations ... but honestly I'd rather have a smart view / presenter class that wires everything together. The processing is delegated to event bus or other handler that processes the business logic. There's

Re: show [ERROR] Element may only contain a single child element, GWT Binder error problem in gwt 2.3.0

2011-09-24 Thread Aidan O'Kelly
Each section of a DockLayoutPanel may only contain one Widget, you have two in your center, you'll need to put panel1 and panel2, inside a container panel, and have that as the widget in center. On Sat, Sep 24, 2011 at 12:37 PM, Brito britoscho...@gmail.com wrote: I am having the problem when I

Re: too much code: GWT Development with Activities and Places

2011-09-26 Thread Aidan O'Kelly
On Sat, Sep 24, 2011 at 4:53 PM, Thomas Broyer t.bro...@gmail.com wrote: And BTW, MVP is a design pattern, and there's no one single way of implementing it (the MVP articles in the GWT doc makes it kind of clear). And the fact that Activities and Places (which people sometimes erroneously

Re: Is there a way to cancel/destroy a RequestContext or EditorDriver while editing?

2011-09-28 Thread Aidan O'Kelly
You don't need to decide whether you call persist(), or remove(), until the user decides to save or delete the entity, so you can use a RequestContext to start editing, and later, depending on what the user decides to do, call either persist() or remove() in that same RequestContext. Slightly

Re: Column sorting using async dataprovider in celltable

2011-09-29 Thread Aidan O'Kelly
AFAIK, AsyncDataProvider is designed for requesting a small page of data to be displayed from a potentially large dataset via RPC. In this scenario you would usually want to pass the sort order(along with the range) to the RPC service, so it can sort on the whole dataset, rather than just the

Re: Need good structure for page with login (2 views per presenter!?)

2011-10-02 Thread Aidan O'Kelly
On Sun, Oct 2, 2011 at 3:06 PM, benneq benjamin_ma...@lavabit.com wrote: A working solution would be: have a single presenter and a single view. And the presenter tells the display using a boolean which UI to display. But I expect it to produce very ugly code. Everywhere: # if(loggedIn ==

Re: Adding a collection of Suggestion to SuggestBox (replacement strings different from display strings)

2011-10-06 Thread Aidan O'Kelly
You can't add suggestion objects directly, but you can override the createSuggestion(String replacementString, String displayString) method. It will be called with the original string, passed into add(), and a displayString, which will have the search query terms highlighted with strong tags. You

Re: RequestFactory Validation Tool must be run for.... (error)??? How come?

2011-10-06 Thread Aidan O'Kelly
Starting with GWT 2.4, you need to follow the instructions here: http://code.google.com/p/google-web-toolkit/wiki/RequestFactoryInterfaceValidation On Fri, Oct 7, 2011 at 2:41 AM, Brandon Donnelson branflake2...@gmail.comwrote: I see this in Expenses Example (in gwt sdk) do I have to run this

Re: What's a good widget for a small table?

2011-10-08 Thread Aidan O'Kelly
Well, its creating a table with a table for each row.. to end up with a table structure... If its a statically sized table, you can just write the table structure yourself in UiBinder, and place Widgets/Text in each td. On Sat, Oct 8, 2011 at 2:53 PM, Jeffrey Chimene jchim...@gmail.com wrote:

Re: What's a good widget for a small table?

2011-10-08 Thread Aidan O'Kelly
control be a little heavy handed in that it seems to be designed to handle widgets in its cells. A property table - or something like that - seems ideal (if it existed). On Oct 8, 8:30 am, Jeffrey Chimene jchim...@gmail.com wrote: On 10/8/2011 7:29 AM, Aidan O'Kelly wrote: Well, its

Using SafeHtmlTemplate to render a Cell in a CellTree doesn't work

2011-10-09 Thread Aidan O'Kelly
When rendering a Cell for a CellTree (for the Leaf Nodes), if I use a SafeHtml Template, I get com.google.gwt.core.client.JavaScriptException: (TypeError): elem is null at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:248) at

Re: Using SafeHtmlTemplate to render a Cell in a CellTree doesn't work

2011-10-09 Thread Aidan O'Kelly
Ok this was actually a problem with the template, generating incorrect HTML. Simplifying the template to a simple div with some text gets everything work ok. On Sun, Oct 9, 2011 at 11:54 PM, Aidan O'Kelly aida...@gmail.com wrote: When rendering a Cell for a CellTree (for the Leaf Nodes), if I

Re: Animation when switching activities impossible?

2011-10-13 Thread Aidan O'Kelly
It's a bit like they ignore the standards they created with Activities. 'Cause in theory it's possible to show as many activities as you like in parallel... ;) They are more like informal contracts rather than 'standards'. :) and in any case, the activity will be stopped by the Activity

AutoBean

2011-10-17 Thread Aidan O'Kelly
Is anyone using AutoBean in a JRE environment successfully? When trying a very simple test I get a NPE when I try to use AutoBeanCodex.encode(myAutoBean) My Bean interfaces look like this: public static interface Point { Long getX(); Long getY(); void setX(Long x); void setY(Long y); } public

Re: Places Activities any suggestion?

2011-10-17 Thread Aidan O'Kelly
Your question is not exactly clear, but I'm pretty sure you shouldn't need to add click handlers to a Hyperlink object, or create entries in the History object yourself. Just construct it with the Token you want to go to: Hyperlink h = new Hyperlink(Navigate to Chemical, thePlaceToken); And you

Re: Places Activities any suggestion?

2011-10-17 Thread Aidan O'Kelly
parsing of token and findout the place based by token, since entire parsing of the token will be done in Base Place class. Please let me know with an example . On Tue, Oct 18, 2011 at 12:24 AM, Aidan O'Kelly aida...@gmail.com wrote: Your question is not exactly clear, but I'm pretty sure you

Re: RequestFactory List of Entities property

2011-10-18 Thread Aidan O'Kelly
If you are using the Editor framework to edit (or display) the object, RequestFactoryEditorDriver can build a list of paths based on the tree of editors. If your object graph is that complex, the Editor framework is probably worth looking into! One thing to note about with(), is it silently

Re: Nested Editor creation question

2011-10-25 Thread Aidan O'Kelly
On Tue, Oct 25, 2011 at 5:20 PM, opn open...@gmx.net wrote: Hello, To make it clear: I have to instantiate the UserEditor myself (via new UserEditor( ) or injection) while UiBinder is able to create the child editor of the UserEditor itself. Why is that? If you can create your UserEditor,

Re: Ok, CssResources and ClientBundle, what am I doing wrong?

2011-11-04 Thread Aidan O'Kelly
You have .gwt-Button in the .css file, but not in the style interface, hence the compile error. It should be a clearer error (if you stop/start dev mode it will probably give you the correct error, and it certainly will if you GWT-compile the project) In any case, to fix, you need to declare

ScrollPanel inside layer of LayoutPanel

2011-11-23 Thread Aidan O'Kelly
A simplified version of a UiBinder view..: g:LayoutPanel g:layer g:ScrollPanel my:ResizeCompositeWidget/ /g:ScrollPanel /g:layer /g:LayoutPanel Should this work? Once I add the ScrollPanel, the ResizeCompositeWidget doesn't show anymore. Adding height/width=100% to the

Re: ScrollPanel inside layer of LayoutPanel

2011-11-23 Thread Aidan O'Kelly
Doh, need more coffee.. I see why this can't work now.. The child Widget of ScrollPanel needs an explicit size. Which kinda begs the question, why does ScrollPanel implement ProvidesResize?! On Thu, Nov 24, 2011 at 2:17 AM, Aidan O'Kelly aida...@gmail.com wrote: A simplified version

Re: ScrollPanel inside layer of LayoutPanel

2011-12-07 Thread Aidan O'Kelly
On Wed, Dec 7, 2011 at 4:41 PM, Matt S schef...@gmail.com wrote: You stated you could see why it won't work, but did you figure out a suitable solution? I have a similar deal - how can we allow a whole-screen scroll with ScrollPanel when you have a ResizeCompositeWidget inside? In my case,

Re: ScrollPanel inside layer of LayoutPanel

2011-12-07 Thread Aidan O'Kelly
On Wed, Dec 7, 2011 at 4:41 PM, Matt S schef...@gmail.com wrote: ScrollPanel when you have a ResizeCompositeWidget inside? Also, just to add, if you want the whole page to grow vertically, your content widget should not be ResizeComposites, as they require an explicit size, whereas a regular

Re: Issue in connecting to a database in a GWT project

2011-12-13 Thread Aidan O'Kelly
On Tue, Dec 13, 2011 at 10:42 AM, Amy huntm...@gmail.com wrote: Service method 'public abstract java.lang.String com.ericsson.authentication.client.AuthenticationService.authenticate(java.lang.‌ String,java.lang.String)' threw an unexpected exception: java.lang.NoClassDefFoundError:

Re: RequestFactory Imposible To use

2011-12-21 Thread Aidan O'Kelly
On Wed, Dec 21, 2011 at 6:07 PM, MagusDrk magus@googlemail.com wrote: never reaches the server side. All error detail is a Server Error: null (absolutelly nothing else) RequestFactoryServlet by default catches all exceptions and returns them to the client, without stack-traces or much

Re: RequestFactory Imposible To use

2011-12-21 Thread Aidan O'Kelly
Give this a try: Start in debug mode, 1 - Get the app ready to fire() your request, *then* 2 - In eclipse, add Java Exception Breakpoint on java.lang.NullPointerException - make sure 'caught exceptions' is ticked. 3 - Make your app fire() the request. You should drop into debug mode when the NPE

Re: RequestFactory - Intermittent The AutoBean has been frozen on newly created

2011-12-28 Thread Aidan O'Kelly
Well, one thing to be aware of is, that RequestContext.edit(), returns a new, mutable version of the proxy, rather than unlocking the one you pass in, so instead of : ctx.edit(gdp); gdp.setName(xxx); It should be, gdp2 = ctx.edit(gdp); gdp2.setName(xxx); That still doesn't explain why you are

Re: RequestFactory - Intermittent The AutoBean has been frozen on newly created

2011-12-28 Thread Aidan O'Kelly
From the code you posted, it should work fine (even the original code). Is it all executed in one function? It sounds like there's some paths of execution which differ from it, and somehow end up calling setName() on a frozen proxy. -- You received this message because you are subscribed to the

Re: RequestFactory - Intermittent The AutoBean has been frozen on newly created

2011-12-29 Thread Aidan O'Kelly
time. If I click that button 5 times, I'll end up with 5 entities in my data store. On Dec 28, 10:09 am, Aidan O'Kelly aida...@gmail.com wrote: From the code you posted, it should work fine (even the original code). Is it all executed in one function? It sounds like there's some paths

Re: Serializing and Deserializing EntityProxy with created EntityProxy inside makes root EntityProxy have created EntityProxy's stableId

2011-12-29 Thread Aidan O'Kelly
There's an issue with DefaultProxyStore that it doesn't always return sequential Ids from its nextId() method, which can result in some odd behaviour when serializing lists of ValueProxies, (all proxies point to the same object). Not sure if that's the issue here, but its worth giving a try as

Re: what could POSSIBLY be non transportable in this ValueType?

2012-01-03 Thread Aidan O'Kelly
Nothing, as you only have one getter, getStartDate(), and java.util.Date is transportable. But the type itself is not transportable unless you have a corresponding ValueProxy interface defined in your shared code. Something like this: @ProxyFor(JobHistoryPK.class) public interface

Re: what could POSSIBLY be non transportable in this ValueType?

2012-01-03 Thread Aidan O'Kelly
getStartDate(); } i've been trying to dig around in the deobfuscator code and the domainToClientType map doesn't even show the ValueProxy entry. On Tue, Jan 3, 2012 at 10:43 PM, Aidan O'Kelly aida...@gmail.com wrote: Nothing, as you only have one getter, getStartDate(), and java.util.Date

Re: Tips on handling ScrollPanel in UiBuilder

2012-01-04 Thread Aidan O'Kelly
Don't give the ScrollPanel an explicit height, as it will get it from the layer. Generally you should be setting the top/height/etc attributes on the g:layer rather than on the Widget it contains, this is what happens when you call setWidgetTopHeight etc. Do give the 'filters' widget an explicit

Re: Tips on handling ScrollPanel in UiBuilder

2012-01-05 Thread Aidan O'Kelly
On Thu, Jan 5, 2012 at 2:20 PM, Thad thad.humphr...@gmail.com wrote: Here's a follow-up question: When using UiBuilder, how do I implement a panel's onResize() method? I think the answer is to assign the panels' ui:field's in FiltersViewImpl.ui.xml and call their onResize() in my

Re: layout panel problem, invisible panels

2012-01-05 Thread Aidan O'Kelly
On Thu, Jan 5, 2012 at 3:21 PM, Rob rob.nikan...@gmail.com wrote: Hi, Why does this not work? Header top appears, but nothing else. The divs inside the dock layout have zero height. HeaderPanel calls onResize for it's 'content' element. Is that not enough to work with LayoutPanels? If I

Re: layout panel problem, invisible panels

2012-01-08 Thread Aidan O'Kelly
Actually, just noticed.. ResizeLayoutPanelhttp://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/client/ui/ResizeLayoutPanel.html looks to do exactly what you want. It holds a LayoutPanel inside a regular Panel and detects re-sizes, to provide onResize() events to it's one

Re: Charting Tool for GWT

2012-01-08 Thread Aidan O'Kelly
There is GChart, written in GWT: http://code.google.com/p/clientsidegchart/ There is also a GWT wrapper for the javascript library Highcharts ( http://www.highcharts.com/) http://highcharts-gxt.sourceforge.net/wordpress/ On Sat, Jan 7, 2012 at 2:13 PM, John Methew john.bm...@gmail.com wrote:

Re: Using RequestFactory interfaces on the server

2012-01-10 Thread Aidan O'Kelly
Yes you can do it, using RequestFactorySourcehttp://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/web/bindery/requestfactory/vm/RequestFactorySource.html, and an

Re: ui:style example doesn't work

2012-01-10 Thread Aidan O'Kelly
No idea about desginer, but to get 2 ui:style elements, make sure you include a 'field' attribute in any ui:style elements other than the default. ui:style .foo { } /ui:style ui:style field=second .bar { } /ui:style Then reference {style.foo}, {second.bar} On Mon, Jan 9, 2012 at 10:07 PM, Thad

Re: Editor flush() not saving data

2012-01-17 Thread Aidan O'Kelly
You need to call a persist() method or similar on your request context, for it to actually save. This should map to a service method on the service side that will persist the object to whatever data store you are using. (Similar to the find()/findXXX method you wrote to retrieve entities) On Tue,

Re: EventBus not throwing UmbrellaExceptions

2012-01-20 Thread Aidan O'Kelly
Ok, this was actually just me not realizing eclipse will open multiple 'development' tabs for each tab/instance of the app you have running. Doh. On Fri, Jan 20, 2012 at 5:50 PM, Aidan OK aida...@gmail.com wrote: Recently, as I've started using the EventBus a lot more, I'm noticing it seems

Re: Interface composition on Proxies

2012-03-12 Thread Aidan O'Kelly
@ProxyFor(AProxy.class) interface AProxy extends ... A proxy that is mapping to itself ! This won't work, the @ProxyFor annotation needs to map to a concrete class. If there is no concrete class (ie, you re-using this interface for many different proxies) you don't need a @ProxyFor annotation at

Re: Interface composition on Proxies

2012-03-12 Thread Aidan O'Kelly
/google-web-toolkit/wiki/RequestFactory_2_4#Polymorphism_support for all the details ! On Mon, Mar 12, 2012 at 12:17 PM, Aidan O'Kelly aida...@gmail.com wrote: @ProxyFor(AProxy.class) interface AProxy extends ... A proxy that is mapping to itself ! This won't work, the @ProxyFor annotation

Re: How to reference more than once stylesheets in uibinder?

2012-04-15 Thread Aidan O'Kelly
Yes, you just need to give them field names: ui:style field=secondStyle / 'field' defaults to 'style' and that's why you access your css like {style.someCss} On Sun, Apr 15, 2012 at 8:52 PM, Nano Elefant nanof...@gmail.com wrote: Hello, right now I'm using the following to make a

Re: RequestFactory and @OneToMany association

2012-04-16 Thread Aidan O'Kelly
You'll probably need: with(parents, parents.childs) getChilds() is not a method on your Callback object.. 2012/4/16 Daniel Mauricio Patino León ceo.lion@gmail.com Iam stuck here! any help would be appreciated. (sorry for duplicate the post :

Re: Skipping classes in class hierarchy with Editor Framework?

2012-04-17 Thread Aidan O'Kelly
If I understand you correctly, using @Path with the dot syntax should work: @Path(model.x.y.otherModels) OtherModelListEditor otherModels; On Tue, Apr 17, 2012 at 5:40 PM, Jens jens.nehlme...@gmail.com wrote: Hi, is it somehow possible to skip classes in a class hierarchy when using the

Re: Animation frame rate, possible to increase?

2012-04-17 Thread Aidan O'Kelly
Depending on your needs, you could consider using css3 transitions (or even css3 animations, though they are much less supported) to get smoother animations. (they are generally hardware accelerated) http://css3.bradshawenterprises.com/ Its not a very 'GWT way' of course, as it doesn't support

Re: Animation frame rate, possible to increase?

2012-04-17 Thread Aidan O'Kelly
Dynamic positions work fine with transitions, how it works is you just say (by setting the transition property) 'I want to animate any changes to top,left,width,height' . You don't even need to specify the positions at that time, but from that point on, any-time you set the left/top/right/width,

Re: How to track native browser scroll up-down movement

2012-04-17 Thread Aidan O'Kelly
I have not used this, but: http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/client/Window.html#addWindowScrollHandler(com.google.gwt.user.client.Window.ScrollHandler) Should help you track the users scrolling. On Tue, Apr 17, 2012 at 11:08 PM, Deepak Singh

Re: UIBinder @Path annotation with arrays

2012-04-20 Thread Aidan O'Kelly
Have you seen ListEditor? http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/editor/client/adapters/ListEditor.html some example code: http://c.gwt-examples.com/home/ui/listeditor On Thu, Apr 19, 2012 at 10:02 AM, Mark Trueman markptrue...@googlemail.comwrote: Hi

Re: AutoBean

2012-04-21 Thread Aidan O'Kelly
Ta for posting the work-around.. I missed the original reply the my original thread (subscribed too many lists!) but for reference, there is a bug entry in the issues list for this: http://code.google.com/p/google-web-toolkit/issues/detail?id=6904 I'll add a comment with this extra info. On Fri,

RequestFactory DeobfuscatorBuilder

2012-04-23 Thread Aidan O'Kelly
Is there a flag somewhere to build the deobfuscator builder without obfuscating the type names? -- 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: RequestFactory DeobfuscatorBuilder

2012-04-23 Thread Aidan O'Kelly
Thanks. On Mon, Apr 23, 2012 at 3:57 PM, Thomas Broyer t.bro...@gmail.com wrote: On Monday, April 23, 2012 4:41:28 PM UTC+2, Aidan OK wrote: Is there a flag somewhere to build the deobfuscator builder without obfuscating the type names? Er… no. And it's not only the