Forums

Home » Alloy UI » English

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Devika Koti
Liferay Tooltip
August 1, 2012 3:59 AM
Answer

Devika Koti

Rank: New Member

Posts: 8

Join Date: January 18, 2012

Recent Posts

Hi,

Can we render a jsp within the Liferay tooltip using the bodycontent attribute?
On hover i would want to display more details rendered from a separate jsp.

I see that the body content attribute accepts html tags only.

I am reusing the example illustrated in the below link
http://www.liferay.com/community/liferay-projects/alloy-ui/demo?title=community-liferay-projects-alloy-ui-demos-tooltips

Kindly help !

Thanks,
Devika
MANOVINAYAK AYYAPPAN
RE: Liferay Tooltip
August 18, 2012 12:00 AM
Answer

MANOVINAYAK AYYAPPAN

Rank: Regular Member

Posts: 132

Join Date: June 13, 2011

Recent Posts

Hi Devika,

Did you find a solution for your requirement.

Have you tried A.Plugin.IO, I believe this will satisfy your requirement.

Regards,
Mano
Mayur Patel
RE: Liferay Tooltip
August 18, 2012 3:28 AM
Answer

Mayur Patel

Rank: Expert

Posts: 341

Join Date: November 17, 2010

Recent Posts

Exactly, You can use below code and see if it works for you,

1var instance = new A.Tooltip({
2trigger: '#element',
3align: { points: [ 'lc', 'rc' ] },
4}).plug(A.Plugin.IO, {uri:[b]renderURL[/b] }).render();


Thanks.