Thierry Boileau <thboileau <at> gmail.com> writes:
> Your approach seems ok for me. Your Gadget Resource is well identified, 
> and you just want to customize the representation of a gadget.
> 
> Just attach your resource with the simple pattern "/gadgets/{gadgetId}".
> Then, in your resource, you can get the query parameters just as follow :
>         Form form = request.getResourceRef().getQueryAsForm();
> and ask for the value of parameter "includeGizmoDetail" just as follow :  
>         form.getFirstValue("includeGizmoDetail");

Thanks Thierry, that worked fine.  The word "Form" threw me off, but makes sense
now.

Stokes.


Reply via email to