RE: Witango-Talk: filtering arrays

2005-05-04 Thread QSN Janet Case
Using <@union> tag. There is a usefull way to use the UNION tag. You have two arrays: (1) an array from your database. (2) an array of selected rows   Add a column to the  array (1), the values in this array for this column will be empty, call this COLUMN "checked" Now do your UNION on th

Re: Witango-Talk: filtering arrays

2005-05-04 Thread Robert Garcia
I will look for the code, but I remember that I did intersect on two arrays, comparing first columns, and the two arrays were not the same number of columns. It does work, and is much more efficient then looping. --  Robert Garcia President - BigHead Technology VP Application Development - eventp

Re: Witango-Talk: Deflate/gzip compression

2005-05-04 Thread Bill Conlon
Just for completeness, I'll answer my post. I'm deflating text/html, and I didn't have to do anything in witango. I do not have a header.htx, so the apache header was being used as is. On Sunday, May 1, 2005, at 09:47 AM, Bill Conlon wrote: Does anyone have any experience using mod_deflate on

Re: Witango-Talk: filtering arrays

2005-05-04 Thread Robert Garcia
I meant intersect. If there are only 30 rows, looping is not a bad thing, but if it gets much higher, make both arrays one column and use intersect. I have some code where I have done something extremely similar, but can't remember where it is at the moment. But I can tell you that it was much fast

RE: Witango-Talk: filtering arrays

2005-05-04 Thread Robert Shubert
You should either do   A) (in pseudocode)   <@FOR array=checkedboxarray> <@ADDROWS myfinalarray <@FILTER my30colarray expr=”#1 = <@COL 1>”>>   Or B)   Hit the DB again with an “where … is in” clause   The larger the dataset, the more likely the SQL hit will be faster.   Rober

RE: Witango-Talk: filtering arrays

2005-05-04 Thread Ted Wolfley
What I am doing is bring back information from a 30 column table and putting it into an array.  The array is used to create a selection form using the unique id for the checkbox value.  After the submit, I use the <@POSTARG NAME='a_userid' TYPE=ARRAY> to create an one column array of the chec

Witango-Talk: Job Opening

2005-05-04 Thread Dave Machin
We have a job available for an experienced WiTango developer with a strong MS-SQL database background.   Information is here: http://www.benchmarkportal.com/itposition.htm   Dave Machin BenchmarkPortal, Inc. TO UNSUBSCRI

Re: Witango-Talk: filtering arrays

2005-05-04 Thread Robert Garcia
Looping through rows should be avoided in witango whenever another solution is possible. Row looping is an expensive task.Try something like this, since it is a comma delimited list, you can turn into an array and filter. You can turn into array with the <@array> tag, or:<@assign request$temp <@tra

RE: Witango-Talk: filtering arrays

2005-05-04 Thread Ted Wolfley
I couldn't get this to work, I think it is because of a comma delimited list of values and contains uses only one value.   I went with using a row loop inside another row loop.   ted From: Ben Johansen [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 04, 2005 2:48 PMTo: witango-talk@witango.

RE: Witango-Talk: filtering arrays

2005-05-04 Thread Ben Johansen
Try this <@ASSIGN NAME="vconfirmlist" VALUE="<@FILTER ARRAY='varrayout' EXPR=” ‘@@request$vdeletelist’ contains #usrid>" SCOPE="request"> Might work, I did this once but cant find code   Ben Johansen - http://www.pcforge.com Authorized Witango & MDaemon Reseller Available for Web App.

Re: Witango-Talk: Playing Sound

2005-05-04 Thread Mark Weiss
Thank you. This worked perfectly. Mark Weiss On 5/4/05 2:23 AM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Re: Witango-Talk: OSX 10.4, Dev Studio, ODBC DSNs

2005-05-04 Thread Roland Dumas
it is as functional as it is on Panther. Do beware that your ODBC may require some manual tinkering I can't figure out what all 10.4 did, but suspect it stepped on the myodbc drivers I'd recently installed. On May 4, 2005, at 8:25 AM, Dale Graham wrote: Appears to be. (You might want to give me

Re: Witango-Talk: OSX 10.4, Dev Studio, ODBC DSNs

2005-05-04 Thread Stephen Su
Dale, As always, thank you for your leadership and initiative with such matters. We'll wait to hear about your experience. We currently run it on our updated Panther systems. Best of luck, Stephen On May 4, 2005, at 11:25 AM, Dale Graham wrote: Appears to be. (You might want to give me a few

Re: Witango-Talk: OSX 10.4, Dev Studio, ODBC DSNs

2005-05-04 Thread Dale Graham
Appears to be. (You might want to give me a few days so I can see if there are any hidden issues, though... ) 8) Note, I presume that it will be at best AT LEAST as error free as it is on Panther. It has been somewhat (but not impossibly so) unstable on Panther. On May 4, 2005, at 10:45

Re: Witango-Talk: OSX 10.4, Dev Studio, ODBC DSNs

2005-05-04 Thread Stephen Su
It is my understanding then that the DEV STUDIO is TOTALLY FUNCTIONAL and error free on the new OS X Tiger? Please confirm . . . thanks, Stephen On May 4, 2005, at 6:21 AM, Dale Graham wrote: I agree. I am testing Tiger on my laptop so we can find any issues THERE. We think we're still *quite

Re: Witango-Talk: OSX 10.4, Dev Studio, ODBC DSNs

2005-05-04 Thread Stephen Su
It is my understanding then that the DEV STUDIO is TOTALLY FUNCTIONAL and error free on the new OS X Tiger? Please confirm . . . thanks, Stephen On May 4, 2005, at 6:21 AM, Dale Graham wrote: I agree. I am testing Tiger on my laptop so we can find any issues THERE. We think we're still *quite

Witango-Talk: filtering arrays

2005-05-04 Thread Ted Wolfley
Hi,   I am trying to <@filter> an array by using values already selected from the array.  The sql equivalent is "select * from array where userid in (selected list)". Can a list of values be used in the filter action?   <@ASSIGN NAME="vconfirmlist" VALUE="<@FILTER ARRAY='varrayout' EXPR='#u

Re: Witango-Talk: OSX 10.4, Dev Studio, ODBC DSNs

2005-05-04 Thread Dale Graham
I agree. I am testing Tiger on my laptop so we can find any issues THERE. We think we're still *quite* a way from updating our servers to Tiger. On May 4, 2005, at 5:13 AM, Roland Dumas wrote: didn't have problems with the Dev Studio on any OS version just got the server on 10.3.8 and no mor

Re: Witango-Talk: Playing Sound

2005-05-04 Thread [EMAIL PROTECTED]
Try sound.mid = your soundfile loop: 1 = one time play regards Daniel - Original Message - From: "Mark Weiss" <[EMAIL PROTECTED]> To: Sent: Wednesday, May 04, 2005 1:52 AM Subject: Witango-Talk: Playing Sound After searching the archives, and Javascript.internet.net, I still

Re: Witango-Talk: OSX 10.4, Dev Studio, ODBC DSNs

2005-05-04 Thread Roland Dumas
didn't have problems with the Dev Studio on any OS version just got the server on 10.3.8 and no more ODBC problem - and not changing to 10.4 until there are lots of reasons to and lots of people before me. ;-) On Apr 30, 2005, at 1:42 AM, Robert Garcia wrote: Didn't you just get everything t

Re: Witango-Talk: OSX 10.4, Dev Studio, ODBC DSNs

2005-05-04 Thread Jason Schulz
Admin != root, and root has the real rights. Use sudo when you change httpd.conf, which does contain about two pages of comments at the start of it. Once you go to tiger, the apple installer will rename your httpd.conf file to something like httpd.conf,applesaved and replace it with a new httpd