Fórum
Rendering to next tab
mohiden abdul kader, modificado 10 Anos atrás.
Rendering to next tab
Junior Member Postagens: 38 Data de Entrada: 08/08/12 Postagens Recentes
Hi LR Forum memebers,
Friends In my tab I had included many number of fields and also had two submit button(Save and save next).If I click save submit button value to be stored in database and it will remain in same tab page.But If the user select Save Next Submit button it should move to next tab button page automatically .Please share some sample code if available for this kind of requirement.It is very urgent to me
Thanks regards,
Abdul Kader
Friends In my tab I had included many number of fields and also had two submit button(Save and save next).If I click save submit button value to be stored in database and it will remain in same tab page.But If the user select Save Next Submit button it should move to next tab button page automatically .Please share some sample code if available for this kind of requirement.It is very urgent to me
Thanks regards,
Abdul Kader
Anexos:
Gurumurthy Godlaveeti, modificado 10 Anos atrás.
RE: Rendering to next tab
Regular Member Postagens: 208 Data de Entrada: 12/08/11 Postagens Recentes
Hi Abdul,
It's very easy to hold tab value.
Create two url's in jsp. ONe url should hold first tab info , another url should hold second tab info. Append those two url's two buttons differently.
In java class , get the tab info & based on tab info choose the tab.
If it very much clear then no problem otherwise reply me asap.
It's very easy to hold tab value.
Create two url's in jsp. ONe url should hold first tab info , another url should hold second tab info. Append those two url's two buttons differently.
In java class , get the tab info & based on tab info choose the tab.
If it very much clear then no problem otherwise reply me asap.
mohiden abdul kader, modificado 10 Anos atrás.
RE: Rendering to next tab
Junior Member Postagens: 38 Data de Entrada: 08/08/12 Postagens RecentesGurumurthy Godlaveeti:
Hi Abdul,
It's very easy to hold tab value.
Create two url's in jsp. ONe url should hold first tab info , another url should hold second tab info. Append those two url's two buttons differently.
In java class , get the tab info & based on tab info choose the tab.
If it very much clear then no problem otherwise reply me asap.
Friend Thank you for your reply can U give paste code in it and explain it ..
Thanks Regards,
Abdul kader
Jitendra Rajput, modificado 10 Anos atrás.
RE: Rendering to next tab
Liferay Master Postagens: 875 Data de Entrada: 07/01/11 Postagens Recentes
PortletURL iteratorURL= renderResponse.createRenderURL();
iteratorURL.setWindowState(WindowState.NORMAL);
iteratorURL.setParameter("tabs1", "job-description");
Here tabs1 is similar to <liferay-ui:tabs> param attribute. You just need to set name of the tab you want to show..