Fórum

Dialog / Ajax

sri p, modificado 9 Anos atrás.

Dialog / Ajax

Junior Member Postagens: 85 Data de Entrada: 22/01/11 Postagens Recentes
Hi there,

I hope everyone is doing great.
I am developing a page where all the data displayed in a table. Let's say User's List page.

On click of any user record on the users list page table : Display a dialog on the page with selected user row information in a form with text boxes, dropdowns.
Then, I would have save, delete buttons on this dialog, which would basically update and delete the user record.

Please see attached image for more information.

I am really not sure, how to achieve this.

So far, I am sure that I need to use AJAX feature to dynamically call a method in struts action class and I might need to use resource url for this.

Question : Is it possible that I could return a jsp which would be appended to dialog or what is the correct way of achieving this?

Please let me know, if anyone has any idea.

Environment : Struts2 portlet mvc, Liferay with JBoss.

Thanks,
Sri
thumbnail
Meera Prince, modificado 9 Anos atrás.

RE: Dialog / Ajax

Liferay Legend Postagens: 1111 Data de Entrada: 08/02/11 Postagens Recentes
Hi
Use liferay search container and aui dialog to complete your requirement..
List all your users in liferay search container grid when you click on any row then open aui dialog in the URL maintain respective user id.

the following are useful links

http://www.liferaysavvy.com/2014/06/liferay-62-aui-dialog-liferay-popup.html

http://www.liferaysavvy.com/2014/05/liferay-search-container.html

http://www.liferaysavvy.com/2013/03/liferay-search-container-with-curd.html

Regards,
Meera Prince