Foren
Error with redirecting
khalid horri, geändert vor 11 Jahren.
Error with redirecting
New Member Beiträge: 7 Beitrittsdatum: 01.11.10 Neueste Beiträge
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
Tina Agrawal, geändert vor 11 Jahren.
RE: Error with redirecting (Antwort)
Expert Beiträge: 297 Beitrittsdatum: 03.01.08 Neueste Beiträge
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
khalid horri, geändert vor 11 Jahren.
RE: Error with redirecting
New Member Beiträge: 7 Beitrittsdatum: 01.11.10 Neueste Beiträge
Thank you it works