RE: Javascript w/ EmbperlObject

2000-04-21 Thread Gerald Richter
Hi > > I thought I could place this in my EmbperlObject template: > > The current version of Embperl requires a [- Execute ({ inputfile => '*', import => 0}) -] before the first call to a subroutine in that file, to define the subroutines in this file. The final release of 1.3 will make this a

RE: Force Output ?

2000-04-21 Thread Gerald Richter
Hi , > >Look in the documentation this value can be set in ur program if u > want it to take effect only for that page ele u can change in the config > files the embperl_option is > "optEarlyHttpHeader = 64 " ... the explanation is as follows : > Additionaly you can force Embperl to

RE: Dissapearing /TR's

2000-04-21 Thread Gerald Richter
> Try putting > > [- > > $optDisableHtmlScan = 1; > $optDisableTableScan = 1; > $optRawInput = 1; > $escmode = 0; > > -] > > :) then your html/table whatever code is left alone... > Yes, but I thing that's not what thr original poster wants. As far as I can see, he wants to iterate over @$

RE: Debugging libraries loaded into Embperl files

2000-04-21 Thread Gerald Richter
> > I have several libraries of helper routines that I load into my > HTML files. > > I tried using Execute to load them, but I started getting weird > things where it seemed like there was more than one copy of the > library in use. > This shouldn't be the case, as long as you don't use the mtim

RE: Accessing EmbPerl variables from another package

2000-04-21 Thread Gerald Richter
> From my web page I call a routine in a library. I would like that > routine to be able to access (and set) some variables (%udat in > particular). I need to experiment to be sure, but > HTML::Embperl::udat didn't seem to work, Accessing %HTML::Embperl::udat should work in the current version

RE: suggestion for Embperl Execute nested

2000-04-21 Thread Gerald Richter
> > I am calling a (child) epl from a (parent) epl via [- Execute($child, > $param) -] > The child epl does some processing based on the passed $param and creates > some variables. The problem is that I would like to use child's > vars in the > parent epl and i don't want to have to pass these var

RE: Dissapearing /TR's

2000-04-21 Thread egill runar erlendsson
Try putting [- $optDisableHtmlScan = 1; $optDisableTableScan = 1; $optRawInput = 1; $escmode = 0; -] :) then your html/table whatever code is left alone... egill -Original Message- From: Gerald Richter [mailto:[EMAIL PROTECTED]] Sent: 21. apríl 2000 19:13 To: Umar Goldeli; [E

RE: Dissapearing /TR's

2000-04-21 Thread Gerald Richter
> > [+ $head->[$col] +]: > Does it change anything if you change your code to the following (intention is just for better readablility)? [- $h = $head->[$col] ; $r = $result -> [$row][$col] -] [+ $h +]: Gerald

RE: use module in Embperl (was: problem solved, but still weird!)

2000-04-21 Thread Gerald Richter
> > Standard workaround here is now "apachectl restart" after the change of > modules :-/ weird but it really works! > Nothing weird here. Everything is well defined. Just let us try to understand how Perl, mod_perl and Embperl works together: "perldoc -f use" tells us: Imports some semantics

RE: Bug with CHECKED in and SELECTED in tags

2000-04-21 Thread Gerald Richter
Hi, > I wonder if anyone has noticed this error in embperl. Not everything that people think is an error of Embperl... :-) > Embperl will refuse > to print out CHECKED or SELECTED with in or tags if they > are stored within a variable. I think the following code example > will best > explai

Javascript w/ EmbperlObject

2000-04-21 Thread Kaare Rasmussen
Hi I thought I could place this in my EmbperlObject template: and this in the original file: [$ sub js_start $] onLoad="nr.focus()" [$ endsub $] But the result is this: title onLoad="nr.focus()" How will I produce an individual onLoad if I want to use EmbperlObjects ? -- Kaare Ras