[ic] table-editor tag does not work with a template

Rene Hertell interchange-users@icdevgroup.org
Wed Feb 12 18:34:01 2003


Hi,

I have found an odd behaviour with the table-editor. The following example
works just fine:

-------------------
[update values]
[table-editor
    table=some_table
    key="123"
    auto-secure=1
    ][/table-editor]
-------------------

But if I use the overall template (from the docs), it won't update the
values into the table at all.

-------------------
[update values]
[table-editor
    table=some_table
    key="123"
    auto-secure=1
    ]
{TOP_OF_FORM}
{HIDDEN_FIELDS}
<table>
  <tr>
    <td>&nbsp;</td>
    <td>{TOP_BUTTONS}</td>
  </tr>
{:REST}
  <tr>
    <td>&nbsp;</td>
    <td>{BOTTOM_BUTTONS}</td>
  </tr>
</table>
{BOTTOM_OF_FORM}
[/table-editor]
-------------------

I'm just curious that what is wrong with this template? I spent the last
week trying to solve why the db was not updated, and found, and I had to get
myself a new wig so that I could pull enough hair ;-)

I'm using the latest IC version from devel-cvs.


Regards, Rene