On Tue, Feb 16, 2010 at 5:08 PM, Shawn Brown <[email protected]>wrote:
> Well I use GXT but like the smartgwt grids better so am looking at > this datasource issue. > > It's worrysome: > Thread > http://forums.smartclient.com/showthread.php?t=3012 > > Bug report asking for RPC datasource > http://code.google.com/p/smartgwt/issues/detail?id=303 > > Shawn, The thread you point to is really old (2008). Since then, alius, one of the SmartGWT users has come up with a good implementation of GwtRpcDataSource. You can read this rather long thread ( http://forums.smartclient.com/showthread.php?t=4814 ), but all the information you'll need is in there along with the GwtRpcDataSource implementation. The GwtRpcDataSource implementation is part of the smartgwt-extensions project : http://code.google.com/p/smartgwt-extensions/ > I see there is an api but it states: > > Smart GWT supports declarative, XPath-based binding of visual > components to any server capable of returning XML or JSON responses > over HTTP, without the need for the 'Smart GWT server'. > > Yes, this is true and there are a number of samples of this in the SmartGWT Showcase. http://www.smartclient.com/smartgwt/showcase/ Go to Data Integration-- > XML, or JSON. You can even use Webservices / WSDL based DataSources. > > > A fetch operation for example will pass the startRow, endRow and the > > applications server side code needs to return data as XML, JSON or > GWT-RPC > > beans in response to this request. > > : http://www.smartclient.com/smartgwt/showcase/#featured_restfulds > > Are there any examples using GWT-RPC (without the smart server) > Sanjiv what you said and what the docs say seem to be different. Can > we really use GWT-RPC to get a bean back that can be used as a > datasource? > > Yes. sunnyl, another experienced SmartGWT has posted a complete standalone project illustrating the use of GwtRpcDataSource here : http://forums.smartclient.com/showthread.php?t=4814&page=22 It's not fair to have these long discussion specific to SmartGWT on the GWT forum. However its hard not to respond posts are made either intended to be flame bait or from users who have not taken time to explore the product features but make false assertions, or statements that are plain wrong. Shawn, I would encourage you and any other user interested in SmartGWT to post on the SmartGWT forum ( http://forums.smartclient.com/forumdisplay.php?f=14 ) - whether it be a technical question, or about product features and capabilities. There's a lot of SmartGWT introduction and related material even on my blog : http://www.jroller.com/sjivan/ Thanks, Sanjiv -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
