New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists
This question about Missing functionality: Asked

Using Comment form "action" and TwistyPlugin

When using the Comment type = "action" in a Topic, all the ACTIONS (both open and closed) are displayed above the "Add Action" form in a default ACTIONSEARCH tableformat but in a date/time created descending order (effectively new ACTIONS are appended to the table).

If a topic has a significant number of actions, this list can be obtrusive because it contains any closed actions as well. To make it easier to work with, I inserted two new ACTIONSEARCHES in the Topic (i) to search current topic for all open items, sorted by dues date and (ii) all closed items sorted by due date. Each of these I enclosed in TWISTY statements so the lists can be toggled on and off. It works really well. I even created a new Topic for "MyActionList" and used the same principal to ACTIONSEARCH for the current user across all webs.

However, the actual list of ACTIONS created/inserted by the CommentPlugin (type="action") and placed above the Add Action form in effect should be hidden because open and closed actions are displayed in their own SEARCHES in TWISTY tags. So to hide all the ACTIONS above the Comment Action Form, I added a TWISTY around the list of ACTIONS such that the ENDTWISTY comment sits between the last ACTION statement and the COMMENT{type="action"}. For a statis list of ACTIONS this works as designed! However, if I now add a new ACTION through the form, it places the new ACTION entry between the ENDTWISTY and the COMMENT. As a result a second table is created and now falls outside of the TWISTY Show/hide tags and displays above the action form. It would be good to have a "clean" Add Comment form for adding actions with a COMMENT "option" to hide or show all the ACTIONS that sit "above" the COMMENT entry for an action type.

I've used nested Twistys to help manage the lists, but here is an example of how to handle Actions in a Topic


Please can the COMMENT type=action have an option to hide the actions from view in the Topic and still add new ACTION items to the bottom of the table?

QuestionForm edit

Subject Missing functionality
Extension CommentPlugin
Version Foswiki 1.0.9
Status Asked
Topic revision: r1 - 29 Aug 2010, BobCorless - This page was cached on 23 Mar 2018 - 06:23.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License