[ic] TIPS: Use [table-editor] + mv_metadata to take inches off your waist while you sleep!

Joel Wylan interchange-users@interchange.redhat.com
Sat Sep 29 02:36:01 2001


Ok, this is Ed Hed at J & E's...  I'm a tech Iand I
have no idea what the hell  you are typing about....

this from Joel, golbidy golk = golbidy gook


----- Original Message -----
From: <mheins@redhat.com>
To: <interchange-users@interchange.redhat.com>
Sent: Friday, September 28, 2001 10:43 PM
Subject: Re: [ic] TIPS: Use [table-editor] + mv_metadata to take inches off
your waist while you sleep!


> Quoting Corey Gilmore (cfg@dln.uvm.edu):
> > On Fri, 28 Sep 2001, Zack Johnson wrote:
> > > 4. Add the [table-editor] tag.
> > > ------------------------------
> > >
> > > This tag makes your life easy by building the form, and updating the
table
> > > as needed.
> > >
> > >  [table-editor
> > >   href=process
> > >   mv_nextpage=@@MV_PAGE@@
> > >
> > >   table=foo
> > >   key="bar"
> > >   ui_data_fields="bar1 bar2 bar3..."
> > >
> > >  ]
> > >
> >
> > Excellent!  One hint, similar to how IC does it.
> > ui_data_fields="__UI_YOURTABLENAME_FIELDS__"
> >
> > That way, you just need to edit a variable to add columns to edit,
change
> > the order they appear in etc.
>
> There is also another, perhaps better way that is used in 4.8 by
> default. Try clicking the table name entry in the edit list
> (admin/flex_select?mv_data_table=foo) and you can set the default list
> of fields to edit.
>
> You will also note that this presents a different "view" into
> mv_metadata -- all tables can have different views for different
> forms. Once you set it up (with a record viewname::foo in mv_metadata)
> you can do:
>
> [table-editor view=viewname]
>
> and it will pick up all the proper fields, field labels, widgets,
> break_before, etc. In other words, you just prefix "viewname::" in
> front of all the records you created in the HOWTO.
>
> --
> Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH  45013
> phone +1.513.523.7621      <mheins@redhat.com>
>
> Nature, to be commanded, must be obeyed. -- Francis Bacon
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users