Re: Table inside Table

2003-01-14 Thread Luiz Fernando B. Ribeiro
Em Mon, 13 Jan 2003 22:53:16 + "Maurício Amorim " <[EMAIL PROTECTED]> escreveu: > Hi list, > > I need generate an table that can have table inside table. > I am trying an recursive routine, but i don't am getting sucess, > because the html is not generate. > > Exist any form for do it. > I

Re: Table inside Table

2003-01-14 Thread Maurício Amorim
I tried it but don't get sucess.   My routine is like:   ## Rotina: geranavegacao#sub geranavegacao {    my ($sth) = shift;    my ($refhashscan) = shift;     #    # Fim cursor    #    undef local $nivel;    return unless defined $refhashscan;     $nivel = $$refhashscan{NIVEL};    print '  

Re: Table inside Table

2003-01-14 Thread Kee Hinckley
At 11:21 AM -0200 1/14/03, Luiz Fernando B. Ribeiro wrote: Em Mon, 13 Jan 2003 22:53:16 + "Maurício Amorim " <[EMAIL PROTECTED]> escreveu: Hi list, I need generate an table that can have table inside table. I am trying an recursive routine, but i don't am getting sucess, because the htm

Re: Execute is not sending request object to executed page

2003-01-14 Thread Gerald Richter
>I'm attempting to execute a page and redirect the output to a file. This is >all that's in the page I'm loading: >[- Execute({inputfile=> 'page.epl', output => '/tmp/output.html' }); -] Not quite sure if this is the problem, but it must be outputfile instead of output Gerald ---

Re: Table inside Table

2003-01-14 Thread Gerald Richter
>I am trying an recursive routine, but i don't am getting sucess, because >the html is not generate. there is a bug in 2.0b8 that sometimes causes html inside a [$sub $] not to be outputed when the sub is nested. Maybe you hit that bug. (No problem with 1.3.x) A workaround is to place the content

Can't locate object method "TIEHASH"

2003-01-14 Thread Farouk Khawaja
Hello all, I'm having all kinds of problems with sessions... here goes. The error message when using the embperl 2.08b default behavior (Apache::SessionX): = [Tue Jan 14 10:52:53 2003] [error] [24539]ERR:  24:  Error in Perl code: Permission denied at /usr/lib/perl5/site_perl/

Re: Execute is not sending request object to executed page

2003-01-14 Thread Scott Chapman
I changed the top level file to just: [- Execute ('page.epl' ); -] and I'm still getting errors in my database because the $req is not going to page.epl. Scott On Tuesday 14 January 2003 07:16 am, Gerald Richter wrote: > >I'm attempting to execute a page and redirect the output to a file. This

Re: session records bulding up

2003-01-14 Thread Gerald Richter
>I think though, from the looks of the documentation, you have to manage the lifespan of the sessions on the server side yourself Yes unfortunately you have to >One more way which is probably evil but better overall, imo, is to add a field to the session table with the timestamp Adding a field s

Re: Table inside Table

2003-01-14 Thread Gerald Richter
>I am using 1.3.4. > >print OUT ""; For 1.3.4 you should set optRawInput in EMBPERL_OPTIONS in your httpd.conf, otherwise Embperl will remove the html tag inside the input. See the docs and Faq.pod for more informations about this issue Additionaly note that printing to OUT only works inside Emb

Re: Can't locate object method "TIEHASH"

2003-01-14 Thread Gerald Richter
>[Tue Jan 14 10:52:53 2003] [error] [24539]ERR: 24: Error in Perl code: Permission denied > at /usr/lib/perl5/site_perl/5.6.1/Apache/Session/Lock/Semaphore.pm line 92. The user Apache runs as has no access to the semaphore. Use ipcs to show all sempahores and ipcrm to remove the sempahore of

Re: Execute is not sending request object to executed page

2003-01-14 Thread Gerald Richter
>I changed the top level file to just: >[- Execute ('page.epl' ); -] > >and I'm still getting errors in my database because the $req is not going to >page.epl. Strange. What do you get if you add a [+ $_[0] +] to page.epl _before_ the shift? Does it change anything if you remove the [$ var $req

Re: Execute is not sending request object to executed page

2003-01-14 Thread Scott Chapman
I made it like this: [$ var $rec $req %qdat %ssdat %srdat @set $set $names %db $key $allow_update $allow_demolinks @values $creator $datetime $eventcode $user_id $info $sth_eventlog $review_type $review_os $recurring_total $] [+ $_[0] +] [- $req = shift; -] [- and I still got the error. When I

Re: Can't locate object method "TIEHASH"

2003-01-14 Thread Farouk Khawaja
On Tue, 2003-01-14 at 14:57, Gerald Richter wrote: Did you load Embperl::Session somewhere. If not do it I belive the following from 'httpd.conf' loads Embperl::Session.      PerlModule  Embperl   SetHandler  perl-script   PerlHandler Embperl::Object   

DBIx::Recordset/Embperl security question

2003-01-14 Thread Kee Hinckley
One of the great features of of the Embperl/DBIx::Recordset combination is the ability to pass %fdat directly to a database update or insert call. Recordset takes the parameters that exist in the record and ignores the rest. You can easily update your database and your web forms without havin