[ic] Custom types in transactions::status field
Stefan Hornburg
interchange-users@icdevgroup.org
Fri Apr 11 10:27:00 2003
On Fri, 11 Apr 2003 08:40:43 -0500
Steve Palm <stevep@sga.org> wrote:
>
> On Thursday, April 10, 2003, at 09:39 PM, Mike Heins wrote:
> > Quoting Steve Palm (stevep@sga.org):
> >> On Thursday, April 10, 2003, at 05:03 PM, Mike Heins wrote:
> >>> Quoting Steve Palm (stevep@sga.org):
> >>>>
> >>>> However, when using the order_view to see the full order, the
> >>>> Status:
> >>>> is blank. The code for this in the UI is:
> >>>>
> >>>> <B>[L]Status[/L]:<B> [page href=__UI_BASE__/order_status
> >>>> form="order=[loop-code]
> >>>> "]
> >>>> [display table=transactions
> >>>> column=status
> >>>> key="[loop-code]"
> >>>> arbitrary=order_view
> >>>> ]</A>
> >>>>
> >>>> However, it only works properly if I use the types that were
> >>>> pre-defined in the metadata.
> >>>>
> >>>> What am I overlooking here?
> >>>
> >>> Try removing the "arbitrary=order_view".
> >>
> >> okay, that let's something show, but it shows a drop-down box
> >> instead
> >> of the hyperlinked text it used to show.
> >>
> >> i confess i don't have a clue what removing that did, or i may
> >have> thought of it myself, so i really don't have a clue how to
> >proceed.
> >
> > These are normal Interchange widget types. You want "display". Try:
> >
> > [display table=transactions
> > column=status
> > key="[loop-code]"
> > type=display
> > ]
> >
> > That displays the label associated with a selected value.
>
> Brilliant! Thanks!
>
> Now, is there a place to modify this so that it stores a "user copy"
Just put it into pages/admin in the catalog directory.
Bye
Racke