This question about Using an extension: Answered

Is it possible to use a SEARCH only within one field of a table without breaking the table?

I am trying to do something like this:
%TABLE{ initsort="4" }%
%EDITTABLE{ header="| *#* | *IMSC Component Name* | *Priority* | *Sub Priority* | *Status* | *Comment* | *Related Topics* |" format="| row, -1 | text, 20 | select, 1, High, Medium, Low | select, 1, High, Medium, Low | select, 1, Not Started, In Progress, Done | text, 20 |" }%
| *#* | *IMSC Component Name* | *Priority* | *Sub Priority* | *Status* | *Comment* | *Related Topics* |
| 1 | Attribute_Predicates | Low | Low | In Progress | | %SEARCH{"ConfigurationModule='Attribute_Predicates' " type="query" nonoise="on" nofinalnewline="on" format="$topic"}% |

I am aware that putting the whole table line into the format parameter of the SEARCH would solve the issue but I also want to keep the EDITTABLE definitions. Doing it as listed currently breaks the table rendering.

-- IngoKappler - 02 Oct 2009

Answer

If the results do not contain newlines it should work fine:

%EDITTABLE{}%
| BEFORE | %SEARCH{"QuestionForm" type="query" nonoise="on" limit="5" format="[[$web.$topic][$topic]]" separator=","}% | AFTER |

BEFORE
 
AFTER
edit

-- ArthurClemens - 02 Oct 2009

QuestionForm edit

Subject Using an extension
Extension EditTablePlugin
Version Foswiki 1.0.7
Status Answered
Topic revision: r2 - 02 Oct 2009, ArthurClemens
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy