Re: 2 View, and optional JSON
Why? Is the data returned from the service different from the data you'd return on the page? Even if it is, it's not going to be significantly different, and the pages returning data for html rendering is only going to have slightly more data. On Oct 9, 2010 6:00 PM, "Frans Thamura" wrote: > my idea to spilt the WEb API (REST) with JSON with our current html code > > and need to make it effective > > or my mind worst ;) > > F > > On Sun, Oct 10, 2010 at 4:23 AM, Dave Newton wrote: >> And HTML, and could be extended to create anything else you wanted. >> >> On Saturday, October 9, 2010, Frans Thamura wrote: >>> the REST automatically create JSON and XML >>> >>> F >>> >>> >>> On Sun, Oct 10, 2010 at 3:24 AM, Dave Newton wrote: The REST plugin already returns data based on the URL suffix--what's wrong with using that mechanism? On Saturday, October 9, 2010, Frans Thamura wrote: > hi all > > we need all ur tips > > we wanna to create a REST Action but with optional JSON, and 2 view > > the idea we wanna to create a full blown website, mobile edition using > sencha touch, and optional JSON to make REST as service producer > (consume by android) > > but not all the Action can become JSON > > any idea all? > > F > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org >>> >>> - >>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >>> For additional commands, e-mail: user-h...@struts.apache.org >>> >>> >> >> - >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >> For additional commands, e-mail: user-h...@struts.apache.org >> >> > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org >
Re: 2 View, and optional JSON
my idea to spilt the WEb API (REST) with JSON with our current html code and need to make it effective or my mind worst ;) F On Sun, Oct 10, 2010 at 4:23 AM, Dave Newton wrote: > And HTML, and could be extended to create anything else you wanted. > > On Saturday, October 9, 2010, Frans Thamura wrote: >> the REST automatically create JSON and XML >> >> F >> >> >> On Sun, Oct 10, 2010 at 3:24 AM, Dave Newton wrote: >>> The REST plugin already returns data based on the URL suffix--what's >>> wrong with using that mechanism? >>> >>> On Saturday, October 9, 2010, Frans Thamura wrote: hi all we need all ur tips we wanna to create a REST Action but with optional JSON, and 2 view the idea we wanna to create a full blown website, mobile edition using sencha touch, and optional JSON to make REST as service producer (consume by android) but not all the Action can become JSON any idea all? F - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org >>> >>> - >>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >>> For additional commands, e-mail: user-h...@struts.apache.org >>> >>> >> >> - >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >> For additional commands, e-mail: user-h...@struts.apache.org >> >> > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: 2 View, and optional JSON
And HTML, and could be extended to create anything else you wanted. On Saturday, October 9, 2010, Frans Thamura wrote: > the REST automatically create JSON and XML > > F > > > On Sun, Oct 10, 2010 at 3:24 AM, Dave Newton wrote: >> The REST plugin already returns data based on the URL suffix--what's >> wrong with using that mechanism? >> >> On Saturday, October 9, 2010, Frans Thamura wrote: >>> hi all >>> >>> we need all ur tips >>> >>> we wanna to create a REST Action but with optional JSON, and 2 view >>> >>> the idea we wanna to create a full blown website, mobile edition using >>> sencha touch, and optional JSON to make REST as service producer >>> (consume by android) >>> >>> but not all the Action can become JSON >>> >>> any idea all? >>> >>> F >>> >>> - >>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >>> For additional commands, e-mail: user-h...@struts.apache.org >>> >>> >> >> - >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >> For additional commands, e-mail: user-h...@struts.apache.org >> >> > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: 2 View, and optional JSON
the REST automatically create JSON and XML F On Sun, Oct 10, 2010 at 3:24 AM, Dave Newton wrote: > The REST plugin already returns data based on the URL suffix--what's > wrong with using that mechanism? > > On Saturday, October 9, 2010, Frans Thamura wrote: >> hi all >> >> we need all ur tips >> >> we wanna to create a REST Action but with optional JSON, and 2 view >> >> the idea we wanna to create a full blown website, mobile edition using >> sencha touch, and optional JSON to make REST as service producer >> (consume by android) >> >> but not all the Action can become JSON >> >> any idea all? >> >> F >> >> - >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >> For additional commands, e-mail: user-h...@struts.apache.org >> >> > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: 2 View, and optional JSON
The REST plugin already returns data based on the URL suffix--what's wrong with using that mechanism? On Saturday, October 9, 2010, Frans Thamura wrote: > hi all > > we need all ur tips > > we wanna to create a REST Action but with optional JSON, and 2 view > > the idea we wanna to create a full blown website, mobile edition using > sencha touch, and optional JSON to make REST as service producer > (consume by android) > > but not all the Action can become JSON > > any idea all? > > F > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org