Re: ERRest - @PathParam
Re: ERRest - @PathParam
- Subject: Re: ERRest - @PathParam
- From: Jesse Tayler <email@hidden>
- Date: Mon, 05 Mar 2012 06:57:41 -0500
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