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
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
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
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("
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.
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
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-...
-
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
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
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
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
> > 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
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
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
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
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
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
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...
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:
>
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
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
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
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:
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
> 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
>
> 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
26 matches
Mail list logo