掲示板
Error with redirecting
Hi,
I create a portlet to manager suppliers, So to implement this feature I create 3 jsp page
When en error is occurred liferay is redirected to view.jsp than display errors in the edit_supplier.jsp
If any one have an idea to solve this problem, it will be great work
I create a portlet to manager suppliers, So to implement this feature I create 3 jsp page
- view.jsp : contains a list o suppliers with toolbar
- edit_supplier.jsp : contains sections like the liferay liferay-ui:form-navigator
- details.jsp : contains the form
When en error is occurred liferay is redirected to view.jsp than display errors in the edit_supplier.jsp
If any one have an idea to solve this problem, it will be great work
11年前 に Tina Agrawal によって更新されました。
RE: Error with redirecting (回答)
Expert 投稿: 297 参加年月日: 08/01/03 最新の投稿
Hi Khalid,
What I understand is you have a form in edit_supplier and in case of error in form you want to keep your user on edit_supplier.jsp itself.
One way of doing it is in case you have any errors you can set the jspPage parameter to edit_supplier.jsp.
Something like this -
response.setRenderParameter("jspPage","/html/supplier/edit_supplier.jsp ");
Regards,
Tina
What I understand is you have a form in edit_supplier and in case of error in form you want to keep your user on edit_supplier.jsp itself.
One way of doing it is in case you have any errors you can set the jspPage parameter to edit_supplier.jsp.
Something like this -
response.setRenderParameter("jspPage","/html/supplier/edit_supplier.jsp ");
Regards,
Tina