• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: ERRest - @PathParam
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ERRest - @PathParam


  • Subject: Re: ERRest - @PathParam
  • From: Pascal Robert <email@hidden>
  • Date: Mon, 05 Mar 2012 08:47:56 -0500

http://www.slideshare.net/wocommunity/errest (pages 34 and after)

> if you put a component in with the expected name, the automatic  html routing will use that component
>
> so, turn on automatichtmlrouting and create a component named with your entity and I think that should do it.
>
>
>
> On Mar 5, 2012, at 5:31 AM, Ron X <email@hidden> wrote:
>
>> Hello.
>>
>> i have this code in myChartController:
>>
>>   public WOActionResults showAction(@PathParam("chart") Chart chart) throws Throwable {
>>       return response(chart, filter());
>>   }
>>
>> when write the url .../Chart/1
>> - gets the fetch and shows xml-format of current entity object to me (accordingly with filter)
>>
>> how can i pass received data to the another component - for example ConcreteChart - to dislpay good html-page?
>>
>> thanx.
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list      (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >ERRest - @PathParam (From: Ron X <email@hidden>)
 >Re: ERRest - @PathParam (From: Jesse Tayler <email@hidden>)

  • Prev by Date: Re: ERRest - @PathParam
  • Next by Date: ERRest - RestDelegate
  • Previous by thread: Re: ERRest - @PathParam
  • Next by thread: ERRest - RestDelegate
  • Index(es):
    • Date
    • Thread