Re: Vararg version of set method added to domain object causes request factory validator to fail

2013-01-17 Thread Tiago
I just had this exact same issue. Thank you for posting it here, it was relatively easy to find this thread through Google. Otherwise I'd lose a lot of time! It might be worthy logging a bug... On Thursday, April 19, 2012 1:16:48 PM UTC+2, Michael Wiles wrote: I have a proxy with:

NullPointer in an assert execution

2012-11-27 Thread Tiago Rinck Caveden
. Maybe somebody with development rights should review this particular assertion? Regards, -- Tiago Rinck Caveden -- 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

GWT generated java code does not compile. No clear explanation given.

2012-11-19 Thread Tiago Rinck Caveden
/E4fyhodXG_c/AF1foDkzxb8J. I don't think this fix has anything to do with my problem since it deals with ExtraTypes, but I thought I should mention it since it relates to code generation. Can anybody help me? I'm totally lost on this one. Thank you very much in advance for any help given, -- Tiago Rinck

Re: GWT generated java code does not compile. No clear explanation given.

2012-11-19 Thread Tiago
in a table and allow the edition of such list via the Editor framework. I don't think I'd be the only one using it... :-) Thank you again, Tiago. On Monday, November 19, 2012 10:50:18 AM UTC+1, Thomas Broyer wrote: The problem is that in EditableCellTable your ListEditor is typed with ? extends

Re: RequestFactory: possible to load the whole object graph

2012-10-30 Thread Tiago
Hello all, I found this topic through Google. I have a similar problem. I have a tree structure, with an arbitrary (dynamic) number of levels. Ex, an entity A which has a children relation which is a SetA. Is there a way to load the entire tree with a single request in Request Factory? I

Re: RequestFactory: possible to load the whole object graph

2012-10-30 Thread Tiago
the time now. HTH opn Am Dienstag, 30. Oktober 2012 13:13:24 UTC+1 schrieb Tiago: Hello all, I found this topic through Google. I have a similar problem. I have a tree structure, with an arbitrary (dynamic) number of levels. Ex, an entity A which has a children relation which is a SetA

Re: AsyncDataProvider for a CellTable that must always have an item selected

2012-07-09 Thread Tiago
the SelectionChangedEvent? The AsyncDataProvider will call updateRowData and this will call it on all attached displays thus also your custom CellTable. On Thursday, July 5, 2012 4:02:50 PM UTC+2, Tiago wrote: Hello, I'm writing a custom Composite widget which contains a CellTable. This CellTable must

AsyncDataProvider for a CellTable that must always have an item selected

2012-07-05 Thread Tiago Rinck Caveden
protected, and the javadoc gives the impression it only works for CellBrowser, not CellTable. Anyone has any idea that could help me? If there was a way to add a handler that would react after the AsyncDataProvider calls updateRowData that would be great... Thank you very much, -- Tiago Rinck

Re: Trying to understand how RF picks the domain objects to compose a request to a service

2012-06-14 Thread Tiago
On Tuesday, June 12, 2012 5:31:01 PM UTC+2, Thomas Broyer wrote: See http://code.google.com/p/google-web-toolkit/wiki/RequestFactoryMovingParts#Flow for details on how a request is processed. The B domain object is created/loaded in the “All domain objects referred to by the payload will

Trying to understand how RF picks the domain objects to compose a request to a service

2012-06-12 Thread Tiago Rinck Caveden
two cases, it was sending me an instance of B, not a hibernate proxy. Can somebody kindly help me understand how RF composes my object A after receiving the request payload? Where is it getting this uninitialized proxy from? Thank you, -- Tiago Rinck Caveden -- You received this message because

Re: Trying to understand how RF picks the domain objects to compose a request to a service

2012-06-12 Thread Tiago
On Tuesday, June 12, 2012 4:17:23 PM UTC+2, Thomas Broyer wrote: How are the acceptable values of the ValueListBox populated? A request is done specifically for that. The list of acceptable values is properly initialized on the server side before returning it to the client side. The

Bean property being set to null by Editor framework even though it cannot be null

2012-06-01 Thread Tiago Rinck Caveden
. Best regards, -- Tiago Rinck Caveden -- 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

Re: Bean property being set to null by Editor framework even though it cannot be null

2012-06-01 Thread Tiago
Just for the record, if I manually set the problematic property before handling the new proxy to the editor framework, everything works fine. On Friday, June 1, 2012 10:39:01 AM UTC+2, Tiago wrote: Hello all, I have a bean of type A which contains a property of type X which is a JaxB bean

Re: Bean property being set to null by Editor framework even though it cannot be null

2012-06-01 Thread Tiago
Hello Thomas, On Friday, June 1, 2012 10:51:00 AM UTC+2, Thomas Broyer wrote: Is X an EntityProxy or a ValueProxy? If it's a ValueProxy, then this is the expected behavior; you'll have to either: It's a ValueProxy (X is not an entity). Are you sure that an IllegalArgumentException with no

Re: RequestFactory/Editor AutoBean has been frozen error

2012-04-23 Thread Tiago
request-specific error data. Basically, to operate like that, I would need different DTOs for every request, and proxy these DTOs, which would contain the needed entities plus error information. Is that how RF is supposed to be used? Thank you, Tiago. -- You received this message because you

Re: RequestFactory/Editor AutoBean has been frozen error

2012-04-23 Thread Tiago
answers Thomas. Your help is much appreciated. Best regards, Tiago. -- 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/-/gBETWuHuMRAJ. To post

Re: RequestFactory/Editor AutoBean has been frozen error

2012-04-19 Thread Tiago Rinck Caveden
seems somebody wanted to prevent this hack from being possible... Is there any alternative now, besides manually copying each property of each proxy? Thank you for any help, Tiago. On Feb 22 2011, 9:41 pm, Scott Olcott scottolc...@gmail.com wrote: Thomas, You are correct in understanding my issue

Using ui:msg inside of a @UiChild

2012-01-02 Thread Tiago Rinck Caveden
, -- Tiago Rinck Caveden -- 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

Re: NumberFormat currency pattern issues (wrong positiveSuffix and possible encoding issues)

2011-12-16 Thread Tiago
Well, $10 or 10 USD should clearly be invalid strings for an euro locale. I wouldn't mind 10 EUR being invalid for the default format too since using currency codes is quite specific. Actually, all these could be configurable parameters (requiring, ignoring or refusing currency symbols and/or

NumberFormat currency pattern issues (wrong positiveSuffix and possible encoding issues)

2011-12-15 Thread Tiago Rinck Caveden
the case, shouldn't GWT try to assure always the same encoding is being used? Because, otherwise, how should we do? I know that we can set encoding for Writers and Readers in Java but for in memory strings, how can we make sure we're always using the same encoding? Thank you, -- Tiago Rinck Caveden

Re: NumberFormat currency pattern issues (wrong positiveSuffix and possible encoding issues)

2011-12-15 Thread Tiago
Thank you Thomas for the clarification. Do you agree though that there's a bug on NumberFormat? It should not require nbsp;€ to be in the end of a string it parses, although it may add it to the end of a string it formats. Right? On Dec 15, 2:40 pm, Thomas Broyer t.bro...@gmail.com wrote: -62,

Maven + Eclipse + RequestFactory validation tool: Duplicate class error

2011-10-27 Thread Tiago Rinck Caveden
without those plugins... Anyone at least understand what's going on? Why this class is being generated twice and how to prevent if from happening while still launching the RF validation tool? Thank you a lot for any help, -- Tiago Rinck Caveden -- You received this message because you

Re: Maven + Eclipse + RequestFactory validation tool: Duplicate class error

2011-10-27 Thread Tiago
Ha, amazing! Thank you Patrick for the fast and precise answer! Shouldn't that doc page I linked in the OP be updated? Best regards, Tiago. On Oct 27, 3:43 pm, Patrick Julien pjul...@gmail.com wrote: only include generated-sources/apt in your maven build using build-helper-maven-plugin

Error when migrating to GWT 2.4.0

2011-10-26 Thread Tiago Rinck Caveden
to it using the stack trace above. Thank you for any help, Tiago -- 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

Shouldn't ListEditor.setValue allow the replacement of a List property on an edited proxy?

2011-10-24 Thread Tiago Rinck Caveden
to fill it, it doesn't work. After flush(), the proxy remains with its list null. I'm using ListEditor.setValue to set the new list instance. Shouldn't this work? Thank you, -- Tiago Rinck Caveden -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group

Re: Shouldn't ListEditor.setValue allow the replacement of a List property on an edited proxy?

2011-10-24 Thread Tiago
Thanks for your answer. But then I have to ask: what's the point of the method setValue in ListEditor then? If it's just a shortcut to getList().clear() followed by getList().addAll(), shouldn't that be said in the javadoc? It isn't written that I cannot redefine the instance... On Oct 24, 5:37 

Re: Shouldn't ListEditor.setValue allow the replacement of a List property on an edited proxy?

2011-10-24 Thread Tiago
Thank you, Patrick and Thomas. Just for curiosity then - as for my case I can just set an empty list before editing, no problem - what's the way to redefine the instance of List property when using the Editor framework? Is there a way? At least for non-list properties it normally works (I've used

Re: @ExtraTypes examples?

2011-10-21 Thread Tiago
I've opened the following issue concerning this stack overflow: http://code.google.com/p/google-web-toolkit/issues/detail?id=6912 On Sep 21, 5:23 pm, Tiago cave...@gmail.com wrote: Hello Thomas! On Sep 21, 3:26 pm, Thomas Broyer t.bro...@gmail.com wrote: @ExtraTypes

@ExtraTypes examples?

2011-09-21 Thread Tiago Rinck Caveden
Hello all, I have a scenario which I'm having some headaches to implement in RequestFactory. Thomas Broyer was kindly helping me, and suggested the use of the ExtraTypes annotation, but I can't find examples or much documentation on it. There are these

Re: Error with Quartz

2011-09-21 Thread Tiago
It probably isn't related to GWT. You're probably running with Java Security Manager enabled, and your security policy doesn't give your app all the permissions Quartz needs. Either don't run with Java Security Manager, or arrange it so that you have all necessary permissions. Unless... are you

Re: @ExtraTypes examples?

2011-09-21 Thread Tiago
Hello Thomas! On Sep 21, 3:26 pm, Thomas Broyer t.bro...@gmail.com wrote: @ExtraTypes({ EntityARevisionProxy.class, EntityBRevisionProxy.class }) @ProxyFor(Revision.class) interface RevisionProxy extends EntityProxy { } Thank you again for your answer. But I tried this. I either have a stack

Re: EntityProxy, AutoBeanVisitor and Hibernate lazy properties.

2011-09-20 Thread Tiago
On Sep 20, 2:43 am, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: No because some classe that must extend is final. So you must hack in this way. But with you put this classes then you forgot problems. It works. I'm not very comfortable with it. It means I would have to follow GWT code

Re: EntityProxy, AutoBeanVisitor and Hibernate lazy properties.

2011-09-20 Thread Tiago
Sowdri, On Sep 20, 7:11 am, -sowdri- sow...@gmail.com wrote: Finally I found that it was because of proxying that is done by hibernate. I finally solved it by using the @Proxy(lazy=false) annotation. That will make hibernate load every relation annotated as such, what may make your application

Re: EntityProxy, AutoBeanVisitor and Hibernate lazy properties.

2011-09-20 Thread Tiago
On Sep 20, 11:03 am, Thomas Broyer t.bro...@gmail.com wrote: It's not a the DAO then cares about problems of UI, it's just a shift in contract from getX(i) returns a 'pointer' to X(i) but potentially gives you access to the whole database by following relationships to getX(i) gives you a

Re: EntityProxy, AutoBeanVisitor and Hibernate lazy properties.

2011-09-19 Thread Tiago
gardellajuanpa...@gmail.com wrote: Hi Tiago, I use JPA2 (with Hibernate as a provider) in a GWT application. I use a *Filter *that put to null uninitialized properties in a transparent manner. So if you in service layer don't initialize the properties, this filter solve the problem

Re: NullPointerException in MethodPropertyContext

2011-09-16 Thread Tiago
On Sep 15, 5:52 pm, Thomas Broyer t.bro...@gmail.com wrote: You should make one sub-interface of AValueProxy per type of AGenericEntityProxy that you'd use for its T type parameter; remove the type parameter (making AValueProxy no longer generic), and using @ExtraTypes (GWT 2.4 onwards) for

Re: NullPointerException in MethodPropertyContext

2011-09-15 Thread Tiago Rinck Caveden
is given as type to TypeUtils.getParametrization, the base parameter is the AGenericEntityProxy.class. Is this generics construction I'm making illegal? Is there another way I can implement a similar thing? Thank you, and sorry for the annoyance. On Thu, Sep 15, 2011 at 4:51 PM, Tiago Rinck Caveden

Re: NullPointerException in MethodPropertyContext

2011-09-15 Thread Tiago
The issue you point me to is probably related, since I have a RequestListAValueProxyAnEntityProxy... Thank you for the fast response. I'll look the docs for what you suggest me and see how it fits. Currently the project I'm working with is using GWT 2.3, so I don't even know if I'll be able to

Re: EntityProxy, AutoBeanVisitor and Hibernate lazy properties.

2011-09-09 Thread Tiago
Hello Thomas, On Sep 8, 11:38 am, Thomas Broyer t.bro...@gmail.com wrote: I believe RF is not meant to be used with lazy-loading if you don't also use (and accept the consequences) OpenSessionInView. That would be a pity. I thought the point of RF was dealing with ORM entities without having

Re: EntityProxy, AutoBeanVisitor and Hibernate lazy properties.

2011-09-09 Thread Tiago
automatically removed every instrumentation it does on entities after they're detached. I asked about Gilead because apparently that's what it does, but I haven't found any examples of somebody mixing Gilead and RF. Thank you, Tiago. -- You received this message because you are subscribed

Re: EntityProxy, AutoBeanVisitor and Hibernate lazy properties.

2011-09-09 Thread Tiago
as a potential relation, and not even resolving the type of its members if this collection was not requested through with(). On Sep 9, 1:50 pm, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: Hi Tiago, I use JPA2 (with Hibernate as a provider) in a GWT application. I use a *Filter

Re: EntityProxy, AutoBeanVisitor and Hibernate lazy properties.

2011-09-08 Thread Tiago
...@googlemail.com wrote: Hi Tiago, I just made a little test and it works as expected. Only those getters are called which are referenced in the with() statement. Maybe there's an issue with your entityProxies? Can you provide some details about your setup? Regards, Stefan. -- You

Re: EntityProxy, AutoBeanVisitor and Hibernate lazy properties.

2011-09-08 Thread Tiago
) at com.google.web.bindery.requestfactory.server.SimpleRequestProcessor.process(SimpleRequestProcessor.java: 125) at com.google.web.bindery.requestfactory.server.RequestFactoryServlet.doPost(RequestFactoryServlet.java: 118) On Sep 8, 10:22 am, StefanR stefan.ro...@googlemail.com wrote: Hi Tiago, I just made a little test and it works as expected. Only those

Re: EntityProxy, AutoBeanVisitor and Hibernate lazy properties.

2011-09-07 Thread Tiago Rinck Caveden
It seems I might indeed be the first one to encounter this problem, so I've opened an issue for it: http://code.google.com/p/google-web-toolkit/issues/detail?id=6767 Thanks, Tiago. On Fri, Sep 2, 2011 at 10:39 AM, Tiago Rinck Caveden cave...@gmail.comwrote: Hello again, Sorry for annoying

Re: EntityProxy, AutoBeanVisitor and Hibernate lazy properties.

2011-09-07 Thread Tiago
Hello Stefan, Thank you for your answer. Yes, I could do that, but then I would be loading unnecessary data from the DB. Depending on the entity graph, that could go really far. In order words, that just switches one problem for another. The correct solution is not to have these unnecessary

Re: EntityProxy, AutoBeanVisitor and Hibernate lazy properties.

2011-09-02 Thread Tiago Rinck Caveden
16, 2011 at 6:07 PM, Tiago Rinck Caveden cave...@gmail.comwrote: Hello all, Sorry if this has been answered somewhere - it probably has, since I doubt I'm the fist one to have the issue - but I couldn't find it. I have an EntityProxy for a Hibernate entity which contains a lazy collection

EntityProxy, AutoBeanVisitor and Hibernate lazy properties.

2011-08-16 Thread Tiago Rinck Caveden
Hello all, Sorry if this has been answered somewhere - it probably has, since I doubt I'm the fist one to have the issue - but I couldn't find it. I have an EntityProxy for a Hibernate entity which contains a lazy collection. In a particular use case I need this collection, so I have the getter

CurrencyBox?

2011-07-27 Thread Tiago Rinck Caveden
any generous soul in this group have any example of such box and would be willing to provide it? Thank you, -- Tiago Rinck Caveden -- 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

Deformed DialogBox

2011-07-07 Thread Tiago Rinck Caveden
Hello all, I'm a newbie in GWT and I am struggling to create a dialog box using UIBinder. I'm sorry if this has already been discussed but I couldn't find it. This is the graphical result of my dialog :-( [image: Screenshot.png] The code that I'm doing is the following. First, the java code for

Re: SEVERE: The Cell Widget is attempting to render itself within the render loop

2011-02-01 Thread Tiago Neves
I solved my problem. In my case sometimes the date was null and it then would throw an Exception. It seems that if any Exception is thrown during rendering, this message (exception) is thrown, masking the original one. -- You received this message because you are subscribed to the Google

Re: SEVERE: The Cell Widget is attempting to render itself within the render loop

2011-01-31 Thread Tiago Neves
I get the same error when my Column getValue uses a Date. If it uses any other type of object it goes ok. Maybe a bug from google guys? On Jan 30, 3:27 am, zixzigma zixzi...@gmail.com wrote: Hello Everyone, I was going back and forth within my CellTable, I got this random Severe exception

Re: cell widgets vs editors

2011-01-13 Thread Tiago Neves
I have the same question. I would like to combine both concepts by having a celltable that implements Editor. Is it possible? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: Jasper Help

2010-05-10 Thread Tiago A. Silva
Hey Guy, I usually do so in a servlet to open my report in a new window Map parameters = new HashMap(); parameters.put(ID, Integer.parseInt(id)); Connection dbconn = null; try { logger.info(Create PDF ); Class.forName(DBSettings.dbdriver).newInstance(); dbconn = (Connection)

Re: error 404: could not find the greetServlet when putting the war file not in the tomcat's webapps folder

2010-05-08 Thread Tiago A. Silva
Correct is servlet-mapping servlet-namegreetServlet/servlet-name url-pattern/myproject/greet/url-pattern /servlet-mapping to servlet-mapping servlet-namegreetServlet/servlet-name url-pattern/myproject/greet/url-pattern /servlet-mapping 2010/5/6 Mike Jiang

[gwt-2.0.0-ms2] com.google.gwt.junit.client.TimeoutException: The browser did not contact the server within 60000ms.

2009-11-01 Thread Tiago Fernandez
The same test works fine when targeting a module NOT UiBinder-based. Any hint? I am using IDEA on a Mac, with the following VM arguments: -XstartOnFirstThread -Xmx512M Thanks in advance, Tiago Fernandez --~--~-~--~~~---~--~~ You received this message because you

How to generate a request in server side?

2009-09-14 Thread Tiago Mesquita
programas espiões capturem os e-mails de seus contatos e façam deles alvo de Spam. Atenciosamente, Tiago Mesquita A. C. http://twitter.com/tiagomac --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group

Re: PHP in hosted mode

2009-08-21 Thread Tiago Z.C
gizle - - Alıntıyı göster - -- Tiago Zortéa de Conto Mac User - MAC OS X Leopard MSN: tiag...@pop.com.br --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send

How to get Session object?

2009-08-20 Thread Tiago Mesquita
) don't extend RemoteServiceServlet?? } } Tnx All!!! -- Utilize o CCO na hora de encaminhar suas msgs, isso impossibilita que programas espiões capturem os e-mails de seus contatos e façam deles alvo de Spam. Atenciosamente, Tiago Mesquita A. C. http://twitter.com/tiagomac

Best framework to use with PHP and GWT

2009-08-16 Thread Tiago Z.C
Hi, Someone knows or can tell your experience with which one is the best PHP framework to work/integrate with GWT development? Thank you -- Tiago Zortéa de Conto Mac User - MAC OS X Leopard MSN: tiag...@pop.com.br --~--~-~--~~~---~--~~ You received this message

Re: GWT and PHP

2009-08-13 Thread Tiago Z.C
you On Wed, Aug 12, 2009 at 10:40 PM, Tiago Z.C tiag...@gmail.com wrote: Ian I was not understand you because i have understand that the gwt code on time of running was execute like java bytecode on a servlet container like jetty, and just after the compile process the java code was transformed

Re: GWT and PHP

2009-08-12 Thread Tiago Z.C
that you talk and find what i wanted. Now i can develop the way that i would like. Thank you, thank you very much!!! On Tue, Aug 11, 2009 at 8:34 PM, Ian Bambury ianbamb...@gmail.com wrote: 2009/8/12 Tiago Z.C tiag...@gmail.com Ian If i do that, every time that i want to see the chances that i

GWT and PHP

2009-08-11 Thread Tiago
Hello, I started my studies about GWT 1 week ago and i'm interested on using GWT with PHP. I have experience with web development using PHP and Symfony framework and Java with VRaptor and Tomcat. Well, i saw that GWT executes on hosted mode using Jetty container and work with GWT RPC for data

Re: GWT and PHP

2009-08-11 Thread Tiago Z.C
? That should work, I think. On Aug 11, 6:25 am, Tiago tiag...@gmail.com wrote: Hello, I started my studies about GWT 1 week ago and i'm interested on using GWT with PHP. I have experience with web development using PHP and Symfony framework and Java with VRaptor and Tomcat. Well, i saw

This application is out of date, please click the refresh button on your browser. ( Expecting version 4 from server, got 3. )

2008-09-02 Thread Tiago
anyone has a clue to what's going on ? Thanks in advance Tiago --~--~-~--~~~---~--~~ 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

Re: This application is out of date, please click the refresh button on your browser. ( Expecting version 4 from server, got 3. )

2008-09-02 Thread Tiago
Thanks Eric My mistake (big one). I changed it in my ant but i accidentally reverted it before, so it was pointing to my old version thanks a lot Regards Tiago http://code.google.com/p/gwt-crud/ On 2 set, 10:40, Eric Ayers [EMAIL PROTECTED] wrote: It looks like you need to upgrade gwt