Foros de discusión

Calling Spring controller from theme or calling Action from theme

Vasanth Aey, modificado hace 7 años.

Calling Spring controller from theme or calling Action from theme

New Member Mensajes: 17 Fecha de incorporación: 9/09/15 Mensajes recientes
How to call a Spring controller from theme Or say how to call struts action from theme??? Please give some example
thumbnail
Olaf Kock, modificado hace 7 años.

RE: Calling Spring controller from theme or calling Action from theme

Liferay Legend Mensajes: 6396 Fecha de incorporación: 23/09/08 Mensajes recientes
Vasanth Aey:
How to call a Spring controller from theme Or say how to call struts action from theme??? Please give some example


Why would one want to do so? A theme is for look&feel, should render as quickly as possible and not cause any activities. If you want to embed any links in the theme, I'd opt for embedding a portlet that does the trick.
Vasanth Aey, modificado hace 7 años.

RE: Calling Spring controller from theme or calling Action from theme

New Member Mensajes: 17 Fecha de incorporación: 9/09/15 Mensajes recientes
I have a link in a theme . when clicking this link it has to go to controller and do some some action. How can we achieve?
Shiva goud, modificado hace 7 años.

RE: Calling Spring controller from theme or calling Action from theme

Regular Member Mensajes: 110 Fecha de incorporación: 2/01/15 Mensajes recientes
Create a portlet URL in liferay VM ,,Please check this https://web.liferay.com/community/forums/-/message_boards/message/15010293