Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
toggle
João Cartaxo
Dynamic Data Lists - List Templates
14. August 2012 03:02
Antwort

João Cartaxo

Rang: New Member

Nachrichten: 9

Eintrittsdatum: 10. Oktober 2011

Neue Beiträge

Hello,

I'm developing a List Template for custom presentation of a Data List Definition. For this, I've followed this article: Dynamic Data Lists III , and all is fine with the data presentation. My problem is about the actions button, because once I apply the template, this button no longer show, since it's not declared anywhere in my Velocity template.

So my question is simple, how can I add this actions button in my Velocity template?


P.S.: If you look at the comments for the article I've referenced, there are other's with this very same problem.

Cheers,
João Cartaxo
João Cartaxo
RE: Dynamic Data Lists - List Templates
16. August 2012 01:07
Antwort

João Cartaxo

Rang: New Member

Nachrichten: 9

Eintrittsdatum: 10. Oktober 2011

Neue Beiträge

No one can help me with this?
Anonym
RE: Dynamic Data Lists - List Templates
16. August 2012 09:14
Antwort

Anonym

I would say look at this page, and maybe you can use the an alloy taglib

https://github.com/liferay/liferay-portal/blob/master/portal-web/docroot/html/portlet/dynamic_data_list_display/view.jsp

in your velocity or freemarker template
João Cartaxo
RE: Dynamic Data Lists - List Templates
17. August 2012 02:47
Antwort

João Cartaxo

Rang: New Member

Nachrichten: 9

Eintrittsdatum: 10. Oktober 2011

Neue Beiträge

Bradley Wood:
I would say look at this page, and maybe you can use the an alloy taglib

https://github.com/liferay/liferay-portal/blob/master/portal-web/docroot/html/portlet/dynamic_data_list_display/view.jsp

in your velocity or freemarker template


Thank you for your reply, but that does not help me much...I already had looked into that file, but what I need e something more like what's in this page:

https://github.com/liferay/liferay-portal/blob/master/portal-web/docroot/html/portlet/dynamic_data_lists/view_records.jsp

As you can see, in this file a SearchContainer is used, and in relation to my issue (show the actions button), this is added to each list row:

1row.addJSP("right", SearchEntry.DEFAULT_VALIGN, "/html/portlet/dynamic_data_lists/record_action.jsp");



And, as so, my question is how can I use a SearchContainer in Vaadin so I can mirror this logic into the VM template script.


P.S.: I think that this functionality should be supplied by Liferay from scratch, because otherwise I don't quite see the purpose of using Dynamic Data Lists Templates since you loose the capability of executing actions over the listed DDLRecords....It doesn't serve me much to have a beautiful presented list that I can't use to nothing more than look at....
Michael Bravo
RE: Dynamic Data Lists - List Templates
19. November 2012 17:18
Antwort

Michael Bravo

Rang: New Member

Nachrichten: 20

Eintrittsdatum: 26. April 2012

Neue Beiträge

Hi João,

I am relatively new to Liferay and am also trying to see if this type of functionality is available from a VM template. Did you ever find a soultion to this?

~Michael
João Cartaxo
RE: Dynamic Data Lists - List Templates
20. November 2012 01:22
Antwort

João Cartaxo

Rang: New Member

Nachrichten: 9

Eintrittsdatum: 10. Oktober 2011

Neue Beiträge

Hi Michael,

No, I did not find any solution for this problem. Sorry

Cheers.
Marco Endres
RE: Dynamic Data Lists - List Templates
14. März 2013 06:09
Antwort

Marco Endres

Rang: New Member

Nachrichten: 11

Eintrittsdatum: 22. August 2012

Neue Beiträge

I have the same Problem, did you find a solution now?
Adam Lauchner
RE: Dynamic Data Lists - List Templates
22. Juli 2013 04:36
Antwort

Adam Lauchner

Rang: New Member

Nachrichten: 2

Eintrittsdatum: 23. Oktober 2012

Neue Beiträge

I suspect you've come up with a solution by now, but for future web surfers stumbling across this page (as I did) check out these links:
http://webapplicationdeveloper.blogspot.com/2012/10/liferay-authorization-of-actions-on.html
http://webapplicationdeveloper.blogspot.be/2012/10/liferay-dynamic-data-lists-record.html