[ic] ui_display_only option in [table-editor]

Zack Johnson interchange-users@interchange.redhat.com
Tue Oct 2 11:38:00 2001


I'm guessing that the ui_display_only option in [table-editor] sets
specified fields as "read only."  This would be great for setting aside the
primary key for the table so that users couldn't add arbitrary records to
the db.  I've tried:

[table-editor
  href=process
  mv_nextpage=@@MV_PAGE@@

  table=foo
  key="value"
  ui_data_fields="bar1 bar2 bar3..."

  ui_display_only="bar1"

 ]

However, because bar1 shows up in the table-editor, the user can type
'value2' for the key value.  This then creates a new record.  I would have
expected [table-editor] to ignore any value in bar1.  Is there something I'm
missing?

TIA!

Zack Johnson
Internet Manager
Standard Printing & Web Center
St. Augustine, FL 32084
phone (904) 829-6488
fax (904) 824-2959
www.standardprinting.net