Hey Phani,
On Fri, May 27, 2016 at 12:59 PM, Phani Raj <
phani2...@gmail.com> wrote:
> Hi Team ,
>
>
> I am new to hippo cms 10 and i am working on implement plain rest service in
> my project, i had made changes by going thru the code in the url :
> "
http://www.onehippo.org/library/concepts/rest/restful-api-support---plain-jax-rs-services.html"
>
> but i have some questions on the ProductPlainResource.java source code .
>
> 1. ProductRepresentation-- From where i can implement this and how i need to
> write this java class ?--Error :ProductRepresentation cannot be resolved to
> a type.
> 2. getRequestContext--Error : The method
> getRequestContext(HttpServletRequest) is undefined for the type
Easier to use RequestContextProvider.get() to get the request context.
I'll change that in the documentation
> ProductPlainResource.
> 3. ProductBean--Error :ProductBean cannot be resolved to a type
>
>
> Please let me know what should i need to write the code in these java files.
If you checkout the (old) svn gogreen [1], then I think from the top
of my head there is an example for ProductPlainResource. That might
help you.
Regards Ard
[1]
http://svn.onehippo.org/repos/hippo/hippo-demos/hippo-go-green/tags/hippogogreen-3.09.06/
>
> --
> Hippo Community Group: The place for all discussions and announcements about
> Hippo CMS (and HST, repository etc. etc.)
>
> To post to this group, send email to
hippo-c...@googlegroups.com
> RSS:
>
https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
> ---
> You received this message because you are subscribed to the Google Groups
> "Hippo Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
hippo-communi...@googlegroups.com.
> Visit this group at
https://groups.google.com/group/hippo-community.
> For more options, visit
https://groups.google.com/d/optout.
--
Hippo Netherlands, Oosteinde 11, 1017 WT Amsterdam, Netherlands
Hippo USA, Inc. 71 Summer Street, 2nd Floor Boston, MA 02110, United
states of America.
US
+1 877 414 4776 (toll free)
Europe
+31(0)20 522 4466
www.onehippo.com