You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Maurício Amorim <ma...@terra.com.br> on 2003/01/13 23:53:16 UTC

Table inside Table

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 am trying an explorer in html. (simple)

Thank you.

Re: Table inside Table

Posted by Gerald Richter <ri...@ecos.de>.
>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 of the sub inside a file and call this
recursivly via Execute.

Gerald


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Re: Table inside Table

Posted by Kee Hinckley <na...@somewhere.com>.
At 11:21 AM -0200 1/14/03, Luiz Fernando B. Ribeiro wrote:
>Em Mon, 13 Jan 2003 22:53:16 +0000
>"Maurício Amorim " <ma...@terra.com.br> 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 am trying an explorer in html. (simple)
>>
>
>This is very tricky but possible. For reentrant code use plain perl subs
>instead of Embperl [$ sub $] and output html with print OUT.

Or just use [$ while $] loops instead of the builtin row/col features.
-- 

Kee Hinckley - Somewhere.Com, LLC
http://consulting.somewhere.com/

I'm not sure which upsets me more: that people are so unwilling to accept
responsibility for their own actions, or that they are so eager to regulate
everyone else's.

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Re: Table inside Table

Posted by "Luiz Fernando B. Ribeiro" <lu...@engenhosolucoes.com.br>.
Em Mon, 13 Jan 2003 22:53:16 +0000
"Maurício Amorim " <ma...@terra.com.br> 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 am trying an explorer in html. (simple)
> 

This is very tricky but possible. For reentrant code use plain perl subs
instead of Embperl [$ sub $] and output html with print OUT.

Regards,

Luiz Fernando B. Ribeiro
Engenho Soluções para a Internet

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org