Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
Patrick Ott
Dynamic Data Lists - switch Templates
November 20, 2012 9:42 AM

Patrick Ott

Rank: New Member

Posts: 16

Join Date: February 20, 2012

Recent Posts

Hey community,

i tried to solve an idea we had today, that our users could switch the velocity templates comfortable on the list view, but that they dont have to go on this configuration page, but i didn't find out how to generate or where to get the URIs to switch the templates.

Up to now, i set up 2 pages, one shows the list with all entries and the 2nd page shows only entries with state "open" and i switch with such a nice <select> element and a bit javascript.

could anyone give me a hint where i can get these URIs, so that our users don't have to load another page.

Participate in the State of Liferay Community 2017. Help the community and even win some prizes!