Re: sending data from client to server
it returns the listof value proxy. i have one more query that how can i set data from client side to value proxy. if possible could you please provide me the sample example to meet my criteria. Thanks On Wed, May 2, 2012 at 11:22 PM, Jens wrote: >> Shall i use the same proxy for the return result. > > > Sounds like it doesn't make sense but I don't know your app nor what you > want to search. > > If you search for some data in your database then you probably want to > return a list of EntityProxy-s as a search result (if you want to display > the search result). If your search is more like a server side calculation, > e.g. "How many matches do I have for that search query?", then you would > return an Integer for example (or a ValueProxy / List of ValueProxy if the > result is more complex and does not represent a database entity). > > -- J. > > -- > 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/-/5GGMPH5J7jEJ. > > 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: sending data from client to server
> > Shall i use the same proxy for the return result. Sounds like it doesn't make sense but I don't know your app nor what you want to search. If you search for some data in your database then you probably want to return a list of EntityProxy-s as a search result (if you want to display the search result). If your search is more like a server side calculation, e.g. "How many matches do I have for that search query?", then you would return an Integer for example (or a ValueProxy / List of ValueProxy if the result is more complex and does not represent a database entity). -- J. -- 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/-/5GGMPH5J7jEJ. 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: sending data from client to server
Thanks for the reply. I have one more small doubt. Shall i use the same proxy for the return result. could you please provide me the sample for this criteria. On Wed, May 2, 2012 at 6:55 PM, Jens wrote: >> do i need to use value proxies here? > > > Yes, with ValueProxys you can send data/bean like objects between > client/server that do not have a database identity. > > -- > 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/-/XiLVXD7zDOwJ. > > 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: sending data from client to server
> > do i need to use value proxies here? Yes, with ValueProxys you can send data/bean like objects between client/server that do not have a database identity. -- 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/-/XiLVXD7zDOwJ. 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.
sending data from client to server
Hi Everyone, I have a requirement that, I have to search something from the db and get back some results(Like a search button functionality).For this I am giving some inputs. I have to send these inputs(like Beans) to server side. I am using GWT2.4 request factory. How can i do this? do i need to use value proxies here? -- 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/-/6nJVoE-VRtEJ. 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.