Scope your variables?
<@sort array=user$test cols="1 ASC">
--
Robert Garcia
President - BigHead Technology
VP Application Development - eventpix.com
13653 West Park Dr
Magalia, Ca 95954
ph: 530.645.4040 x222 fax: 530.645.4040
[EMAIL PROTECTED] - [EMAIL PROTECTED]
http://bighead.net/ - http://eventpix.com/
On Nov 16, 2005, at 4:46 PM, MJPinckard wrote:
I'm running Witango on OS X 10.4
On my dev server (running Witango 5.5.009) the @Sort tag doesn't
work... no sorting of any kind takes place
see http://hes1.lbl.gov/hes/testsort.taf
on my production server (running Witango 5.0.1.065) it works.
see http://hes3.lbl.gov/hes/testsort.taf
first table is array as initialized, second is array after a sort
action... same code for both servers. Here's the code for the
entire taf:
<@assign name="test" value='<@ARRAY VALUE="1;32;34;67;343;33">'
scope="user">
@@user$test
<@SORT ARRAY="test" COLS="1 ASC">
@@user$test
It seems like it's clearly a bug in the 5.5 server.
I'm in the middle of development and of course under deadline
pressure.... are there any easy fixes... I'd rather not be running
development code on the production server... and of course rolling
the dev server back to the older server version is a hassle, and
not really in my current schedule.
any comments/suggestions on some kind of quick fix?
cheers,
Maggie Pinckard
Principal Research Associate
Lawrence Berkeley National Laboratory
______________________________________________________________________
__
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf