Re: Integration of spring with GWT

2011-10-30 Thread Bruno Sandivilli
this post looks like an 'framework email marketing', lol;

2011/10/30 Yaakov yaakov.chai...@gmail.com

 Or, you can check out GWT-Tools project which gives you integration
 with Spring. Also, very very easy AND it comes with sample
 applications that take you step by step. Just check out the code from
 here:
 http://code.google.com/p/gwt-tools/source/checkout

 -Yaakov.

 On Oct 29, 9:41 am, Ezequiel Palumbo ehpalu...@gmail.com wrote:
  Hello Vijaya,
 
  I can also suggesthttp://code.google.com/p/gwt-spring-integration/. This
  is a very very simple approach for GWT RPC and Spring integration where
 you
  only need to put the jar in your classpath (use maven if you can), add a
  line registering the especial Spring MVC Handler Adapter, and then map
 the
  handlers as you want. It's totally transparent for client code and server
  services. I've been using it in many applications, and it always gave me
  good results.
 
  Hope you find it useful!
 
  Ezequiel.-

 --
 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.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.



-- 
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.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Drag drop

2011-10-29 Thread Bruno Sandivilli
2011/10/29 Celinio cel...@gmail.com

 Hi GWT developers,

 what can GWT offer regarding the drag and drop capabilities ?

 1) Can i easily do some drag and drop, in the same web page, from one
 widget to another ?
 2) Can i easily do drag and drop some file from the file explorer to a
 widget in a web page ?

 I'm thinking of providing the drag and drop feature to the user, if he
 needs to attach a document to form (instead of using the Import/Upload
 button).

 Thanks for helping.


  --
 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.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


-- 
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.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Drag drop

2011-10-29 Thread Bruno Sandivilli
+1

2011/10/29 Bruno Sandivilli bruno.sandivi...@gmail.com



 2011/10/29 Celinio cel...@gmail.com

 Hi GWT developers,

 what can GWT offer regarding the drag and drop capabilities ?

 1) Can i easily do some drag and drop, in the same web page, from one
 widget to another ?
 2) Can i easily do drag and drop some file from the file explorer to a
 widget in a web page ?

 I'm thinking of providing the drag and drop feature to the user, if he
 needs to attach a document to form (instead of using the Import/Upload
 button).

 Thanks for helping.


  --
 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.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




-- 
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.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: a total GWT newbie needs help

2011-10-26 Thread Bruno Sandivilli
If you want to build a website, and do not know html, but you've heard about
GWT, you are fine. With GWT you can easily create a simple website 'without
the need to use HTML'. Start by installing the GWT enviorement, and
deploying the sample app.

2011/10/26 Jeff Chimene jchim...@gmail.com

 On 10/26/2011 05:03 PM, Wicca wrote:
  Hello everyone,
  I am very very new to this, but have somehow by hook or by crook,
  managed to create a website with pages, links, paypal widgets, etc.
  However - I do not know how to write html and only understand a very
  small portion of what I read as I look for a solution to my problem.
  Therefore I joined this group to see if there is anyone who is willing
  to assist me.
  What I need is help (by explaining in very simple everyday language)
  in getting rid of huge spaces between PayPal buttons on a registration
  page I created on the website.
  If such a person exists and would reply to this email, I don't think
  it would take much time to fix this issue.
  I've been looking for the answer for hours and while I find references
  to the issue, I can't understand the solutions due to my woeful lack
  of programming skill.
 
  I will be eternally grateful, truly.
  Thank you,
 
  Wicca
 

 This is probably not the right list for you. You'll want to learn HTML
 and CSS for a start. This not the right group to support that endeavor.

 There are many HTML/CSS resources on the web, and your local bookstore
 has miles of shelf space devoted to these topics.

 Bueno Suerte,
 jec

 --
 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.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.



-- 
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.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Client-side object serialization

2011-10-25 Thread Bruno Sandivilli
H alli, i have an Object that is created in the client side, how can i send
this object via JSON to se server and re-instatiante it ?

Thanks in advance

-- 
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.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Client-side object serialization

2011-10-25 Thread Bruno Sandivilli
Thank again Juan! I'll take a look at this library!

2011/10/25 Juan Pablo Gardella gardellajuanpa...@gmail.com

 Did you see http://code.google.com/p/piriti/?

 2011/10/25 Bruno Sandivilli bruno.sandivi...@gmail.com

 H alli, i have an Object that is created in the client side, how can i
 send this object via JSON to se server and re-instatiante it ?

 Thanks in advance

 --
 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.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


  --
 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.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


-- 
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.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Serialization Alternatives

2011-10-21 Thread Bruno Sandivilli
Anyone?

2011/10/18 Bruno Sandivilli bruno.sandivi...@gmail.com

 Hi, i'm serializing my objects with GSON, but i'm thinking in make a
 pattern in my solution, so i'm trying to understand how the GWT-RPC
 Serializtion works. Anyone have a good explication? Or some code
 demonstrating it? 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 google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Serialization Alternatives

2011-10-18 Thread Bruno Sandivilli
Hi, i'm serializing my objects with GSON, but i'm thinking in make a pattern
in my solution, so i'm trying to understand how the GWT-RPC Serializtion
works. Anyone have a good explication? Or some code demonstrating it? 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 google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: One-To-Many RElations Serialization

2011-10-10 Thread Bruno Sandivilli
Thanks for the help from you guys!
But, yes im using IsSEriazeble. I've changed my code to detachable in both
classes, but, when i call:

if(listMyClass.size()  0)
{
for (MyClass myClass : listMyClass) {
return (pm.detachCopy(myClass.getMyInnerClassList()));
}
}
return null;


gives me : The class org.datanucleus.sco.backed.List is not persistable.
This means that it either hasnt been enhanced, or that the enhanced version
of the file is not in the CLASSPATH (or is hidden by an unenhanced version),
or the Meta-Data/annotations for the class are not found.


debugging this, i've reached this : assertClassPersistable in the class
ObjectMAnagerImpl. This function :

public void assertClassPersistable(Class cls)
{
if (cls != null 
!getOMFContext().getApiAdapter().isPersistable(cls)  !cls.isInterface())
{
throw new ClassNotPersistableException(cls.getName());
}
if (!hasPersistenceInformationForClass(cls))
{
throw new NoPersistenceInformationException(cls.getName());
}
}


2011/10/9 Brandon Donnelson branflake2...@gmail.com


 @PersistenceCapable(detachable=true)


 detached = pm.detachCopy(employee);


 Those will create a java.util List object. That should fix it.

 Brandon

 --
 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/-/ikusuY9VjW0J.

 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.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


-- 
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.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: One-To-Many RElations Serialization

2011-10-10 Thread Bruno Sandivilli
I have a simple Class with getters and setters, and :

@PersistenceCapable(identityType=  IdentityType.APPLICATION, detachable =
true )
class MyInnerClass  implements IsSerializable {

@Persistent(defaultFetchGroup = true)
private MyClass myClass;


@PrimaryKey
@Extension(vendorName = datanucleus, key = gae.encoded-pk, value =
true)
@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
String Id;
}

@PersistenceCapable(identityType = IdentityType.APPLICATION, detachable =
true )
public class MyClass implements IsSerializable {
@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
@PrimaryKey
@Extension(vendorName = datanucleus, key = gae.encoded-pk, value =
true)
String Id;
@Persistent(mappedBy = myClass)
ListMyInnerClass listMyInnerClass;
}


2011/10/10 Brandon Donnelson branflake2...@gmail.com

 What type of owned List do you have?

 Have a good day,
 Brandon Donnelson
 c.gawkat.com


 On Mon, Oct 10, 2011 at 1:30 PM, Bruno Sandivilli 
 bruno.sandivi...@gmail.com wrote:

 Thanks for the help from you guys!
 But, yes im using IsSEriazeble. I've changed my code to detachable in both
 classes, but, when i call:

 if(listMyClass.size()  0)
  {
 for (MyClass myClass : listMyClass) {
 return (pm.detachCopy(myClass.getMyInnerClassList()));
  }
 }
 return null;


 gives me : The class org.datanucleus.sco.backed.List is not persistable.
 This means that it either hasnt been enhanced, or that the enhanced version
 of the file is not in the CLASSPATH (or is hidden by an unenhanced version),
 or the Meta-Data/annotations for the class are not found.


 debugging this, i've reached this : assertClassPersistable in the class
 ObjectMAnagerImpl. This function :

 public void assertClassPersistable(Class cls)
 {
 if (cls != null 
 !getOMFContext().getApiAdapter().isPersistable(cls)  !cls.isInterface())
 {
 throw new ClassNotPersistableException(cls.getName());
 }
 if (!hasPersistenceInformationForClass(cls))
 {
 throw new NoPersistenceInformationException(cls.getName());
 }
 }


 2011/10/9 Brandon Donnelson branflake2...@gmail.com


 @PersistenceCapable(detachable=true)


 detached = pm.detachCopy(employee);


 Those will create a java.util List object. That should fix it.

 Brandon

 --
 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/-/ikusuY9VjW0J.

 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.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


  --
 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.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


  --
 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.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


-- 
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.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



JDO Key Serialize

2011-10-10 Thread Bruno Sandivilli
How can i serialize a Key (JDO) to user in GWT?

 No source code is available for type
com.google.appengine.api.datastore.Key;

-- 
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.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: JDO Key Serialize

2011-10-10 Thread Bruno Sandivilli
Hey Juan!
Sorry, but i mean, I have an object with a Key (datastore.Key) as a primary
key, i fetched this object form the datasotre, now i want to red this in the
 client side, wich seems that dont have an implementation,

2011/10/10 Juan Pablo Gardella gardellajuanpa...@gmail.com

 toString()?

 2011/10/10 Bruno Sandivilli bruno.sandivi...@gmail.com

 How can i serialize a Key (JDO) to user in GWT?

  No source code is available for type
 com.google.appengine.api.datastore.Key;

 --
 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.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


  --
 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.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


-- 
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.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: One-To-Many RElations Serialization

2011-10-07 Thread Bruno Sandivilli
How can i serializa this ListMyClass ?

2011/10/7 Juan Pablo Gardella gardellajuanpa...@gmail.com

 What's your question?

 2011/10/6 Bruno Sandivilli bruno.sandivi...@gmail.com

 I'm getting this error when my RPC returns a list of a custom object:
 Type 'org.datanucleus.sco.backed.List' was not included in the set of
 types which can be serialized by this SerializationPolicy or its Class
 object could not be loaded. For security purposes, this type will not be
 serialized.

 --
 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.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


  --
 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.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


-- 
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.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: One-To-Many RElations Serialization

2011-10-07 Thread Bruno Sandivilli
Thanks Buddy!
But if i'm not using Hibernate? I'm using pure GWT, do i have to use the
filter in web.xml? How can i achieve this? Thanks

2011/10/7 Juan Pablo Gardella gardellajuanpa...@gmail.com

 You can see the same problem but with hibernate 
 herehttp://code.google.com/intl/es/webtoolkit/articles/using_gwt_with_hibernate.html.
 In this page show some strategies to resolve the problem. In my case I don't
 adopt this strategies. I do a filter. In Pro Web 
 2.0http://books.google.com/books?id=OG816JSZYVcCpg=PA159lpg=PA159dq=gwt+hibernate+filtersource=blots=BM1JxFq0h9sig=gTKoh1ZBWs26d5vjRi-7CP4fo20hl=esei=R0OPTu_4GZC1hAfXmc32Dwsa=Xoi=book_resultct=resultresnum=7ved=0CF0Q6AEwBg#v=onepageq=gwt%20hibernate%20filterf=falseexplain
  the use of a
 *filter*. A class that, in your case, for example convert
 org.datanucleus.sco.backed.List in java.util.List. This filter intercept the
 classes before send to client. Here
 https://bitbucket.org/gardellajuanpablo/gwt-sample/src/8aba86d82778/src/main/java/com/foo/server/rpc/hibernate/HibernateFilter.javayou
 have an example of a Hibernate filter compatible with GWT 2.4.0 and how
 integrate in a sample project.

 Juan



 2011/10/7 Bruno Sandivilli bruno.sandivi...@gmail.com

 How can i serializa this ListMyClass ?


 2011/10/7 Juan Pablo Gardella gardellajuanpa...@gmail.com

 What's your question?

 2011/10/6 Bruno Sandivilli bruno.sandivi...@gmail.com

  I'm getting this error when my RPC returns a list of a custom object:
 Type 'org.datanucleus.sco.backed.List' was not included in the set of
 types which can be serialized by this SerializationPolicy or its Class
 object could not be loaded. For security purposes, this type will not be
 serialized.

 --
 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.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


  --
 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.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


  --
 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.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


  --
 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.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


-- 
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.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: One-To-Many RElations Serialization

2011-10-07 Thread Bruno Sandivilli
 PersistenceManager pm = PMF.get().getPersistenceManager();
javax.jdo.Query query = (javax.jdo.Query) pm.newQuery(Objetos.class);
query.setFilter(name == nameParam);
query.declareParameters(String nameParam);
ListMyInnerList listaMyInnerList = new ArrayListMyInnerList();
ListMyMain listaMyMainList  = (ListMyMain) query.execute(nameParam);
if(listaMyMainList .size()  0)
{
listaMyInnerList.addAll(listaMyMainList.get(0).getMyInnerList());
 }
return new ArrayList(listaMyInnerList);
or
   return listaMyInnerList;
it gives the same error of Type 'org.datanucleus.sco.backed.ArrayList'

anyone?

2011/10/7 Bruno Sandivilli bruno.sandivi...@gmail.com

 Thanks Buddy!
 But if i'm not using Hibernate? I'm using pure GWT, do i have to use the
 filter in web.xml? How can i achieve this? Thanks


 2011/10/7 Juan Pablo Gardella gardellajuanpa...@gmail.com

 You can see the same problem but with hibernate 
 herehttp://code.google.com/intl/es/webtoolkit/articles/using_gwt_with_hibernate.html.
 In this page show some strategies to resolve the problem. In my case I don't
 adopt this strategies. I do a filter. In Pro Web 
 2.0http://books.google.com/books?id=OG816JSZYVcCpg=PA159lpg=PA159dq=gwt+hibernate+filtersource=blots=BM1JxFq0h9sig=gTKoh1ZBWs26d5vjRi-7CP4fo20hl=esei=R0OPTu_4GZC1hAfXmc32Dwsa=Xoi=book_resultct=resultresnum=7ved=0CF0Q6AEwBg#v=onepageq=gwt%20hibernate%20filterf=falseexplain
  the use of a
 *filter*. A class that, in your case, for example convert
 org.datanucleus.sco.backed.List in java.util.List. This filter intercept the
 classes before send to client. Here
 https://bitbucket.org/gardellajuanpablo/gwt-sample/src/8aba86d82778/src/main/java/com/foo/server/rpc/hibernate/HibernateFilter.javayou
 have an example of a Hibernate filter compatible with GWT 2.4.0 and how
 integrate in a sample project.

 Juan



 2011/10/7 Bruno Sandivilli bruno.sandivi...@gmail.com

 How can i serializa this ListMyClass ?


 2011/10/7 Juan Pablo Gardella gardellajuanpa...@gmail.com

 What's your question?

 2011/10/6 Bruno Sandivilli bruno.sandivi...@gmail.com

  I'm getting this error when my RPC returns a list of a custom object:
 Type 'org.datanucleus.sco.backed.List' was not included in the set of
 types which can be serialized by this SerializationPolicy or its Class
 object could not be loaded. For security purposes, this type will not be
 serialized.

 --
 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.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


  --
 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.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


  --
 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.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


  --
 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.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




-- 
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.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Issue with GWT Desginer

2011-10-06 Thread Bruno Sandivilli
I starred this issue here:
http://code.google.com/p/google-web-toolkit/issues/detail?id=6864thanks=6864ts=1317928466

-- 
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.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



One-To-Many RElations Serialization

2011-10-06 Thread Bruno Sandivilli
I'm getting this error when my RPC returns a list of a custom object:
Type 'org.datanucleus.sco.backed.List' was not included in the set of types
which can be serialized by this SerializationPolicy or its Class object
could not be loaded. For security purposes, this type will not be
serialized.

-- 
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.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: How to intercept GWT RPC

2011-10-04 Thread Bruno Sandivilli
You dont need this, just use:

HttpServletRequest request = this.getThreadLocalRequest();


2011/10/4 Costa costa...@gmail.com

 Hi,

 I would like to encode information of the current session, such as the
 session Id, current user for each GWT RPC call, how can I add this in
 the RPC request and response?

 Thanks,
 Costa

 --
 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.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.



-- 
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.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: problem with upload/download of file

2011-10-04 Thread Bruno Sandivilli
Waht is the response you see in firebug? If its ok(e.g.: 200), it reached
the servlet.

2011/10/4 Rodrigue Lagoue rlag...@googlemail.com

 Hi All,


 I have a problem with the use of the FileUpload widget in my current
 project.  When submit the form, the request is correctly sent to the
 server (I can see it with the help of firebug), but the corresponding
 servlet is never called. It seems like the http post request goes and pends
 around without reaching its target. I checked all settings (web.xml, the url
 is also ok etc..), and couldn't find where my error is.

 I know that I could just use a framework (like gwtupload) and move on, but
 the problem is that I'm now getting a similar problem for the use case
 download file. I use for it the http module of GWT. The effect seems to be
 the same as the uploading. The request just pends around (seen in firebug).

 Any help will be appreciated

 Thank you
 Rodrigue

 --
 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.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


-- 
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.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Using window.open(), Chrome and extensions in GWT project..

2011-10-04 Thread Bruno Sandivilli
Adding another question to this: How can i get the handler for this opened
window?

2011/10/4 Ben ben.falc...@gmail.com

 As a part of a larger GWT project we have some native JavaScript in
 which we use window.open to create a new Chrome instance. So far so
 good. But we have some Chrome extensions (e.g., a screenshot extension
 - 'Awesome Screenshot', or 'Screen capture (by Google)') that we want
 available to this new window. Is is possible to show the extensions
 bar in the new.window ??  Is there any other hooks so we can make use
 of the screen-capture capabilities from the new window?  (Yes, I
 realize that on WinXP/Win7 one could use system utils like
 SnippingTool or alt-printScrn).

 Thanks.

 Example window.open():

 body
 ullia href= onclick=window.open('http://www.google.com',
 'mywindow', 'width=700, height=700, scrollbars=no, resizable=no,
 toolbar=no, menubar=no, location=no'); return false;Pop out a new
 Chrome window (can i make the extensions-bar visible too??)/a/li/
 ul
 /body

 --
 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.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.



-- 
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.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: twitter4j + GWT

2011-09-29 Thread Bruno Sandivilli
Thanks, thisis a great lib. But if i want to twitt with the use acount? I
will need the oauth procedure, alright?

2011/9/29 Gal Dolber gal.dol...@gmail.com

 I don't think twitter4j works on gwt.
 I use this http://code.google.com/p/gwt-rest-client/ to call twitter from
 gwt

 On Wed, Sep 28, 2011 at 11:50 PM, Bruno Sandivilli 
 bruno.sandivi...@gmail.com wrote:

 Anyone can help me with this? I want to have an ouath twitter application
 based on  on GWT. But i cant add twitter4j on client side, so how can i
 manage the callback url(for example)? Any code snippets are welcome :).
 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 google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




 --
 Guit: Elegant, beautiful, modular and *production ready* gwt applications.

 http://code.google.com/p/guit/




  --
 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.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


-- 
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.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: What do you think?

2011-09-29 Thread Bruno Sandivilli
I was surprised too, with all these statements.
thanks
2011/9/28 Palo G. palo.gre...@gmail.com

 Author of article has right in some points (think that everyone who is
 developing apps using gwt found himself in similiar problems like
 author), but as Paul Robinson said, GWT do something that is very
 difficult. You can never please everybody bud I'm sure that everyone
 who had develop some J2EE applications with other frameworks (JSF,
 Struts, ..) have met other painful problems. But know, I'm pretty
 sure, that GWT is the best what can you use for large applications.

 As a proffesional I have a simple answer, everything depends from what
 are your needs, knowledge of your team and of course customer
 will :).

 On 28 zář, 16:53, Jim Douglas jdou...@basis.com wrote:
  Oh wow, an anonymous and incoherent rant.  I am shocked -- shocked! --
  to find such a thing on the Internet.
 
  On Sep 27, 9:37 pm, Bruno Sandivilli bruno.sandivi...@gmail.com
  wrote:
 
 
 
 
 
 
 
   Hi , what do you think about this:
 http://amplicate.com/hate/gwt/4104355-i-hate-gwt-its-one-of-the-worst...
?

 --
 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.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.



-- 
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.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



twitter4j + GWT

2011-09-28 Thread Bruno Sandivilli
Anyone can help me with this? I want to have an ouath twitter application
based on  on GWT. But i cant add twitter4j on client side, so how can i
manage the callback url(for example)? Any code snippets are welcome :).
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 google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



What do you think?

2011-09-27 Thread Bruno Sandivilli
Hi , what do you think about this:
http://amplicate.com/hate/gwt/4104355-i-hate-gwt-its-one-of-the-worst-frameworks-ive/
 ?

-- 
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.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GDDBR11

2011-09-02 Thread Bruno Sandivilli
Yeah, for sure!

2011/9/1 Magno Machado magn...@gmail.com

 I'm likely to go, but not sure yet


 On Thu, Sep 1, 2011 at 9:45 PM, Alisson Prestes javalis...@gmail.comwrote:

 Hi,

 Is anybody from this list coming to Google Developer Day Brazil this
 year?

 Alisson Prestes
 www.google.com/profiles/javalisson

  --
 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.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




 --
 Magno Machado Paulo
 http://blog.magnomachado.com.br
 http://code.google.com/p/emballo/

  --
 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.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


-- 
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.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: multi pages in gwt

2011-08-29 Thread Bruno Sandivilli
I have the same doubt a months ago, my project had to use clean urls. To
solve this i did like i think twitter dows. i put a hash tag listener in my
page, so the urls looks like www.myapp.com/#!/user , and i catch the events
on there. But im asking me now, theres another beuatfull way to achive clean
url's in GWT?

2011/8/29 Marko Borges markoborge...@gmail.com

 Cause i am doing a project migration and i dont wanna loose the structure.
 I know that GWT applications have a single page as pattern but I would like
 to use multiple pages.

 In case I change my mind and wanna use MVP, does anyone have a complete
 example, cause in case of menus and complex widgets how would MVP work?

 2011/8/29 Cristian Rinaldi cristian.rina...@logikas.com

 What is the reason to have multiple pages? (HTML Pages)
 Ajax applications respond to the pattern Sinlge Page.
 You can manage the content to be displayed using MVP (Place / Activities).


 A.U.S Cristian Rinaldi

 2011/8/29 Marko Borges markoborge...@gmail.com
 
  By the way I am trying to work with gwt-multipage jar that looks simple
 but had to update gwt and smartgwt and everything is crashing now...
  Baah
 
 
  2011/8/29 Marko Borges markoborge...@gmail.com
 
  Thanks for your answer. This looks like a little complicated and
 confusing. Isnt there a easier way? I will have many pages.
  Thanks,
  Mark
 
  2011/8/25 Sandney Farias sandneyfar...@gmail.com
 
  Mark,
  Try this link
 http://code.google.com/webtoolkit/doc/latest/DevGuideMvpActivitiesAndPlaces.html.
 I think that it can help you.
 
  --
  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/-/nKFb_l7W81UJ.
  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.
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.
 
 
  --
  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.
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.

 --
 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.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


 --
  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.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


-- 
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.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



GWT + Facebook

2011-08-26 Thread Bruno Sandivilli
Hi, i want i esay and clean way to integrate GWT with Facebook. Any
ideas? 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 google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.