Hi,
>I've developed a small package that compress the output stream of
>Embperl::Object as a replacement of epocgi.pl.
>You can use it like epocgi.pl.
>Maybe its usefull :)
>
>It could be found under:
>http://www.webscope.de/embperl/Embperl_Addon_GZip.zip
>Also I've written a wordfile for ultraed
> >
> >Thank you, this works, but I've got a new problem :)
> >I need to declare the formular in a var and later I write it into the
> >document, and then Embperl does not fill out the formular... Is there a
> >solution, too ?
>
> Instead of printing the form string, execute it.
>
Aah, I should
>
If the value attribute is given Embperl doesn't nothing, without the value
attribute it will do what you want
Gerald
P.S. The solution Kee pointed out is only needed if you load the _html_
dynamicly for example from a database, but for what you want to do it seems
to be overkill
At 8:52 PM +0200 7/17/03, Harald Becker wrote:
> I think it will do what you want if you remove the
value="..." token from the input:
If you need a default value, set it by placing a value in
fdat above the
input:
[- $fdat{info} = 'testing'; -]
Thank you, this works, but I've got a new pr
At 11:48 AM -0500 7/17/03, Cameron B. Prince wrote:
Execute ({inputfile => $filename, param => $href }) ;
But when I do, I get: [Wed May 21 22:51:38 2003] [notice] child pid 2166
exit signal Segmentation fault (11)
Is what I'm trying to do possible?
I believe what you want is:
Execute({inputfile
I've developed a small package that compress the output stream of
Embperl::Object as a replacement of epocgi.pl.
You can use it like epocgi.pl.
Maybe its usefull :)
It could be found under:
http://www.webscope.de/embperl/Embperl_Addon_GZip.zip
Also I've written a wordfile for ultraedits syntax hi
>
> Execute ({inputfile => $filename, param => $href }) ;
>
param needs a array ref, so you should write
Execute ({inputfile => $filename, param => [$href] }) ;
or simpler
Execute ($filename, $href) ;
and in your page access it as
$param[0]
Gerald
>
> EMBPERL_OPTIONS 1892
>
must be 8192
>
> My questions are:
>
> 1) How can I set EMBPERL_OPTIONS (in http.conf or .htaccess )?
see above
> 2) How can I set more than one option using EMBPERL_OPTIONS?
add the values together
Gerald
--
Hi,
The most simple way is:
[-
Execute('page.epl', $hash_ref);
-]
and in page.epl:
[-
($hash_ref) = @param;
-]
You can pass as many variables as needed.
If even with this method your apache segfaults than you have an
installation problem.
Regards,
--
Luiz Fernando Ribeiro
Engenho Soluções S
There should be no significant difference between an array reference and
a hash reference. Namespace doesn't apply to references, only
variables, so passing a hash reference inside an array reference should
work just fine. However, since that appears to not be the case...
I've found that using a
>
> What happend to %sdat in version 2 ?
>
It's still there, also I don't know how much it is used.
Gerald
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
>I think Emberpl parse the cookie in a wrong way not /E=(.*?);/. It only
>takes the last cookie var entry, that is EMBPERL_UID=...
Looks to me like you set the cookie name to late. If you do it in Perl, make
sure it's inside a BEGIN {} block
>Is there a trick to reset the cookie entry, so I can g
I am not exactly sure of the order of execution, but I know it doesn't work
like that... If you need interpolation on the form, you will have to do it
inside the same block that creates it.
As far as I know, there is no option to cause a page or block to be
reparsed.
Good luck,
Cameron
> -Or
> I think it will do what you want if you remove the
> value="..." token from the input:
>
>
>
> If you need a default value, set it by placing a value in
> fdat above the
> input:
>
> [- $fdat{info} = 'testing'; -]
Thank you, this works, but I've got a new problem :)
I need to declare the f
I think it will do what you want if you remove the value="..." token from
the input:
If you need a default value, set it by placing a value in fdat above the
input:
[- $fdat{info} = 'testing'; -]
Cameron
> -Original Message-
> From: Harald Becker [mailto:[EMAIL PROTECTED]
> Sent: Thur
Is it possible, that Embperl automatically fills out the html formular
fields and takes the values from %fdat or %idat ?
The following example does not to work either with %idat or %fdat
I don't want to set the form values with value="[+ $fdat{info} +]"
test.htm:
[- $fdat{info} = "rewritten"; -]
Hi again,
After further reading of the docs, I see that params can only contain a
single value, a list, or an array reference.
Can the list or array reference contain my hash ref? I'm thinking not as the
.epl will be within it's own space... So even if I could, the reference
would point to a non-
Hi,
In one of my pages I have a block at the top that calls a custom package
I've created. This package returns a reference to a hash of hashes. This
page has two output blocks. Each loops over one of the embedded hashes. This
is working fine.
Now, I need to create another page that will only use
Hi all,
My problem is, I need to set 0 in some input tag instead of
empty string as Embperl does it.
I found option $optAllFormData and tried to set it in the
http config file:
PerlModule Embperl
AddType text/html .epl
EMBPERL_OPTIONS 1892
SetHa
19 matches
Mail list logo