[ic] table-editor override using cgi?

Jure Kodzoman kodzoman at gmail.com
Thu Jul 14 18:19:16 EDT 2005


On 7/14/05, Ron Phipps <rphipps at reliant-solutions.com> wrote:
> I have the following in a page:
> 
> [table-editor
>         mv_data_table='third_party'
>         form_name=flex_editor
>         keep-errors=1
>         output_map="[scratch ui_style_edit]"
>         ui_style="[scratch ui_style_edit]"
>         ui_display_only="link_id"
>         override.link_id="[cgi link_id]"
>         hidden.link_id="[cgi link_id]"
> ]
> 
> link_id gets set to the string '[cgi link_id'], not the actual value
> stored in the cgi variable.  It appears to be an order of interpolation
> issue, however I have tried returning the var from a calc, using
> scratch, etc and each time the string is used instead of the value.
> 
> Any ideas how to get this interpolating before the table-editor tag?

`$CGI->{link_id}`  should do the trick (backticks are important!). For
this to work, you might have to add cgi=1



More information about the interchange-users mailing list