Venkat Koppavolu 10 Years Ago Vitor Silva,Excellent post!!! I happy to see this post as it gave clear a path for all developers who are struggling to include Ext JS with Lifeay. Please sign in to reply. Reply as... Cancel
Manish Jha 9 Years Ago Thanks for the article. It does not work in the Jboss server. I get following error :Caused by: org.springframework.beans.FatalBeanException: Class [org.springframework.context.config.ContextNamespaceHandler] for namespace [http://www.springframework.org/schema/context] does not implement the [org.springframework.beans.factory.xml.NamespaceHandler] interface at org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.resolve(DefaultNamespaceHandlerResolver.java:126) [spring-beans.jar:3.0.7.RELEASE] at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1333) [spring-beans.jar:3.0.7.RELEASE] Please sign in to reply. Reply as... Cancel Manish Jha Manish Jha 9 Years Ago It was resolved after I changed <loan-on-startup> to -negative number from 1. Please sign in to reply. Reply as... Cancel
Manish Jha Manish Jha 9 Years Ago It was resolved after I changed <loan-on-startup> to -negative number from 1. Please sign in to reply. Reply as... Cancel
ashokkumar venkata ananthapalli 9 Years Ago HI Victor, Can I get the Code Plsss. Please sign in to reply. Reply as... Cancel
sai praneeth P 9 Years Ago Nice post...But can you please provide client program in java to handle the return values like getAllSamples().... Please sign in to reply. Reply as... Cancel
Orin Fink 9 Years Ago Thank you a TON for these examples. Seems that this is exactly what we are looking for. However, While extracting some of these examples... we are seeing a HTTP Status 405 from the Apache Tomcat server. Is this common? Please sign in to reply. Reply as... Cancel
Daniele Baggio 8 Years Ago Sorry but @JsonIgnoreProperties doesn't have effect to me.I'm using 6.2.4, look at this please:https://gist.github.com/baxtheman/457f5dfd214d2ef1a36a Please sign in to reply. Reply as... Cancel
Thomas Lucas 6 Years Ago Hi Vitor,while trying to add this RESTFul Api to an existing portlet-project I was fighting with an htpp 500 Response when returning List of objects and an 406 when returning a single object. After hours of troubleshooting I found, that the reason was a boolean field in the table. Servicebuilder generates 2 getter-Method for boolean-Fields (Example: fieldname showAdress produces isShowName and getShowName) and Jackson does not like that.You can reproduce that by just adding a boolean field in the Sample-Project.So how can I solve that? How can I prevent ServiceBuilder from that? Please sign in to reply. Reply as... Cancel Peidong Hu Thomas Lucas 6 Years Ago I have been trying to expose the same type of spring restful api in Liferay 7.But failed to get any done.Is liferay 7 supporting spring restful framework? Please sign in to reply. Reply as... Cancel Liferay Dev Peidong Hu 6 Years Ago We are also facing same issue. Any update on Spring restful in Liferay DXP? Please sign in to reply. Reply as... Cancel
Peidong Hu Thomas Lucas 6 Years Ago I have been trying to expose the same type of spring restful api in Liferay 7.But failed to get any done.Is liferay 7 supporting spring restful framework? Please sign in to reply. Reply as... Cancel Liferay Dev Peidong Hu 6 Years Ago We are also facing same issue. Any update on Spring restful in Liferay DXP? Please sign in to reply. Reply as... Cancel
Liferay Dev Peidong Hu 6 Years Ago We are also facing same issue. Any update on Spring restful in Liferay DXP? Please sign in to reply. Reply as... Cancel