掲示板
BaseStrutsAction and BaseStrutsPortletAction Can not fild a symbol
12年前 に manasa chandri によって更新されました。
BaseStrutsAction and BaseStrutsPortletAction Can not fild a symbol
Regular Member 投稿: 152 参加年月日: 10/09/28 最新の投稿
Hi All,
I have created struts -action-hook-plugin from below url
http://www.liferay.com/web/mika.koivisto/blog/-/blogs/overriding-and-adding-struts-actions-from-hook-plugins
But i am getting the build failed.
BaseStrutsAction and BaseStrutsPortletAction classes are not comming.(error: cannot find the symbol)
error: I have attached the error page
Can anybody know the solution to this problem, please help me as soon as possible
Thank you in advance
Thanks & Regards,
Manasa.chandri,
Tema Business Systems.
I have created struts -action-hook-plugin from below url
http://www.liferay.com/web/mika.koivisto/blog/-/blogs/overriding-and-adding-struts-actions-from-hook-plugins
But i am getting the build failed.
BaseStrutsAction and BaseStrutsPortletAction classes are not comming.(error: cannot find the symbol)
error: I have attached the error page
Can anybody know the solution to this problem, please help me as soon as possible
Thank you in advance
Thanks & Regards,
Manasa.chandri,
Tema Business Systems.
添付ファイル:
12年前 に Prakash Khanchandani によって更新されました。
RE: BaseStrutsAction and BaseStrutsPortletAction Can not fild a symbol
Expert 投稿: 329 参加年月日: 11/02/10 最新の投稿
Hi Manassa,
The first line of the blogs says:
These versions are not released yet, So for any version below this the hook will not work .
Regards,
Prakash
The first line of the blogs says:
This is a new cool feature I worked on with Brian and it’s coming on 6.1 as well as 6.0 EE SP2 and 5.2 EE SP6. With this feature you can add new struts actions to portal from a hook plugin and you can override any existing action with it.
These versions are not released yet, So for any version below this the hook will not work .
Regards,
Prakash
12年前 に manasa chandri によって更新されました。
RE: BaseStrutsAction and BaseStrutsPortletAction Can not fild a symbol
Regular Member 投稿: 152 参加年月日: 10/09/28 最新の投稿
Hi Prakash Khanchandani,
Thank you for giving reply to me
I am using 6.0.5 version.
I have to create the plugin portlet which extends the StrutsPortlet(com.liferay.portlet.StrutsPortlet)
It sholud be contains ActionRequest and ActionResponse
Any suggestion for the extending strutsPortlet(plug-in portlet)
Thnak you in advance
Thanks & Regards
Manasa.chandri
Tema Business Systems
Thank you for giving reply to me
I am using 6.0.5 version.
I have to create the plugin portlet which extends the StrutsPortlet(com.liferay.portlet.StrutsPortlet)
It sholud be contains ActionRequest and ActionResponse
Any suggestion for the extending strutsPortlet(plug-in portlet)
Thnak you in advance
Thanks & Regards
Manasa.chandri
Tema Business Systems
12年前 に Prakash Khanchandani によって更新されました。
RE: BaseStrutsAction and BaseStrutsPortletAction Can not fild a symbol
Expert 投稿: 329 参加年月日: 11/02/10 最新の投稿
Hi Manassa,
If I understand your question properly, you need to build a plugin-portlet (hot deployable) and your Portlet class should extend StrutsPortlet.
My understanding is you cannot create a plugin-portlet by extending a StrutsPortlet, you can extend the following for a plugin-portlet and they are I suppose more than enough for any task a StrutsPortlet can perform:
1) GenericPortlet
2) MVCPortlet (liferay specific)
3) SpringMCVPortlet
Still if you want to, then I would suggest look in the liferay repository for a sample struts portlet - if there is one .
Hope this helps.
Regards,
Prakash
If I understand your question properly, you need to build a plugin-portlet (hot deployable) and your Portlet class should extend StrutsPortlet.
My understanding is you cannot create a plugin-portlet by extending a StrutsPortlet, you can extend the following for a plugin-portlet and they are I suppose more than enough for any task a StrutsPortlet can perform:
1) GenericPortlet
2) MVCPortlet (liferay specific)
3) SpringMCVPortlet
Still if you want to, then I would suggest look in the liferay repository for a sample struts portlet - if there is one .
Hope this helps.
Regards,
Prakash
12年前 に Prakash Khanchandani によって更新されました。
RE: BaseStrutsAction and BaseStrutsPortletAction Can not fild a symbol
Expert 投稿: 329 参加年月日: 11/02/10 最新の投稿
A comment by JorgeFerrer on this link http://www.liferay.com/community/wiki/-/wiki/Main/Struts+Action+Portlet+in+Plugin+SDK:
Hope this clears things a little regarding struts-plugin-portlet
For reference, though, note that it's not recommended by Liferay to use its StrutsPortlet bridge in plugins. We recommend using a custom framework for simple portlets or one of the modern frameworks with portlet support for more advanced portlets such as JSF (for example with IceFaces), Struts 2 or Spring MVC.
Hope this clears things a little regarding struts-plugin-portlet
12年前 に manasa chandri によって更新されました。
RE: BaseStrutsAction and BaseStrutsPortletAction Can not fild a symbol
Regular Member 投稿: 152 参加年月日: 10/09/28 最新の投稿
HI Prakash Khanchandani
Thank you for giving reply
I have tried already (struts portlet)
But, i got the classNotFoundException
I am attached my error message to this post
Can you Please give any suggestion
Thank you inn advance.
Thanks & Regards,
Manasa.chandri,
Tema Business Systems
Thank you for giving reply
I have tried already (struts portlet)
But, i got the classNotFoundException
I am attached my error message to this post
Can you Please give any suggestion
Thank you inn advance.
Thanks & Regards,
Manasa.chandri,
Tema Business Systems
12年前 に Daniel Wilmes によって更新されました。
RE: BaseStrutsAction and BaseStrutsPortletAction Can not fild a symbol
Regular Member 投稿: 164 参加年月日: 11/05/23 最新の投稿
\tomcat-6.0.29\webapps\ROOT\WEB-INF\lib
You may need to add some jar files to your class path. Try the struts.jar and you probably will need to add others as well.
You may need to add some jar files to your class path. Try the struts.jar and you probably will need to add others as well.
12年前 に manasa chandri によって更新されました。
RE: BaseStrutsAction and BaseStrutsPortletAction Can not fild a symbol
Regular Member 投稿: 152 参加年月日: 10/09/28 最新の投稿
Hi Daniel Wilmes,
Thank you for giveing reply to me.
I added all jar's in my classpath, still getting same exception..
Thank you in advance
Thanks & Regards,
Manasa.chandri,
Tema Business Systems.
Thank you for giveing reply to me.
I added all jar's in my classpath, still getting same exception..
Thank you in advance
Thanks & Regards,
Manasa.chandri,
Tema Business Systems.
12年前 に manasa chandri によって更新されました。
RE: BaseStrutsAction and BaseStrutsPortletAction Can not fild a symbol
Regular Member 投稿: 152 参加年月日: 10/09/28 最新の投稿
Hi Prakash Khanchandani,
Thank you for giving reply to me.
Extending
1)GenericPortlet
2) MVCPortlet (liferay specific)
3) SpringMCVPortlet
I have implemented by extending above portlets.
Thanks & Regards,
Manasa.chandri,
Tema Business Systems.
Thank you for giving reply to me.
Extending
1)GenericPortlet
2) MVCPortlet (liferay specific)
3) SpringMCVPortlet
I have implemented by extending above portlets.
Thanks & Regards,
Manasa.chandri,
Tema Business Systems.
12年前 に Prakash Khanchandani によって更新されました。
RE: BaseStrutsAction and BaseStrutsPortletAction Can not fild a symbol
Expert 投稿: 329 参加年月日: 11/02/10 最新の投稿
Welcome
I am glad it worked for you
I am glad it worked for you