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 |
--
ArthurClemens - 02 Oct 2009