[ic] table-editor override using cgi?

Ron Phipps rphipps at reliant-solutions.com
Thu Jul 14 18:14:28 EDT 2005


> From: interchange-users-bounces at icdevgroup.org
[mailto:interchange-users-
> bounces at icdevgroup.org] On Behalf Of Jure Kodzoman
> Sent: Thursday, July 14, 2005 3:19 PM
> 
> 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
> 

Cool, that did the trick.

Thanks,
-Ron



More information about the interchange-users mailing list