Foren
Rendering to next tab
mohiden abdul kader, geändert vor 10 Jahren.
Rendering to next tab
Junior Member Beiträge: 38 Beitrittsdatum: 08.08.12 Neueste Beiträge
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
Anhänge:
Gurumurthy Godlaveeti, geändert vor 10 Jahren.
RE: Rendering to next tab
Regular Member Beiträge: 208 Beitrittsdatum: 12.08.11 Neueste Beiträge
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, geändert vor 10 Jahren.
RE: Rendering to next tab
Junior Member Beiträge: 38 Beitrittsdatum: 08.08.12 Neueste BeiträgeGurumurthy 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, geändert vor 10 Jahren.
RE: Rendering to next tab
Liferay Master Beiträge: 875 Beitrittsdatum: 07.01.11 Neueste Beiträge
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..