[ic] Custom ui_meta_view dropped in flex_select

Mike Heins mike at perusion.com
Sat Apr 17 17:07:31 EDT 2004

Quoting Baytides Management Inc. (info at baytides.ca):
> Hi all,
> using IC 5.0.0
> I've created a custom table view in the admin for the products table
> (as an example) (great feature btw!) - but when I check multiple
> items to edit in sequence, the custom view is dropped in favour of
> the default table view. Anybody have any ideas how I could rectify
> that problem? It seems that changes are needed in
> flex_select.coretag maybe?

You are correct. I am just committing the change to 5.3 CVS,
and it is:

Index: flex_select.coretag
RCS file: /var/cvs/interchange/code/UI_Tag/flex_select.coretag,v
retrieving revision 1.8
diff -u -r1.8 flex_select.coretag
--- flex_select.coretag	11 Apr 2004 16:34:50 -0000	1.8
+++ flex_select.coretag	17 Apr 2004 21:04:56 -0000
@@ -681,6 +681,9 @@
 	### What the heck is going on here?
 	if($CGI->{ui_meta_view}) {
+		$output{TOP_OF_FORM} .= <<EOF;
+<INPUT TYPE=hidden NAME=ui_meta_view         VALUE="$CGI->{ui_meta_view}">
 		$output{TOP_OF_FORM} .= $Tag->return_to();
 	else {

That *might* work for your 5.0, but you can certainly hand-edit
based on that info.

Thanks for the bug report.

> In addition I noticed that setting (select all/uncheck all) in the
> item_editor does not seem to apply? Shouldn't the item_slect view in
> item_editor correspond to item_select view in products table? Or I'm I
> asking too much?

I don't think you are asking too much, it was just never added.

Mike Heins
Perusion -- Expert Interchange Consulting    http://www.perusion.com/
phone +1.765.647.1295  tollfree 800-949-1889 <mike at perusion.com>

Experience is what allows you to recognize a mistake the second
time you make it. -- unknown

More information about the interchange-users mailing list