Foren
Ajax Sample Portlets using JQuery around?
Michael G, geändert vor 15 Jahren.
Ajax Sample Portlets using JQuery around?
New Member Beiträge: 9 Beitrittsdatum: 30.06.08 Neueste Beiträge
Hi folks, it would be great to have them for getting a quick start...
Anybody has used that Ajax and JQuery yet?
Regards,
Michael
Anybody has used that Ajax and JQuery yet?
Regards,
Michael
Thiago Moreira, geändert vor 15 Jahren.
RE: Ajax Sample Portlets using JQuery around?
Liferay Legend Beiträge: 1449 Beitrittsdatum: 10.10.07 Neueste Beiträge
Hi Michael,
For all over the portal the jQuery ajax functions are used. When you minimize, select a tag, change the portlet title, etc you make an ajax request. Take a look at the everything_unpacked.js file to see some examples.
Regards
For all over the portal the jQuery ajax functions are used. When you minimize, select a tag, change the portlet title, etc you make an ajax request. Take a look at the everything_unpacked.js file to see some examples.
Regards
Tarun S. Kayasth, geändert vor 14 Jahren.
RE: Ajax Sample Portlets using JQuery around?
Regular Member Beiträge: 162 Beitrittsdatum: 08.06.07 Neueste Beiträge
Hi Thiago,
Do we have any Liferay Ajax Sample Portlet?
Thanks,
Tarun
Do we have any Liferay Ajax Sample Portlet?
Thanks,
Tarun
Ravi Kumar Gupta, geändert vor 13 Jahren.
RE: Ajax Sample Portlets using JQuery around?
Liferay Legend Beiträge: 1302 Beitrittsdatum: 24.06.09 Neueste BeiträgeTarun S. Kayasth:
Hi Thiago,
Do we have any Liferay Ajax Sample Portlet?
Thanks,
Tarun
Hello Tarun,
Here is a simple Ajax portlet using JQuery.
Thanks
Anhänge:
Mai Toan, geändert vor 13 Jahren.
RE: Ajax Sample Portlets using JQuery around?
New Member Beitrag: 1 Beitrittsdatum: 14.12.10 Neueste Beiträge
Hi Michael G!
Did you working with jquery ? Please give me some suggess. Thanks
Did you working with jquery ? Please give me some suggess. Thanks
Ravi Kumar Gupta, geändert vor 13 Jahren.
RE: Ajax Sample Portlets using JQuery around?
Liferay Legend Beiträge: 1302 Beitrittsdatum: 24.06.09 Neueste Beiträge
Hello,
I have added the portlet to Liferay community plugins.
here is the link for the portlet.
Cheers!!!
I have added the portlet to Liferay community plugins.
here is the link for the portlet.
Cheers!!!
Juanjo Hernández Cánovas, geändert vor 12 Jahren.
RE: Ajax Sample Portlets using JQuery around?
Regular Member Beiträge: 183 Beitrittsdatum: 11.08.08 Neueste Beiträge
Hi Ravi,
I'm following the same implementation that you did in your example portlet, but for me Liferay paints "ALL" the page in the dispatcher include, it means that In the "receiver" span tag, I get all the page repeated (head and meta tags, logo, scripts, etc...).
What I'm doing wrong? Could you help me?
Thanks in advance,
Juanjo.
I'm following the same implementation that you did in your example portlet, but for me Liferay paints "ALL" the page in the dispatcher include, it means that In the "receiver" span tag, I get all the page repeated (head and meta tags, logo, scripts, etc...).
What I'm doing wrong? Could you help me?
Thanks in advance,
Juanjo.
Ravi Kumar Gupta, geändert vor 12 Jahren.
RE: Ajax Sample Portlets using JQuery around?
Liferay Legend Beiträge: 1302 Beitrittsdatum: 24.06.09 Neueste Beiträge
You might not be using window state properly. Keep that exclusive.
See this in portlet with actions
var url = '<portlet:actionURL windowState="<%= LiferayWindowState.EXCLUSIVE.toString() %>"><portlet:param name="ajaxAction" value="getData"></portlet:param></portlet:actionURL>';
See this in portlet with actions
var url = '<portlet:actionURL windowState="<%= LiferayWindowState.EXCLUSIVE.toString() %>"><portlet:param name="ajaxAction" value="getData"></portlet:param></portlet:actionURL>';