RE: [tclwebtest] FW: link not found in ad_proc "find_in_array_list"
Status: Abandoned
Brought to you by:
tils
|
From: <a....@12...> - 2003-03-02 13:29:18
|
Thank you.
Who is on this list and working with openACS ?
I would like to share my preliminary UI for debugging.
Aldert
----------------------------------
-----Original Message-----
From: tcl...@li...
[mailto:tcl...@li...]On Behalf Of
Tilmann Singer
Sent: woensdag 26 februari 2003 14:50
To: tcl...@li...
Subject: Re: [tclwebtest] FW: link not found in ad_proc
"find_in_array_list"
* a....@12... <a....@12...> [20030226 13:46]:
> Sorry, If you get this message for the second time.
> I just subscribed to the list and I don't know if subscribing is necessary
> to post (and will the forumlist remain 'read only'?)
Yes it was sent over the list already, and I replied to it (reply
below). So it seems subscribing is not necessary to post.
What do you mean by "will the forumlist remain 'read only'"?
cheers, Til
------
From: Tilmann Singer <ti...@ti...>
To: tcl...@li...
Date: Wed, 26 Feb 2003 10:00:44 +0000
* a....@12... <a....@12...> [20030226 09:23]:
> I'm workin on a simpel tclwebtest-UI for OpenACS.
Cool - in Tk?
> While running a script a get a weird error.
> Some links are resolved some are not in the script below.
> I have put a debug statement in lib/tclwebtest.tcl to see what happens
(see
> below)
> Does anybody know what the result means?
> Any help or pointers are appreciated.
> debug "Number of Links of This Page: [llength [link all]]"
> foreach link [link all] {
> array set aLink $link
> debug "\* $aLink(full)"
> if { [catch { link follow ~u $aLink(url) } err] } {
> debug "we got an error: $err"
> }
> }
[link all] returns a list of links of the current page. [link follow]
tries to emulate clicking on a link on the current page, and changes
the current page, as you can see by the "--- do_request for" output in
your log. Thus the subsequent [link follow] calls fail because you are
trying to follow a link that is not present on the resulting current
page.
To go through a list of links, use [do_request] instead of [link
follow].
-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
_______________________________________________
Tclwebtest-general mailing list
Tcl...@li...
https://lists.sourceforge.net/lists/listinfo/tclwebtest-general
|