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
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
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
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
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
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
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
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
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.
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.
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
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
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
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
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
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
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
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
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
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
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
21 matches
Mail list logo