How to remove Header & Footer from CellTable? How to create your own Cell-based widget?

2011-01-28 Thread Vasily
Hi All... have few questions: 1. How to remove header & footer from the CellTable in case I don't need them? 2. I need pretty simple widget: table, no header, no footer... my styles, cells, no key-based selection, only key-based paging I wanna re-use such CellTable features as "push data". Wha

Collection of entities & RequestFactory

2011-02-03 Thread Vasily
Hi All, here is my code: @Entity public class Contact { ... @OneToMany(mappedBy="contact", targetEntity=Tag.class, fetch=FetchType.EAGER) private List tags; ... } I'm using RequestFactory to fetch ContactProxy, but .getTags() on value returns NULL I've tried to inspect the contactProxy

Re: Collection of entities & RequestFactory

2011-02-03 Thread Vasily
No,... probably that's the case... Thx On Feb 3, 5:55 pm, Y2i wrote: > Are you using > with("tags")?http://code.google.com/webtoolkit/doc/latest/DevGuideRequestFactory.h... -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this

Re: Collection of entities & RequestFactory

2011-02-03 Thread Vasily
Confirmed. Should use requestFactory.contactRequest().findAllContacts().with("tags").fire(...); SOLVED. Thx! On Feb 3, 6:33 pm, Vasily wrote: > No,... probably that's the case... Thx > > On Feb 3, 5:55 pm, Y2i wrote: > > > Are you using > > with("

RequestFactory & Inheritance

2011-02-10 Thread Vasily
Hi All, Have 3 entity persisted in same table: - Contact - PersonContact extends Contact - CompanyContact extends Contact I can create request which will return Contact... Something like Request> findContactEntries(). The problem is what this ContactProxy will contain only fields in ContactProxy.

Re: RequestFactory & Inheritance

2011-02-10 Thread Vasily
Thank you! On Feb 10, 9:07 pm, Y2i wrote: > the issuehttp://code.google.com/p/google-web-toolkit/issues/detail?id=5367 > > a > workaroundhttps://groups.google.com/d/msg/google-web-toolkit/DMiuK_TBEh4/jSmPC-... -- You received this message because you are subscribed to the Google Groups "Googl

Re: RequestFactory & Inheritance

2011-02-10 Thread Vasily
Could you provide more detailed example of workaround? How to use it? I'll appreciate... Thx! On Feb 10, 9:07 pm, Y2i wrote: > the issuehttp://code.google.com/p/google-web-toolkit/issues/detail?id=5367 > > a > workaroundhttps://groups.google.com/d/msg/google-web-toolkit/DMiuK_TBEh4/jSmPC-... -

Re: RequestFactory & Inheritance

2011-02-10 Thread Vasily
Thank you! Yeah, that's ugly, but that's great :) On Feb 10, 10:20 pm, Y2i wrote: > It's ugly but it works.  If you have a better workaround please share. > > The idea is instead of querying for List you query for > List. > Then you call ContactWrapper.getPersonContact().  If it returns non-null

RequestFactory + ListEditor: empty record during first save

2011-02-25 Thread Vasily
Hi All... I have ListEditor of editable widgets. Each widget is a simple TextBox. Workflow: - clicking add, populating new empty editor in the list; - filling the TextBox; - saving The problem is that for the first 'save' I have a new record in DB with version=0 & all other fields=null. After

Need an example of editable ListEditor

2011-03-03 Thread Vasily
Hi folks, pls share an example of editable ListEditor... I have an issue with persisting edited items, really need something working to compare with. Thx! -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email t

Re: RequestFactoryEditorDriver example?

2011-03-05 Thread Vasily
I've tried that and got "Attempting to edit an EntityProxy previously edited by another RequestContex"... :( Could somebody help me understand what kind of driver should I use... 1. I have ContactProxy which have List 2. User may add/edit/remove phones, so I wrote my own editor on the base of List

Re: RequestFactoryEditorDriver example?

2011-03-05 Thread Vasily
> > 2. User may add/edit/remove phones, so I wrote my own editor... > The second step is not required; it entirely depends how persisting the > ContactProxy works (whether it would persist a new Phone or the Phone has to > be persisted on its own). C'est bon :) I want Phones to be persisted by ed

Re: RequestFactoryEditorDriver example?

2011-03-06 Thread Vasily
g? Thx! On Mar 6, 12:44 am, Thomas Broyer wrote: > On Saturday, March 5, 2011 4:56:42 PM UTC+1, Vasily wrote: > > > > > 2. User may add/edit/remove phones, so I wrote my own editor... > > > > The second step is not required; it entirely depends how persisting the &g

Re: RequestFactoryEditorDriver example?

2011-03-06 Thread Vasily
g? Thx! On Mar 6, 12:44 am, Thomas Broyer wrote: > On Saturday, March 5, 2011 4:56:42 PM UTC+1, Vasily wrote: > > > > > 2. User may add/edit/remove phones, so I wrote my own editor... > > > > The second step is not required; it entirely depends how persisting the &g

Re: RequestFactoryEditorDriver example?

2011-03-06 Thread Vasily
g? Thx! On Mar 6, 12:44 am, Thomas Broyer wrote: > On Saturday, March 5, 2011 4:56:42 PM UTC+1, Vasily wrote: > > > > > 2. User may add/edit/remove phones, so I wrote my own editor... > > > > The second step is not required; it entirely depends how persisting the &g

RequestFactory + Hibernate + MySql + OrphanRemoval = not working.

2011-03-09 Thread Vasily
Hi All, have simple case: @RooJavaBean @RooToString @RooEntity public class Contact { @OneToMany(cascade=CascadeType.ALL, fetch = FetchType.EAGER, mappedBy="contact", orphanRemoval=true) private List phoneList = new ArrayList(); } @RooJavaBean @RooToString @RooEntity public class Phone{ priv

Re: RequestFactory + Hibernate + MySql + OrphanRemoval = not working.

2011-03-09 Thread Vasily
rdella > > > Where are you this? Post the code > > > Juan > > > 2011/3/9 Vasily > > > Hi All, have simple case: > > >> @RooJavaBean > >> @RooToString > >> @RooEntity > >> public class Contact { > > >> @One

Re: RequestFactory + Hibernate + MySql + OrphanRemoval = not working.

2011-03-09 Thread Vasily
e because you have a reference in Contact to the phone > that you want remove. Try do a Test. > > Juan > > 2011/3/9 Vasily > > > That's fine Juan... > > > Actually, I'm editing Contact with Editor framework via > > RequestFactoryEditorDriver...

Re: RequestFactoryEditorDriver example?

2011-03-09 Thread Vasily
ion of phone's creating & then used during persist()... That cause an original collection to become unreferenced & cause that exception. Could anybody suggest a workaround? Thx! On Mar 6, 12:44 am, Thomas Broyer wrote: > On Saturday, March 5, 2011 4:56:42 PM UTC+1, Vasily wrote: >

Re: RequestFactoryEditorDriver example?

2011-03-09 Thread Vasily
Yes, thank you! I already found a description of that exception and can confirm, what modifying of setter for phoneList as you described solving the issue. Thanks for your time! On Mar 10, 12:08 am, Thomas Broyer wrote: > I don't know JPA/JDO much, but wouldn't implementing the setPhoneList as a

RequestFactory + ManyToOne, questions

2011-03-20 Thread Vasily
Hi All... I have 2 entities: class A{ @ManyToOne(optional=true) private B b; } class B{ @OneToMany(cascade=CascadeType.ALL, fetch = FetchType.LAZY, mappedBy="b") private List aList = new ArrayList(); } I'm editing A using RequestFactory... as a part of edit, I'm: 1. creating a new instance of B

Re: RequestFactory + ManyToOne, questions

2011-03-20 Thread Vasily
SOLVED! I forgot to set cascade for A, so, A should look like: class A{ @ManyToOne(optional=true, cascade=CascadeType.ALL) private B b; } Thanks! On Mar 20, 12:45 pm, Vasily wrote: > Hi All... > > I have 2 entities: > > class A{ > @ManyToOne(optional=true) > private B

Using gwt-user.jar and gwt-dev-linux.jar in *.war file

2009-04-02 Thread Vasily Vasilkov
Hi! I have the web-application that uses classes from GWT in its server-side code (com.google.gwt.user.server.rpc.RPC for example) I pack my classes, static files and libs (gwt jars too) into app.war file and deploy it on tomcat 6.x While deploying it I've got the following tomcat error: INFO:

gwt compilation + IBM JDK

2009-06-17 Thread Vasily Vasilkov
Hi I have the IBM JDK 6 and GWT 1.6.4 project. I can't compile my project with IBM JDK due to exception: Caused by: java.lang.ClassNotFoundException: _j2se_j9=71168 at java.net.URLClassLoader.findClass(URLClassLoader.java:419) at java.lang.ClassLoader.loadClass(ClassLoader.java

Re: GWT Mosaic 0.2.2 is now available

2009-07-12 Thread Vasily Vasilkov
> GWT Mosaic 0.2.2 is now available Looks great! --~--~-~--~~~---~--~~ 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 fr

Re: Force image caching in gallery

2009-11-14 Thread Vasily Vasilkov
> > If you are images are dynamic, or if you are not using GWT 2.0, you will > have to set appropriate HTTP Cache headers when the image is served. Could you please clarify - what feature I can use in GWT 2.0 instead of setting http headers? -- You received this message because you are subscrib