Re: ERRest - @PathParam
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