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

Mike Heins interchange-users@icdevgroup.org
Wed Feb 12 20:46:01 2003


Quoting Rene Hertell (interchange-users@hertell.com):
> 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}

This should not be the case; the $Scratch->{mv_data_enable} gets set
the same either way.

You might try doing a "view source" on both versions and seeing what
form fields are there. It is possible that there is a bug; but I don't
see what it could be.

-- 
Mike Heins
Perusion -- Expert Interchange Consulting    http://www.perusion.com/
phone +1.513.523.7621      <mike@perusion.com>

Being against torture ought to be sort of a bipartisan thing.
-- Karl Lehenbauer