[xwiki-users] Advanced templates
Hello, I would like to implement my next TODO on XWiki: meeting minutes template. What it should do: during the meeting responsible person fills-in fields in the template (see attached http://n2.nabble.com/file/n4846395/MeetingMinutesTemplate.docx MeetingMinutesTemplate.docx file). After the template is saved, it is 1) added as a child to a certain page on XWiki 2) e-mail is rendered according to the template and sent to all users in specific user group. I'm following the http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial FAQTutorial in my implementation. However following are the issues I did not find how to solve: * Let's consider "Current status" section. It's a table with dynamically-added rows. It is clear that each roe represent StatusItem and should be modoled as a separate class. The questions are: 1) how should I link a collection of classes to current class 2) how should I render them on the UI so that records in the table would have added/removed dynamically by pressing some add/remove buttons in the table. * Limit the user list to certain group (if using "List of Users" field type) * Remove property from a class * Render e-mail notification based on created template and send it to members of certain group (actually this one I haven't investigate yet, but will do in context of other templating-related task while waiting for any hint on this one) Regards, Roman -- View this message in context: http://n2.nabble.com/Advanced-templates-tp4846395p4846395.html Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi, Besides FAQ tutorial you may find useful also: 1. for the table with dynamically added rows http://code.xwiki.org/xwiki/bin/view/Macros/LiveTableMacro http://platform.xwiki.org/xwiki/bin/view/DevGuide/LiveTable * things to be considered are the class name from table options (should be populated with the class name of the objects to be added in the table) * the name of columns should match exactly the class proprieties name (case-sensitive) 2.You can download, install and modify the class of the current TodoApplication : http://code.xwiki.org/xwiki/bin/view/Applications/TodoApplication http://www.theserverside.com/news/1363830/XWiki-A-Platform-for-Collaborative... 3. You can also take a look at: http://incubator.myxwiki.org/xwiki/bin/view/Todo/ToDoTest On Sat, Apr 3, 2010 at 12:06 PM, coldserenity <[email protected]>wrote:
Hello,
I would like to implement my next TODO on XWiki: meeting minutes template. What it should do: during the meeting responsible person fills-in fields in the template (see attached http://n2.nabble.com/file/n4846395/MeetingMinutesTemplate.docx MeetingMinutesTemplate.docx file). After the template is saved, it is 1) added as a child to a certain page on XWiki 2) e-mail is rendered according to the template and sent to all users in specific user group.
I'm following the http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial FAQTutorial in my implementation. However following are the issues I did not find how to solve: * Let's consider "Current status" section. It's a table with dynamically-added rows. It is clear that each roe represent StatusItem and should be modoled as a separate class. The questions are: 1) how should I link a collection of classes to current class 2) how should I render them on the UI so that records in the table would have added/removed dynamically by pressing some add/remove buttons in the table.
* Limit the user list to certain group (if using "List of Users" field type) * Remove property from a class * Render e-mail notification based on created template and send it to members of certain group (actually this one I haven't investigate yet, but will do in context of other templating-related task while waiting for any hint on this one)
Regards, Roman -- View this message in context: http://n2.nabble.com/Advanced-templates-tp4846395p4846395.html Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
participants (2)
-
Ciprian Amaritei -
coldserenity