Witango-Talk: ebay-style 1 2 3 4 page numbering (revisited). Javascript helpneeded!

2002-12-09 Thread Nicholas Froome
I posted a while ago about generating page numbers eBay-style for multiple result pages. I'd rather do this in javascript on a per-page basis than do it with Witango, and this is as far as I've got: function GoToPage( id ) { window.location = ( 'Re: Witango-Talk: Parsing response string
Does anyone have any suggestions what approach to take to be able to read a response string from a credit card gateway to determine if a transaction has failed or was successful. They can send back a fixed string to a predefined URL. I would need to be able read and store pieces of that string

RE: Re: Witango-Talk: File Upload

PERFECT!!! My gratitude!! Thanks so very much Steve ***man this list is great! > -Original Message- > From: JJ Smith [mailto:[EMAIL PROTECTED]] > Sent: Sunday, December 08, 2002 7:12 PM > To: Multiple recipients of list witango-talk > Subject: Re: Witango-Talk: File Upload > >

RE: Witango-Talk: Parsing response string

Just have them post a form back to your site with the information you need or pass it back as a parameter in the URL. = Original Message from [EMAIL PROTECTED] at 12/09/02 11:06 am >Does anyone have any suggestions what approach to take to be able to read a response >string from a credit c

RE: Witango-Talk: Parsing response string

I agree with Troy. I've found that they either POST a form or send an URL. Either way, you get name/value pairs. You can test for a particular value. ('approved=yes' --> IF approved = "yes", do this, ELSE, do that, ENDIF). You can get all the name/value pairs with <@ARG>. Just make sure you kno

RE: Re: Witango-Talk: File Upload

Your welcome - if anyone finds that this does not work on a certain platform/browser please let me know. JJ --- "Campbell, Steve V." <[EMAIL PROTECTED]> wrote: > PERFECT!!! > > My gratitude!! > > Thanks so very much > > Steve > > ***man this list is great! > > > > > -Original Mess

Witango-Talk: Database View

I use R:Tango 2000 on a Windows 2K server. I have 2 tables as follows: Table - Teams Fields - T_ID, T_Name Table - Matches Fields - M_ID, M_Team1, M_Team2 M_Team1 & M_Team2 relate to T_ID in Teams. I want to do a search action of records in table Matches "joining" T_Name. In the search action,

Re: Witango-Talk: Database View

Steve, What you really want is two separate instances of the teams table, one representing team 1, and one for team 2. Any time you do something that tricky in SQL, you are more likely to get what you want in R:Tango by resorting to the Direct DBMS action: I would change the select action to a

RE: Witango-Talk: Database View

Bill, Looks like what I need. Never used a Direct DBMS action. Are the results of the Direct DBMS action stored in @@resultSet? As far as the alternate, do you mean create a view within R:Base or create a view with a Direct DBMS action? Are R:Base views accessible from Witango? Thanks again St

RE: Witango-Talk: Database View

I have a similar application and I found it easier to create a user (or application) scope variable that contains the team names. The search action brings back the participants in a game and I use the following to display their team name: <@ASSIGN NAME="la_temphometeam" VALUE=<@FIL

RE: Witango-Talk: Database View

On Mon, 9 Dec 2002 18:19:12 -0600, Fogelson, Steve wrote: >Are the results of >the Direct DBMS action stored in @@resultSet? > >As far as the alternate, do you mean create a view within R:Base or create a >view with a Direct DBMS action? > >Are R:Base views accessible from Witango? Yes, the resu

RE: Witango-Talk: Database View

Hi, Bill is correct here, I just wanted to bring to your attention that the @@resultset from a DirectDBMS is different from a Search action with regards to column names The resultset from a search action returns the column names into the row zero of the array whereas the directdbms doesn't So t

Witango-Talk: ebay-style 1 2 3 4 page numbering (revisited). Javascript helpneeded!

I posted a while ago about generating page numbers eBay-style for multiple result pages. I'd rather do this in javascript on a per-page basis than do it with Witango, and this is as far as I've got: function GoToPage( id ) { window.location = ( 'Re: Witango-Talk: ebay-style 1 2 3 4 page numbering (revisited). Javascript help needed!
Hi Nicholas, Why does it have to be done in Javascript anyway? It can be done relatively straight forward with Witango and still look exactly the same to the user as the Javascript you've given below. If you change your mind let me know and I can describe how to do it in Witango. JJ --- Nicho

Re: Witango-Talk: ebay-style 1 2 3 4 page numbering (revisited).Javascript help needed!

I'm interested in how best to do this in Witango Garth Hi Nicholas, Why does it have to be done in Javascript anyway? It can be done relatively straight forward with Witango and still look exactly the same to the user as the Javascript you've given below. If you change your mind let me know and

Re: Witango-Talk: ebay-style 1 2 3 4 page numbering (revisited). Javascript help needed!

Hi Garth, Attached is a file which demonstrates how to do an ebay style navigation in Witango as described by Nicholas below. There is only a small piece of extra code required - I have included comments in the file but basically a limit is set on the number of results to be returned and from that

Re: Witango-Talk: ebay-style 1 2 3 4 page numbering (revisited).Javascript help needed!

earlier versions would be great too. really appreciate it since this of great interest to me. cheers Garth Hi Garth, Attached is a file which demonstrates how to do an ebay style navigation in Witango as described by Nicholas below. There is only a small piece of extra code required - I have inc

Re: Witango-Talk: ebay-style 1 2 3 4 page numbering (revisited). Javascript help needed!

Actually I have no way of reverting back (testing) on a previous version - the company I work for have upgraded to version 5 completely. JJ --- Garth Penglase <[EMAIL PROTECTED]> wrote: > earlier versions would be great too. really > appreciate it since this > of great interest to me. > cheers >

Re: Witango-Talk: ebay-style 1 2 3 4 page numbering (revisited).Javascript help needed!

you don't have to test - I'll do that - if it doesn't work I'll figure it out from what you've done in the witango 5 ver cheers Garth Actually I have no way of reverting back (testing) on a previous version - the company I work for have upgraded to version 5 completely. JJ --- Garth Penglase <[

RE: Witango-Talk: ebay-style 1 2 3 4 page numbering (revisited). Javascript help needed!

Here's a little snippet that I keep in my snippets folder. It creates a creates a dropdown of all the subsequent pages. I use it instead of the 110 lines of code in the next X / previous X buttons. It doesn't show links like you wanted, but the idea is the same. It could be easily modified to make

RE: Witango-Talk: ebay-style 1 2 3 4 page numbering (revisited).Javascript help needed!

Thanks Dave, I'll try this out as well. The method "repeatArgs" you refer to below is the one that is created by the builder is it not, or do you have a better version? cheers Garth There's one method called in it, method="repeatArgs('_start')", which re-creates all the args as hidden form fi

RE: Witango-Talk: ebay-style 1 2 3 4 page numbering (revisited). Javascript help needed!

Garth, Here's the code for the repeatArgs method. It takes 1 parameter, excludeArgs, a comma delimited list of args you don't want to repeat, ie _start in the example below. I mainly use it for multipage forms, but it's also helpful in this example. A slightly more complex version will handle post