Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

get result of oorexx script into frame

22 views
Skip to first unread message

ke...@akademie.volksbank.at

unread,
Jun 22, 2006, 5:38:22 AM6/22/06
to
Hi,

hope that there is someone who can help me!

I have a oorexx script within a html file!

This script gets all "logfiles.txt" from C:\ and list them with
checkboxes in a new html file!

What i would like to have is that this script passes these checkboxes
to an embedded frame within the first html!

I've already tried with target="framename" but the result is that there
is still a new html file generated and the button which i need to run
a second script disappears.

The embedded frame is still quite small, eventhough I set "width" and
"heigth" to 90%!

Furthermore the closing html tags (generated by the script ) are not
displayed within the code of the generated new file!

I would be much obliged if someone could help me with this problem!

Rainer

This is the file:


<html>
<head>
<title>manipulated.html</title>

<script language="Object Rexx">

::routine getLogFiles public

FilePattern="C:\oorexxunit\testunits\oorexx\logfiles\"log_"*.txt"
flags ="FSO" -- search files only, in all subdirs,
return fully
qualified path
call SysFileTree FilePattern, "files.", flags

if files.0=0 then
do
say filePattern": no files found, aborting!"
exit -1
end

l=.list~new -- create a list
do i=1 to files.0 -- add each found file into the list
l~insert(files.i)

end

document~writeln("<!DOCTYPE HTML PUBLIC -//W3C//DTD HTML
4.01//EN>")
document~writeln("<html>")
document~writeln("<head>")
document~writeln("<title>??</title>")
document~writeln("</head>")
document~writeln("<body>")
document~writeln("<form name=""form1""target=""LogFrame"">")

y=l~makearray
arr=y~supplier


x=l~items
num=result

i=1
do while i<num
htmlname=LogFile||i

g=arr~item()
document~writeln("<input type=""checkbox""
name="""htmlname"""
value="""g""">"g"<br>")

arr~next

i=i+1
end

document~writeln("</form>")
document~writeln("</body>")
document~writeln("</html>")

</script>


<body>
<input type="button" onclick="call getLogFiles" name="get
logfiles" value="get logfiles"></p>
<iframe src="about:blank" name="LogFrame" width="90%" heigth="200%">


</body>
</html>

Jeremy C B Nicoll

unread,
Jun 22, 2006, 11:56:55 AM6/22/06
to
In article <1150969102.8...@r2g2000cwb.googlegroups.com>,
<ke...@akademie.volksbank.at> wrote:

> The embedded frame is still quite small, eventhough I set "width" and
> "heigth" to 90%!

Try "height"

--
Jeremy C B Nicoll, Edinburgh, Scotland - my opinions are my own.

ke...@akademie.volksbank.at

unread,
Jun 23, 2006, 3:57:56 AM6/23/06
to

Jeremy C B Nicoll schrieb:

Thanks, should read through my post again before posting it!

0 new messages