I am using Alfresco Community 5.1.x. I want to create a custom workflow using kickstart in that one of the forms I have + button when + button add text fields dynamically. Is this possible? How?
相关问题
- Delete Messages from a Topic in Apache Kafka
- Jackson Deserialization not calling deserialize on
- How to maintain order of key-value in DataFrame sa
- StackExchange API - Deserialize Date in JSON Respo
- Difference between Types.INTEGER and Types.NULL in
I want to add a couple of words on that subject.
As you can see from the Share architecture:
You can use capabilities of the YAHOO! YUI library (in my humble experience this is an excellent library!)
Note on the container with the
'bd'
identifier, you can often find it in WebScripts. This is how YUI works in Alfresco. Here will be created your table and other stuff...One of many examples from Share is the workflow history. As you can see, there is a container with an identifier
${el}-workflowHistory-form-section
:This container is then used to build the widget.
By using YUI you get all of the features of the DataTable widget, such as sorting, pagination, column reordering, resizing, inline editing, and more... In addition, your code becomes much cleaner due to the html reduction.
To understand how does YUI works, I can recommend you an excellent book by Daniel Barreiro and Dan Wellman - "YUI 2. 8 Learning the Library: Develop Your Next-Generation Web Applications with the YUI Javascript Development Library"
I hope you will get some idea from this control.
On Share configration,
userdetails.ftl
If you want this control as, read-only then,add
read-only="true"
in the share configuration.Please note: As of now, this is not production ready and we're also in developement mode. We want to improve this control, please share your idea / comments/ feedback.