Re: use and Execute differences

2007-10-10 Thread Villu Roogna
Understood and yes Embperl::Object logic is very useful indeed. Villu

Re: Re: Re: Problems customizing selected form elements output

2007-10-10 Thread Villu Roogna
Thank you for the information. VIllu On 10/10/07, Gerald Richter - ECOS GmbH <[EMAIL PROTECTED]> wrote: > > > > > Thank you very much. Will be trying it as soon as I get the time. > > > > Could you tell me which files are responsible for the > > generation of the (x)html. Is it all in Embperl::Sy

Re: ANNOUNCE: Embperl 2.3.0

2007-10-10 Thread Villu Roogna
Great news indeed and big thanks to Gerald. Just pointing out that this information is not yet in web page http://www.ecos.de/embperl/. At least not in the news section. Thank you, Villu Roogna

use and Execute differences

2007-10-10 Thread Villu Roogna
t would there be any cases where the latter (Execute) would be more preferable? And how about its memory usage? Using Embperl 2.2.0. With kind regards, Villu Roogna

Re: Re: Problems customizing selected form elements output

2007-10-10 Thread Villu Roogna
Thank you very much. Will be trying it as soon as I get the time. Could you tell me which files are responsible for the generation of the (x)html. Is it all in Embperl::Syntax::* or does some of the logic is also in *.c files. All the best, Villu

Re: Problems customizing selected form elements output

2007-09-07 Thread Villu Roogna
Hi again, Well I have partially achieved what I want. I took a good look on the Embperl::Syntax::* code and documentation again and figured out that I can do what I want by using _ep_sa (XML::Embperl::DOM::Element::iSetAttribut in DOM.xs) function instead of Embperl::Cmd::InputCheck. In case anyo

Problems customizing selected form elements output

2007-09-06 Thread Villu Roogna
Hello, Using embperl 2.2.0 I would like to use embperl feature that allows automatic input values filling and checkbox, option and radio button checking when correct values are specified in %fdat. The problem is that for example for selected input type="checkbox" html generated by Embperl is Th

Application architecture and separating logic and design

2006-11-07 Thread Villu Roogna
Hello,I have set up my EMBPERL_OBJECT_APP file as sort of MVC controller:For example in init I have conditionals like if(basename($req->param->uri) =~ /^index(_eng)?\.html$/) {    Front page logic }In index.html file I have several Execute statements for other templates likeExecute({imputfile => 's

perlio questions

2006-06-11 Thread Villu Roogna
Hello,I am wondering why following does not work as expectedFile encoding is in iso-8859-1my $str = "äää";binmode(OUT, ":utf8");print OUT $str;Expected result: string is output in utf. Real result: string is still in iso-8859-1When I write it like thisuse Encode;my $str = "äää";Encode::from_to($str