Re: Spring MVC and GWT

2011-03-20 Thread bindu priya
Can you pls give some sample code how this can be done. On Sat, Mar 19, 2011 at 11:46 PM, Kayode Odeyemi drey...@gmail.com wrote: I'm working on a project with similar architecture to yours. What I've adopted is something I'll call MVPV. I currently use SpringMvc to handle my jsp views and

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 ListA aList = new ArrayListA(); } I'm editing A using RequestFactory... as a part of edit, I'm: 1. creating a new instance of

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 vasiliy.ru...@gmail.com wrote: Hi All... I have 2 entities: class A{ @ManyToOne(optional=true) private B b; }

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

2011-03-20 Thread antrox
did someone made it? i dont know and i cant find something about HOTMAIL :/ are there settings for another provider which are working? regards On 19 Mrz., 19:45, FrugoFrog frugof...@gmail.com wrote: It's your mail server setting I guess

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

2011-03-20 Thread antrox
for hotmail i got this: smtp.live.com -- 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

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

2011-03-20 Thread antrox
mtp.live.com (STARTTLS; Port 587) -- 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

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

2011-03-20 Thread antrox
i cant edit my message right :D ? ... where can i set the smpt server in my code? -- 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: How to send an Email with GWT to a specific Address?

2011-03-20 Thread antrox
now i did this. --- public void sendingnow2() throws UnsupportedEncodingException{ String host = smtp.live.com; String port = 587; Properties props = new Properties(); props.put(mail.smtp.host, host);

Re: Looking for a gwt tutorial

2011-03-20 Thread Y2i
Take a look at this section http://code.google.com/webtoolkit/doc/latest/DevGuideMvpActivitiesAndPlaces.html At the top it has two links that were very helpful to me http://code.google.com/webtoolkit/articles/mvp-architecture.html

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

2011-03-20 Thread Jens
TLS is the further development of SSL. To tell JavaMail to issue a STARTTLS command you could set mail.smtp.starttls.enable to true (see: http://javamail.kenai.com/javadocs/com/sun/mail/smtp/package-summary.html) or use an instance of SMTPTransport and call smtpTransport.setStartTLS(true)

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

2011-03-20 Thread antrox
i got this now: public void sendingnow2() throws UnsupportedEncodingException{ String host = smtp.live.com; String port = 587; Properties props = new Properties(); props.put(mail.smtp.host, host);

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

2011-03-20 Thread antrox
the misidentification was missing. the following works properly. public void sendingnow() throws UnsupportedEncodingException{ Properties props = System.getProperties(); props.put(mail.smtp.host, smtp.live.com); props.put(mail.smtp.port,

Working with JSON in client/server shared class

2011-03-20 Thread Jaroslav Záruba
Hi My Java class shared by client (GWT) and server (GAE/J) has field containing JSON-markup. Is it possible to parse/update/serialize this data using this very class? (I.e. without having to write separate client and server helper class.) Regards J. Záruba -- You received this message

Eclipse Run As Web Application overwrites all the libs

2011-03-20 Thread Philippe Beaudoin
I'm using maven with m2eclipse and want to use to nice debugging tools by running my app directly from Eclipse via the Run As Web Application command. This used to work well, but recently I've discovered that all the external dependencies in target/MyProject/WEB-INF/lib are deleted every time

Re: Eclipse Run As Web Application overwrites all the libs

2011-03-20 Thread Philippe Beaudoin
I found a workaround by disabling and reenabling Maven dependency injection in Eclipse: Right-click on the project Maven Disable Dependency Management Right-click on the project Maven Enable Dependency Management -- You received this message because you are subscribed to the Google Groups

Re: Adding event handlers to elements in HTML-style UiBinder

2011-03-20 Thread Steve C
Thomas, Thanks. My main concern was if I had done enough to ensure the end-of- life-cycle cleanup. The Element.as got in there at some point when I was trying to get the right reference and Eclipse was flagging errors. I probably made another change that eliminated that need somewhere along

Re: gwt button cell

2011-03-20 Thread Deepali Bhandari
On Mar 17, 9:34 pm, Deepali Bhandari deepalib...@yahoo.com wrote: Hi I have a cell table in which the first column, is a button cell. I need to be able to add style to it. I am unable to find code samples for it. I would also like to be able to click on the button cell. Somewhere I saw

Why is ChangeListenerCollection deprecated? I'm using it for non-native browser events.

2011-03-20 Thread ricochet
The note in the code: @deprecated Widgets should now manage their own handlers via {@link Widget#addDomHandler} Which only deals with events the browser fires, right? Adds a native event handler to the widget and sinks the corresponding native event. What about events I want to handle for

Flowplayer in GWT

2011-03-20 Thread Leung
Hi, Has anyone used Flowplayer with GWT? Pls post a very simple example to show the compatibility of Flowplayer and GWT. Thanks -- 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: Looking for a gwt tutorial

2011-03-20 Thread Kiarash
thank you Y2i On Mar 20, 5:24 pm, Y2i yur...@gmail.com wrote: Take a look at this sectionhttp://code.google.com/webtoolkit/doc/latest/DevGuideMvpActivitiesAnd... At the top it has two links that were very helpful to me

[gwt-contrib] Using cached ZipFileClassPathEntry objects. (issue1388803)

2011-03-20 Thread scheglov
Reviewers: conroy, Description: Using cached ZipFileClassPathEntry objects. While this does not give benefits for DevMode, which parses jar files only once, GWT Designer does this many times. This gives about 15% speed up in GWT Designer. Initial. - Parsing...done: 4775 refresh:

[gwt-contrib] Re: Fix Javadoc for gesture/touch events (issue1383805)

2011-03-20 Thread pdr
On 2011/03/20 04:45:50, fredsa wrote: LGTM http://gwt-code-reviews.appspot.com/1383805/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Using cached ZipFileClassPathEntry objects. (issue1388803)

2011-03-20 Thread zundel
http://gwt-code-reviews.appspot.com/1388803/diff/1/dev/core/src/com/google/gwt/dev/resource/impl/ZipFileClassPathEntry.java File dev/core/src/com/google/gwt/dev/resource/impl/ZipFileClassPathEntry.java (right):

[gwt-contrib] Re: Using cached ZipFileClassPathEntry objects. (issue1388803)

2011-03-20 Thread jbrosenberg
What is the use case here? Normally, a jar file is never re-opened in a java classpath after the first time it is loaded, so I'm not sure I understand what's happening here. Is GWTDesigner generating and overwriting jar files and then reloading them? How has this worked in the past, given that

[gwt-contrib] Re: Adds a cache (PersistenUnitCache) to store CompilationUnits (issue1375802)

2011-03-20 Thread jbrosenberg
http://gwt-code-reviews.appspot.com/1375802/diff/9001/dev/core/src/com/google/gwt/dev/javac/PersistentUnitCache.java File dev/core/src/com/google/gwt/dev/javac/PersistentUnitCache.java (right):

[gwt-contrib] Re: Using cached ZipFileClassPathEntry objects. (issue1388803)

2011-03-20 Thread scheglov
DevMode uses single top level ModuleDef with single set of jars. GWT Designer can open several editors with several top level ModuleDefs, which use several may be different sets of jars, but with many intersections. If only we could have hashCode() and equals() for PathPrefixSet... This would

[gwt-contrib] Re: Using cached ZipFileClassPathEntry objects. (issue1388803)

2011-03-20 Thread jbrosenberg
http://gwt-code-reviews.appspot.com/1388803/diff/1/dev/core/src/com/google/gwt/dev/resource/impl/ZipFileClassPathEntry.java File dev/core/src/com/google/gwt/dev/resource/impl/ZipFileClassPathEntry.java (right):