Hi Joe,

Technically speaking, I can't see anything wrong with your code (given that
there is more than one way to metatags) - although I'm not sure if that
ending </@IF> tag belongs where it is or you're just not showing us all the
code.

I would suspect it's a bug, if it worked with T2K. But try the following to
help isolate it.

~ Properly scope all your <@VAR> tags.
~ Could probably try using the <@CURROW> directly.
~ Use the NAME= attribute with the <@COLUMN> tag.
~ try removing the surrounding HTML and see what you get in the View-source.

Let us know what you get. Cheers......

Scott Cadillac,
Witango.org - http://witango.org
403-281-6090 - [EMAIL PROTECTED]
--
Information for the Witango Developer Community
---------------------

XML-Extranet - http://xml-extra.net
403-281-6090 - [EMAIL PROTECTED]
--
Well-formed Development (for hire)
---------------------

----- Original Message -----
From: "Joe Terrasi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 19, 2003 12:07 PM
Subject: Witango-Talk: This has GOT to be a bug, right? Inconsistent
looping.


> OK, still trying to port over my t2k apps.... Thanks again to all who
> have helped so far.
>
> But I just found a major source of frustration.... In one of my more
> complex apps, I use a FOR loop to build part of a form as below:
>
> -----
> <@FOR START="1" STEP="1" STOP="20">
>
> <@ASSIGN NAME="grade" VALUE="<@CURROW>" SCOPE="local">
>
>
> <TD>
> <INPUT TYPE=TEXT MAXLENGTH=2 SIZE=2 NAME="grade<@VAR
> NAME="grade">Q<@VAR NAME="quarter">.<@COLUMN
> 'layout_0.Record_Identifyer'>" VALUE="<@COLUMN 'layout_0.Grade<@VAR
> NAME="grade">Q<@VAR NAME="quarter">'>">
> </TD>
> </@IF>
>
> </@FOR>
> ------
>
>
>
> OK, it mostly works. But in sporadic rows, I get missing characters. See
below:
>
> ------
> <TD>
> <INPUT TYPE=TEXT MAXLENGTH=2 SIZE=2 NAME="grade1Q3.001812" VALUE="">
> </TD>
>
> <TD>
> <INPUT TYPE=TEXT MAXLENGTH=2 SIZE=2 NAME="grade2Q3.001812" VALUE="">
> </TD>
>
> <TD>
> <INPUT TYPE=TEXT MAXLENGTH=2 SIZE=2 NAME="grad3Q3.001812" VALUE="">
> </TD>
> ------
>
> Look at the last input statement. See where it says "grad3Q3...?" Now
> why in the world would it drop the "e" from the name (it should be
> grade3Q3....)
>
> It doesn't do this with any consistency. This is a loop within
> another loop, and 90% of the iterations on the page come out correct.
> I can't find any rhyme or reason to connect the times that are a
> problem. It's not always the same character that's dropped, either.
> In one case, it was even a ">" which really fouled things up.
>
> Please tell me I'm not just losing my mind. This is an app that worked in
t2k.
>
> Thanks!
>
> Joe
>
> PS - config: Mac OSX 10.2, WebSTAR...
> PPS - pretty sure I have the newest build of the plug-in now.
> --
> Joe Terrasi             [EMAIL PROTECTED]
> St. Clement School      http://www.stclementschool.org
> St. Clement Church      http://www.stclementchurch.org
> 773-348-8212            fax: 773-348-4712
>
> ________________________________________________________________________
> TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
>                 with unsubscribe witango-talk in the message body
>

________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body

Reply via email to