Recent Bloggers

Bryan Cheung

Staff
35 Mensagens
18 de Julho de 2016

Jamie Sammons

Staff
4 Mensagens
14 de Julho de 2016

David H Nebinger

24 Mensagens
13 de Julho de 2016

Maarten van Heiningen

1 Mensagens
13 de Julho de 2016

Koen Olaerts

1 Mensagens
11 de Julho de 2016

Victor Zorin

2 Mensagens
9 de Julho de 2016

Neil Griffin

Staff
54 Mensagens
6 de Julho de 2016

David Truong

Staff
17 Mensagens
5 de Julho de 2016

Javeed Chida

9 Mensagens
1 de Julho de 2016

Melanie Chung

Staff
2 Mensagens
23 de Junho de 2016
« Voltar

Dynamic Data Lists II

Company Blogs 25 de Julho de 2011 Por Marcellus Tavares Staff

In the second post of the DDL series I would like to present two more porlets related to the Dynamic Data Lists:

The first one is the Dynamic Data List Display. Its purpose is to exhibit a determined list, that is specified through its configuration window (Figure 1). There are two possible ways to display a given list: The default view (grid view) and the Spreadsheet view (Figure 2). If you uncheck the Spreadsheet view option, the default view will be used. The editable option is used to enable/disable the edition of a list. If it is unchked, the list will be presented in a read-only mode and the user will not be able to add or edit the list records.
 
 
Figure 1 - Dynamic Data List Display Configuration
 
Figure 2 - Dynamic Data List Display Spreedsheet view
 
In adition, with this portlet the user is also able to specify templates (aditional views) for the select list. There are two types of templates: the Detail and the List template.
 
The Detail template is used to modify (or restrict) the data definition fields that will appear during the form edition. It is also possible to adorn those fields with other field types, such as paragraph and fieldset.
 
The List template is used to display the list of records, It can be used if the user needs more flexibility to display a given  list. The user is able to speficy those templates on either freemarker or velocity language. I'll give more details of how to do create such templates  in the next post.
 
The second portlet is the Dynamic Data List Form (Figure 3). The DDL Form is a Liferay plugin and it needs to be deployed in order to be available for use. The purpose of the DDL Form is to provide a simpler way for user populate a list. Among its configuration options there's also the possibibility for defining the detail template and to enable/disbale multiple form submissions per user.
 
Figure 3 - Dynamic Data List Form portlet
 
 

Keep tuned for more updates!

Respostas do tópico Autor Data
Great! Thanks, Marcellus. Will you plan to... Jonas Yuan 26 de Julho de 2011 08:48
Seems interesting, will it be available from 6.1 Nagendra Kumar Busam 27 de Julho de 2011 02:39
Hey Jonas, thanks :), well, it was not in my... Marcellus Tavares 27 de Julho de 2011 06:01
Great feature Marcellus. Thanks. One question:... Pius Onobhayedo 1 de Agosto de 2011 10:11
Hi Pius, DDL Form portlet will just be used to... Marcellus Tavares 1 de Agosto de 2011 10:20
@Marcellus thanks for the feedback. I think... Pius Onobhayedo 2 de Agosto de 2011 07:31
Hi Pius, I understand what you mean. We do... Marcellus Tavares 2 de Agosto de 2011 07:58
Cool Feature.. Jay Patel 9 de Agosto de 2011 05:30
Thanks Marcellus! Very informative. Justin Choi 10 de Agosto de 2011 15:51
Nice One !!!!! Jignesh Vachhani 13 de Setembro de 2011 06:10
"... I'll give more details of how to do create... Mariano Ruiz 10 de Janeiro de 2012 19:55
Thank you Marcellus Tavares veey much. Please,... X Man 11 de Janeiro de 2012 08:27
very interesting Portlet ..... Thanks... Navin Agarwal 19 de Janeiro de 2012 22:40
Thanks once more Marcellus. In line with my... Pius Onobhayedo 24 de Março de 2012 04:49
Hello, I'm new to Liferay and looking at a way... Mohammad Islam 5 de Junho de 2012 12:07

Great! Thanks, Marcellus.

Will you plan to post the usage of DDL? For example, building dynamic document types based on DDL, DDM (dynamic data mappings) and metadata set?
Postado em 26/07/11 08:48.
Seems interesting, will it be available from 6.1
Postado em 27/07/11 02:39.
Hey Jonas, thanks emoticon, well, it was not in my mind to write about the usage of DDM in other core portlets, maybe in the future. During this series I'll try to focus specifically on DDM/DDL.

@Nagendra, Yes, it will be available in 6.1
Postado em 27/07/11 06:01 em resposta a Nagendra Kumar Busam.
Great feature Marcellus. Thanks.
One question: Does the dynamic data list form support pagination? It will be a useful enhancements for forms that have long list of fields as well as grouping of form fields in different pages. What do you think?
Postado em 01/08/11 10:11.
Hi Pius, DDL Form portlet will just be used to render the forms, something similar to the web-form portlet. The DDL Display is the one that actually show the saved records and it supports pagination.

Thanks
Postado em 01/08/11 10:20 em resposta a Pius Onobhayedo.
@Marcellus thanks for the feedback. I think that support for DDL Form pagination could make the portlet more elegant, tidy and even more intuitive when there are many fields per record to be captured. For example, it is not uncommon to have a registration process span through more than one web page. True enough, it is a feature that is missing in web-forms portlet.
Postado em 02/08/11 07:31 em resposta a Marcellus Tavares.
Hi Pius, I understand what you mean.

We do will support multiple pages in the DDL Form, I'm just not sure if it will available in 6.1. If it's not present, it will be part of a minor version.

The "pages" you are referring to, will be the Detail templates I mentioned in this post. This way, you could have a large record definition and multiple Detail templates to capture those fields and with DDL Form paginating them.

Regards
Postado em 02/08/11 07:58 em resposta a Pius Onobhayedo.
Cool Feature..
Postado em 09/08/11 05:30.
Thanks Marcellus! Very informative.
Postado em 10/08/11 15:51 em resposta a Jay Patel.
Nice One !!!!!
Postado em 13/09/11 06:10.
"... I'll give more details of how to do create such templates in the next post ..."
Please, I need information about that.
Could you provide an example of VM template?
What is the variable to iterate the records?
Postado em 10/01/12 19:55.
Thank you Marcellus Tavares veey much.
Please, I need the example of VM template too.
when I create the template, It does not show in the configuration of the dynamic list display list.
Thank you again.
Postado em 11/01/12 08:27 em resposta a Mariano Ruiz.
very interesting Portlet .....
Thanks Marcellus .. Its working very fine in Liferay 6.1 GA
Postado em 19/01/12 22:40.
Thanks once more Marcellus.

In line with my earlier comment regarding the need for ddl entry form pagination, is there a roadmap yet for the support of such feature in the detail template for entry forms? Option to organize form input fields in more than one column (or in tabs) can also make the forms more elegant where the fields are many. I suggest that the latter be included in the roadmap as well.

Is it possibile to introduce custom aui script (or custom javascript) in the ddl entry form?

I think that these feature would make ddl entry form fully functional!
Postado em 24/03/12 04:49 em resposta a Navin Agarwal.
Hello, I'm new to Liferay and looking at a way to print content of Dynamic Data List Display portlet. When this portlet displays data I need to print only the data w/in this portlet not the whole portal page. Any clue anyone? Thanks.
Postado em 05/06/12 12:07.