implement equals in entityproxy

2012-08-27 Thread FrugoFrog
Hi there I have 2 CellLists with EntityProxies. I want to add a selected item from one only if it is not present in the other. Is there a better way to do this than: a) creating a wrapper object implementing equals and using list.contains b) comparing all selected elements to each element in the o

Re: which EventBus

2012-08-03 Thread FrugoFrog
yes that's what I mean. I inherited the code that uses RF and MVP. Classes implement Activity interface defined in com.google.gwt.activity.shared and this needs the Event bus from the same package. I'm not sure if this will change in future releases of GWT. Looks a bit inconsequent to me But hey i

Re: which EventBus

2012-08-02 Thread FrugoFrog
I was mid way of re-factoring the code when I realised that the Activity interface needs EventBus from com.google.gwt.event.shared.EventBus :( On 1 August 2012 09:21, Jens wrote: > Always use the web.bindery EventBus in your code and never use the > HandlerManager directly. Also I strongly recom

gwt 2.4 firefox 10.0.6 ListBox bug

2012-08-02 Thread FrugoFrog
I have a sub-editor class that represents priority of a task public class EditorListBox extends ListBox implements LeafValueEditor in constructor of the parent editor I construct the sub-editor and call setItemSelected(1); Things used to work fine but after a recent upgrade of the firefox on my

Re: How to POST in REST web service

2012-03-01 Thread FrugoFrog
What sort of content are you getting back? Would a RequestBuilder be right thing for you? (http://code.google.com/webtoolkit/doc/latest/DevGuideServerCommunication.html # HTTP client types ) Am 1. März 2012 06:04 schrieb jayalakshmi jahagirdar : > Hi all, > I am trying to  make a REST call to

Re: I need suggestions for compositeCell selection

2011-10-05 Thread FrugoFrog
My bad. The description might have been insufficient. I have an overwritten multiselection model because I want to select multiple items. I'm not sure if this makes any difference but I mentioned it just in case. My problem is how to tick check box when I click on the imageCell when the item is al

Re: file upload once again

2011-08-10 Thread FrugoFrog
Multiple(boolean multiple) > { >    fileUpload.getElement().setPropertyBoolean("multiple", multiple); > } > > On Aug 10, 8:52 am, FrugoFrog wrote: >> What is google docs  using for file upload i that it allows multi-selection? >> >> cheers > > -- >

file upload once again

2011-08-10 Thread FrugoFrog
What is google docs using for file upload i that it allows multi-selection? cheers -- 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,

Re: Nothing gets displyed on GUI after sucessfully deploy

2011-08-05 Thread FrugoFrog
Did you by chance add some of layouts panel to RootPanel instead of RootLayoutPanel? 2011/8/5 arunpatil...@gmail.com : > Hey Guys, > > I have my GWT application that has been successfully deployed on > Tomcat(no error or exception in logs). > But when i try to hit the app url, still I am not able

RequestFactory + collectios

2011-07-13 Thread FrugoFrog
Hi Dev guides say that RF supported collection types are Set and List Is there a way to get around RF this limitation? What do you do if an entity contains a map? thanks -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this gro

Re: Hibernate as JPA Provider ??

2011-07-02 Thread FrugoFrog
You are missing provider definition in your unit. Glassfish is using default- eclipse Add org.hibernate.ejb.HibernatePersistence below good luck 2011/7/1 chalu : > I have a working Helios installation on which I have set up GWT 2.3 > on. I am using Hibernate 3.6 as my JPA provider in a GWT pr

Re: How to send an Email with GWT to a specific Address?

2011-03-19 Thread FrugoFrog
It's your mail server setting I guess http://www.oracle.com/technetwork/java/faq-135477.html#connectionrefused http://www.coderanch.com/t/271167/java/java/JavaMail-connection-refused good luck 2011/3/19 antrox : > here some more information about the exception > > it seems to be that "localhost"

Re: How to send an Email with GWT to a specific Address?

2011-03-19 Thread FrugoFrog
Do you have mail and activation jars in WEB-INF/lib ? 2011/3/18 antrox : > Hello, > > this is what i tried for testing only. > > have a look please, pretty simple i guess. > > I made a Button which performs this: > >        public void sendmail(){ >                rpcService.sendingnow(new AsyncCa

Re: Removing a detached instance

2011-03-08 Thread FrugoFrog
shouldn't one merge the entity first ? so that it's managed/attached. em.remove(em.merge(this)); regards 2011/3/7 SrArcos : > Hello all, I don't know if my question must be here, but I need a help > with this problem and I don't know exactly where it can being solved. > > I'm trying to remove an

Re: .nocache.js not found

2011-03-01 Thread FrugoFrog
> [WARN] 404 - GET /.nocache.js (127.0.0.1) does help ? 2011/2/27 Celinio : > Hi, > I am new to GWT 2.2 > > I am using Helios with the GWT plugin. > I created a simple Hello World example. > > The content of the module file HelloGwt.gwt.xml is : > > > "http://google-web-toolkit.googlecode.com

Re: Which html element is (+/-) element in the CellTree? How can I edit it's id?

2011-02-21 Thread FrugoFrog
It this what you are looking for? http://groups.google.com/group/google-web-toolkit/browse_thread/thread/144b025bfa3421c3 2011/2/21 Anastasia : > Hello all, > > In the application I'm working on, that is build using gwt-2.1.1, > there is CellTree presentation widget that creates a structure of > f

Re: Requestfactory server logs

2011-02-16 Thread FrugoFrog
I found this useful http://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/dynatablerf/src/com/google/gwt/sample/dynatablerf/client/DynaTableRf.java also change logging settings for hibernate/persistance good luck 2011/2/16 Simon M : > I am trying to use Requestfactory & editor

Re: how to ensure a single EntityManager per request?

2011-02-15 Thread FrugoFrog
I may be wrong but guice JpaPersistModule works the same. + you get benefits of @Transactional. Anyway good work I'm sure people will find it useful cheers 2011/2/15 KaffeineComa : > Ah, good catch.  Example updated, thanks. > > -- > You received this message because you are subscribed to the Goo

Re: Working with collection of entities in requestFactory

2011-02-03 Thread FrugoFrog
do you see the persistent elements in DB? Can you see the elements if you change FetchType.LAZY to EAGER? 2011/2/2 JB : > Hi, > > I'm having troubles in using collection (list) of entities with > requestFactory. > > The persistence of the whole graph is OK, but whenever I try to > retrieve it,