re. I like the observation that designers don't
understand templates, only CSS :-)
--
Med venlig hilsen
Kaare Rasmussen, Jasonic
Jasonic Telefon: +45 3816 2582
Nordre Fasanvej 12
2000 Frederiksberg Email: [EMAIL PROTECTED]
--
Gerald doesn't have the time and/or
energy to move Embperl forward.
Speed and performance are important, off course, as is diversity, so I'll hang
around and try to see if there's anything I can help with with the limited
time I have.
--
Med venlig hilsen
Kaare Rasmussen, Jason
e 982, line 6.
line 982 in Makefile.PL is only executed if there's no $mp2cfg. Don't know
what it is, but shouldn't I have one?
--
Med venlig hilsen
Kaare Rasmussen, Jasonic
Jasonic Telefon: +45 3816 2582
Nordre Fasanvej 12
2000 Frederiksberg Ema
> Any thoughts?
It would help to get a final version of Embperl 2.0 out the door. I know
of at least one OOS project being stalled because there's no official
2.0
You may argue that the current rc will be the official Embperl 2.0, but
people like to see it before they act.
-
Hi
What is the timeframe for Embperl 2.0 final/gold/whatuwannacallit?
If I didn't misunderstand, mod_perl 2 is finally final, so Embperl 2 has a
chance to becoming same. Can you (well, Gerald, I believe) make a guesstimate
about when it will be so?
Hi
What is the timeframe for Embperl 2.0 final/gold/whatuwannacallit?
If I didn't misunderstand, mod_perl 2 is finally final, so Embperl 2 has a
chance to becoming same. Can you (well, Gerald, I believe) make a guesstimate
about when it will be so?
Hi
> do you have LoadModule embperl_module "/path/to/Embperl.so" in apache
> config?
Thanks for the advice.
I did include it in the configuration file, but it is alas one of the files
that SUSE decides to overwrite on startup. It wants to do some magic so I
have to do some un-magic so it can
> # make test
If I ignore the test and just make install, it sort of works. Strange thing is
that
EMBPERL_APPNAME freemoney
EMBPERL_OBJECT_BASE base.tepl
EMBPERL_URIMATCH "\.htm.?|\.epl$"
EMBPERL_SESSION_HANDLER_CLASS "no"
EMBPERL_FILESMATCH "\.htm.?|\.epl$"
results in a startup mess
> Alas, Novell doesn't include Embperl with its distribution. It does however
> have Apache 2 and mod_perl 2. How dificult is it to get Embperl 2 to run on
> top of that?
SUSE 9.3 with apache2, apache2-devel. mod_perl 2 and either apache-prefork or
apache-worker doesn't seem to like embperl:
con
Hi
Any easy installation guide for this combination?
Alas, Novell doesn't include Embperl with its distribution. It does however
have Apache 2 and mod_perl 2. How dificult is it to get Embperl 2 to run on
top of that?
-
To uns
_and_mod_ssl_openssl_
Embperl is now working.
Thanks for your answer.
--
Kaare Rasmussen--Linux, spil,--Tlf:3816 2582
Kaki Datatshirts, merchandize Fax:3816 2501
Nordre Fasanvej 12 Åben 12.00-18.00Email: [EMAIL PROTECTE
etHandler perl-script
PerlHandler Embperl::Object
PerlScript conf/fm-startup.pl
Options ExecCGI
Where to look, and for what ?
--
Kaare Rasmussen--Linux, spil,--Tlf:3816 2582
Kaki Datatshirts, merchandize Fax:3816 2501
Nordre Fasa
Hi
Before I start, I'd like to know if this has been done before, installing
Embperl on a stock SUSE 9.1 (but with a Perl compiled w/o threads).
If so, what do I tell Embperl when it wants the source from mod_perl ?
--
Kaare Rasmussen--Linux, spil,--Tlf:3816
missing something obvious?
You don't need to use schemas. I do use it though. The way I do it in
DBIx::Recordset is not pretty, but it works:
$db -> do ("SET search_path TO $schema");
--
Kaare Rasmussen--Linux, spil,--Tlf:3816 2582
Kaki Data
Hi
For my project Freemoney I've developed a framework for fields based entry
forms.
It's rather basic and I'd like to know if there could be someone out there who
also needs something like this, so we could develop it further. It could use
some refactoring in places too, as it has been develo
, a situation I don't like. Primarily because I can't publish
Freemoney with that kind of limitation.
So what's happening to DBIx::Recordset ?
--
Kaare Rasmussen--Linux, spil,--Tlf:3816 2582
Kaki Datatshirts, merchandize Fax:
rks for
everybody else.
--
Kaare Rasmussen--Linux, spil,--Tlf:3816 2582
Kaki Datatshirts, merchandize Fax:3816 2501
Howitzvej 75 Åben 12.00-18.00Email: [EMAIL PROTECTED]
2000 FrederiksbergLørdag 12.
answer.
DBD::Pg is 1.31 and Perl is 5.8.1
Hope this can give a clue.
--
Kaare Rasmussen--Linux, spil,--Tlf:3816 2582
Kaki Datatshirts, merchandize Fax:3816 2501
Howitzvej 75 Åben 12.00-18.00Email: [EMAIL PROTECTED]
2000
x/Database.pm line 148.
Commenting out lines #147-148 and reenabling line # 146 seems to finish this
problem. But it seems to be a troublesome spot, judging by the number of
commented lines :-)
I think that I just moved the problem to another area. Could you look into
this ?
--
Kaare Rasmussen
at least gets me there, but still I don't get any
rows.
Do anybody have an overview over the magic fields for searching with
DBIx::Recordset ?
--
Kaare Rasmussen--Linux, spil,--Tlf:3816 2582
Kaki Datatshirts, merchandize Fax:3816
E (Terrence Brannon <[EMAIL PROTECTED]>)
CPAN_VERSION 0.25
CPAN_FILET/TB/TBONE/DBIx-Recordset-0.25.tar.gz
--
Kaare Rasmussen--Linux, spil,--Tlf:3816 2582
Kaki Datatshirts, merchandize Fax:3816 2501
Howitzvej 75
nce Brannon <[EMAIL PROTECTED]>)
CPAN_VERSION 0.24
CPAN_FILEG/GR/GRICHTER/DBIx-Recordset-0.24.tar.gz
DSLI_STATUS bmpO (beta,mailing-list,perl,object-oriented)
MANPAGE DBIx::Recordset - Perl extension for DBI recordsets
--
Kaare Rasmussen--Li
AN_FILEG/GR/GRICHTER/DBIx-Recordset-0.24.tar.gz
Seems it is still 0.24 on CPAN ?
> * Full SQL Query input via the !Query option to Search()
It's not documented ?
--
Kaare Rasmussen--Linux, spil,--Tlf:3816 2582
Kaki Datatshirts,
gin. Not sure how to use it though as I'd prefer to begin
my transaction before any read, but I guess it's like this
my $set = DBIx::Recordset -> Search ({ %search });
$$set -> Begin;
updates, deletes and inserts
$$set -> Commit;
--
Kaare Rasmussen--Linux,
oss multiple tables? I can't remember.
Also this. Would be something of a dream, though I'm not sure its doable.
--
Kaare Rasmussen--Linux, spil,--Tlf:3816 2582
Kaki Datatshirts, merchandize Fax:3816 2501
Howitzvej 75
Terence Brannon.
I'd really like to be able to use table aliases, will this be in the future
path for DBIx::Recordset ?
Also, will the above query be updatable with DBIx::Recordset ?
--
Kaare Rasmussen--Linux, spil,--Tlf:3816 2582
Kaki Datatshirts,
Hi Gerald
> You can simply put it in a varibale and it will stick. Since Embperl
> normaly cleans up all package variables you can put it in a different
> namespace e.g.
Thanks - it works great! Is this documented? I searched the docs and with
Google, but...
--
Kaare
I want to save some data per Apache server - NOT per user or per page.
Is this possible with Embperl? Or will I have to study mod_perl ?
The data is a POE client object.
--
Kaare Rasmussen--Linux, spil,--Tlf:3816 2582
Kaki Datatshirts, merchandize
> You can make it even more smart if you are using EmbperlObject. If you
> execute your files with the "isa" syntax in the "base template" file you
> can call your subs as methods of the $req object.
Not quite sure what the isa syntax is here.
--
Kaare Rasm
');
OK except that the subs are not imported now.
Will I have to do this to get what I want - which is both the req object AND
the sub routines ?
Execute ({inputfile => 'findList.sub', import => 1});
Execute ('findList.sub');
--
Kaare Rasmussen
pick one.
--
Kaare Rasmussen--Linux, spil,--Tlf:3816 2582
Kaki Datatshirts, merchandize Fax:3816 2501
Howitzvej 75 Åben 12.00-18.00Email: [EMAIL PROTECTED]
2000 FrederiksbergLørdag 12.00-16.00 Web: ww
ile a database
query is being processed, but I'm not sure if this is a problem or not.
--
Kaare Rasmussen--Linux, spil,--Tlf:3816 2582
Kaki Datatshirts, merchandize Fax:3816 2501
Howitzvej 75 Åben 12.00-18.00Ema
work anywhere. It's necessary
with subselects with where-clauses.
Another request is to enable the use of table aliases.
--
Kaare Rasmussen--Linux, spil,--Tlf:3816 2582
Kaki Datatshirts, merchandize Fax:3816 2501
Howitzvej 75
]+]
[$sub testArray$]
[- $name = shift -]
[+ $name +]
[$endsub$]
Third table
[+ testArray($myrows[$row]) +]
Second table
[- testArray($myrows[$row]) -]
--
Kaare Rasmussen--Linux, spil,--Tlf:3816 2582
Kaki Datatshirts, merchandize
lsif some other thing$]
for @data1
for @data2
[$endif$]
some fixed rows at the end
So obviously I'd like the tags to be the enclosing entity for
which a recurring action shuld take place. At least as an option.
--
Kaare Rasmussen--Linux, spil,--Tlf:
le, it was my experience that the row counter
went crazy. I didn't do much testing, so perhaps I'm wrong (?), but if not,
is this solved now ?
--
Kaare Rasmussen--Linux, spil,--Tlf:3816 2582
Kaki Datatshirts, merchandize Fax:38
of sharing - og Embperl sources. I think that there ought to be a lot
of code out there that could easily be shared. Both snippets, solutions and
projects.
--
Kaare Rasmussen--Linux, spil,--Tlf:3816 2582
Kaki Datatshirts, merchandize Fax:
seems to work; Apache is
running with boh handlers installed.
I do think it's strange though.
--
Kaare Rasmussen--Linux, spil,--Tlf:3816 2582
Kaki Datatshirts, merchandize Fax:3816 2501
Howitzvej 75 Åben 12.00-18.00
on the 2.0
> beta in so long...
I'm holding off myself until 2.0 is finished. I know others do too.
--
Kaare Rasmussen--Linux, spil,--Tlf:3816 2582
Kaki Datatshirts, merchandize Fax:3816 2501
Howitzvej 75 Åben 12.00-18.00
Hi
Any news about the release date of 2.0?
Gerald has been VERY quiet. Possibly too busy with "real" work, but I fear for
Embperl's future.
And I have a project that relies upon 2.0.
--
Kaare Rasmussen--Linux, spil,--Tlf:3816 2582
Kaki Data
(taken a couple of months ago).
--
Kaare Rasmussen--Linux, spil,--Tlf:3816 2582
Kaki Datatshirts, merchandize Fax:3816 2501
Howitzvej 75 Åben 12.00-18.00Email: [EMAIL PROTECTED]
2000 FrederiksbergLørdag 12.00
_out{'Location'} = $fn
But when I reach login.epl, %udat is still fully populated. Does the
relocation have this influence?
--
Kaare Rasmussen--Linux, spil,--Tlf:3816 2582
Kaki Datatshirts, merchandize Fax:3816 2501
Howitzvej 75
of error reporting, even though I
think I call it correctly.
Use of uninitialized value in numeric gt (>) at
/usr/lib/perl5/site_perl/5.6.1/DBIx/Recordset.pm line 3864.
Use of uninitialized value in numeric gt (>) at
/usr/lib/perl5/site_perl/5.6.1/DBIx/Recordset.pm line 3933.
Use of uninitialized
Now I have the pdf file in $var. How do I display it with Embperl?
--
Kaare Rasmussen--Linux, spil,--Tlf:3816 2582
Kaki Datatshirts, merchandize Fax:3816 2501
Howitzvej 75 Åben 12.00-18.00Email: [EMAIL PROTECTED]
20
have to maintain some kind of temporary directory and unique
file names.
Solution 3: EmbPerl will help me somehow
--
Kaare Rasmussen--Linux, spil,--Tlf:3816 2582
Kaki Datatshirts, merchandize Fax:3816 2501
Howitzvej 75 Åben 12.00
Hi
I changed to using VIM version 6.1.150, and now Embperl highlighting went
away.
Does anybody have an idea about what to do?
--
Kaare Rasmussen--Linux, spil,--Tlf:3816 2582
Kaki Datatshirts, merchandize Fax:3816 2501
Howitzvej 75
"[=" changed from 2.0b8 to 2.0b9.
In 2.0b8 [=Update Selected=] will give an error; 2.0b8 expects single quotes:
[='Update Selected'=] . Not so in 2.0b9 from CVS.
Can I tell 2.b8 to do as in 2.0b9?
Or how long time before an official 2.0b9 ?
--
Kaare Rasmussen
Can DBIx::Recordset make this update:
UPDATE table SET col = col + ? WHERE id = ?
If so, how???
--
Kaare Rasmussen--Linux, spil,--Tlf:3816 2582
Kaki Datatshirts, merchandize Fax:3816 2501
Howitzvej 75 Åben 12.00-18.00
[= changed from 2.0b8 to 2.0b9.
In 2.0b8 [=Update Selected=] will give an error. Not so in 2.0b9 from CVS. Can
I tell 2.b8 to do as in 2.0b9?
Or how long time before an official 2.0b9 ?
--
Kaare Rasmussen--Linux, spil,--Tlf:3816 2582
Kaki Data
Hi
I just saw that the talk about Embperl from the ApacheCon 2002 is online
now.
I would like to print it in one swoop and read it at home. Is this possible?
The talk looks great. I've just skimmed it, but I think that it clears up
some of the less documented parts. Thanks.
--
Embperl 2.0b9 will add any SELECT field to the [$hidden$], so it will be
duplicated. If the user chooses an entry with value 1, it will be 1\t1 if I
use [$hidden$].
It did not do that with 2.0b8.
--
Kaare Rasmussen--Linux, spil,--Tlf:3816 2582
Kaki Data
how to display and process the fields to a
subroutine. Getting back from this subroutine I call the update routines.
Will recipes be a better way and if so, why? If not, where can I put recipes
to good use?
--
Kaare Rasmussen--Linux, spil,--Tlf:3816 2582
Kaki Data
Hi
> Use
> '\fieldname'=> "'2003-1-31' + interval '1 month'",
> That tells it not to quote the value, but rely on you to do it.
My Goodness! It works!
Thanks :-)
--
Kaare Rasmussen--Linux, spil,--Tlf:381
Hi
I would like to let the database calculate the correct date, so something
like this should go into the date column:
date '2003-1-31' + interval '1 month'
but DBIx::Recordset does not like this syntax.
Is it at all possible with DBIx::Recordset?
--
Kaare Rasmusse
o put a check for an
empty array, but it seems to bail out already at the table tag in that case.
This is Embperl 2.0b8.
--
Kaare Rasmussen--Linux, spil,--Tlf:3816 2582
Kaki Datatshirts, merchandize Fax:3816 2501
Howitzvej 75
Can I select a function with DBIx::Recordset?
E.g.:
SELECT updateRow(1,2,3,4);
??
I would hate to mix DBD with DBIx::Recordset...
--
Kaare Rasmussen--Linux, spil,--Tlf:3816 2582
Kaki Datatshirts, merchandize Fax:3816 2501
Howitzvej 75
gettext will give you the same text as [= =] does. I would to prefer
...
[$ if $fdat{update} $]
It has a downside too. If I'd like to handle all the submit functions in one
section, the code will look ugly.
But there's a choice :-)
--
Kaare Rasmussen--Linux, spil,--
rect comparison?
--
Kaare Rasmussen--Linux, spil,--Tlf:3816 2582
Kaki Datatshirts, merchandize Fax:3816 2501
Howitzvej 75 Åben 12.00-18.00Email: [EMAIL PROTECTED]
2000 FrederiksbergLørdag 12.00-16.00 Web:
CT_ADDPATH - or otherwise?
--
Kaare Rasmussen--Linux, spil,--Tlf:3816 2582
Kaki Datatshirts, merchandize Fax:3816 2501
Howitzvej 75 Åben 12.00-18.00Web: www.suse.dk
2000 FrederiksbergLørdag 12.00-16.00
re I got the script from:
http://vim.sourceforge.net/script.php?script_id=61
Gerald, you should really point to this (when you have time...). But is this
really the latest and greatest? Does someone use an enhanced version? After
all, it is more than a year old.
--
Kaare Rasmussen
1
The url doesn't work anymore. Is this the latest and greatest in Vim syntax
for Embperl?
--
Kaare Rasmussen--Linux, spil,--Tlf:3816 2582
Kaki Datatshirts, merchandize Fax:3816 2501
Howitzvej 75 Åben 12.00-
will be a
big performance win, but I'd like to know that the installation is optimal.
But another thing re sessions. I'm thinking about adding an "updated" column
and a trigger or something to be able to clean out old unused sessions.
Or does Apache::Session(X) magically keep t
ssion about pro / con for this.
--
Kaare Rasmussen--Linux, spil,--Tlf:3816 2582
Kaki Datatshirts, merchandize Fax:3816 2501
Howitzvej 75 Åben 12.00-18.00Email: [EMAIL PROTECTED]
2000 FrederiksbergLørdag
message about the same problem. I think the answer was to set
the parameters to Postgres Semaphore Base64. I got it to work, but I will
try it out with Null instead of Semaphore.
Not sure about Base64. Is this the best setting?
--
Kaare Rasmussen--Linux, spil,--Tlf:
/usr/lib/perl5/site_perl/5.6.1/Apache/Session/Store/DBI.pm line 42.
Apache/1.3.26 (Unix) Embperl/2.0b8 PHP/4.2.2 mod_perl/1.27 [Mon Sep 23
22:32:28 2002]
Line 42 in DBI.pm is an execute of an insert into the sessions table. Can
anyone help me or offer any hints?
--
Kaare Rasmussen
process the orderlines in a transaction
together with the orderheader. This can only be done when the user accepts
the full order. In the mean time, any changes to orderlines will have to be
volatile. So the idea is to put the array of orderlines into %udat.
--
Kaare Rasmussen
, and then ALL field names
have to be translated.
2. I can't join the same table twice in the same query.
2½. The join and where clauses become where long.
Am I overlooking something, or is this true?
--
Kaare Rasmussen--Linux, spil,--Tlf:3816 2582
Hi
To get things started, it would be nice to have examples for the more
advanced Embperl features like
- How do I use Embperl to develop a MVC application
- How and why do I plug into the application object
- How do I use recipes
and so on. Do these examples exist somewhere?
--
Kaare
on any browser, at least in a basic mode.
So I guess I will have to leave out JS.
--
Kaare Rasmussen--Linux, spil,--Tlf:3816 2582
Kaki Datatshirts, merchandize Fax:3816 2501
Howitzvej 75 Åben 12.00-18.00Email: [EMAIL
as a reminder service :-)
--
Kaare Rasmussen--Linux, spil,--Tlf:3816 2582
Kaki Datatshirts, merchandize Fax:3816 2501
Howitzvej 75 Åben 12.00-18.00Email: [EMAIL PROTECTED]
2000 FrederiksbergLørdag 11.00-17.00
Hi
> Install Apache::DBI and loads it in your httpd.conf before any call to DBI.
> PerlModule Apache::DBI
Thanks. Seems that I've forgotten more than I care to think about :-(
But what about mod_perl 2. Is this still the same?
--
Kaare Rasmussen--Linux, spil,--
using Alzabo (99% sure), but even if I use DBIx::Recordset or
plain DBI, the answer ought to be the same ?
This is a long term solution; I will be using Embperl 2 and mod_perl 2.
Please note if the answer is dependant on this.
--
Kaare Rasmussen--Linux, spil,--Tlf:3816
t's coming
from. I have to use ipcrm to remove it. If I do this, I can get the other
apache server to use sessions, but then the wwwrun-apache won't :-(
Any session specialists here who can tell what to do? Maybe lower the number
of nsems (whatever that is)?? And how?
--
Kaare Rasmusse
are passed on to
page b - but how? Will a fdat entry with the username be secure enough? Or can
a person who knows the username fake it? I believe he can, but how can I make
this secure - I can't validate the password every time page b is called.
--
Kaare Rasmussen--Linux, spil,--
gin information.
I hope someone has done this and will share
Regards,
--
Kaare Rasmussen--Linux, spil,--Tlf:3816 2582
Kaki Datatshirts, merchandize Fax:3816 2582
Howitzvej 75 Åben 14.00-18.00Email: [EMAIL PROTECTED]
200
a redirect, and the browser complains when I try to go from a https
to a normal http page. I would like to avoid this message, which will confuse
the user.
Thanks in advance.
--
Kaare Rasmussen--Linux, spil,--Tlf:3816 2582
Kaki Datatshirts,
Hi
I want to go to another page if some condition arises. I can do this
[- $http_headers_out{'Location'} = "$fdat{Errorpage}" -]
But what if I want to pass a variable? In fact I want the error page to display
the content of a error variable.
Of course it is possible to construct a "GET" type s
I have another problem with Embperl
This construct:
[$ foreach $prod @product $]
[$ if ($prod->{name}) $]
[+ $prod->{name}.'.value*'.$prod->{price}.' +' +]
[$ endif $]
[$ endforeach $]
gives me this error:
[Sat Aug 26 11:09:47 2000] [error] [831]ERR: 38: Line 33: Too few arguments
[Sat A
I have an error somewhere in the HTML code. But it's
bewildering that it only happens when the .epl file is changed and thereby
reloaded.
Btw. it started when I installed 1.3b4. I installed this version to get over
the other strange problem I reported last time...
--
Kaare Rasmussen
pect. I've
tried [+ "-> $fdat{order} <-" +] and other values than "order" that I know
should be there. But it's not there the first time around :-(
--
Kaare Rasmussen--Linux, spil,--Tlf:3816 2582
Kaki Datatshirts, merch
data. And then it works for the time
being; other orders can be made with no problem.
--
Kaare Rasmussen--Linux, spil,--Tlf:3816 2582
Kaki Datatshirts, merchandize Fax:3816 2582
Howitzvej 75 Åben 14.00-18.00Ema
lped on a third problem - when I tried to use
MailFormTo it sent two copies of the email. Now it only sends one!
GrreaaAT!!
--
Kaare Rasmussen--Linux, spil,--Tlf:3816 2582
Kaki Datatshirts, merchandize Fax:3816 2582
Howitzvej 75 Å
5 days, so I will not be able to answer
> any mail before friday
Hm, as always this is something that has to be solved quick.
But I'll send you the pages involved if you'll look at them when you come back.
Maybe there is a special situation here that my page stumbles on.
--
K
To make matters even worse, I discovered that the same page can load correctly
sometimes. Most of the time it returns these faulty angle brackets.
I'm using HTML-Embperl-1.3b3.
--
Kaare Rasmussen--Linux, spil,--Tlf:3816 2582
Kaki Datatshirts, merc
at, I have some
strange results. A page can work perfectly until I reinsert a or an
pair.
Then the page hangs until I push the Stop button.
I just installed the latest Embperl from CPAN, and I'm using Embperlobjects.
What can I do to track the problem down?
--
Kaare Rasmussen
Does anyone know a way to make kwrite highlight Embperl code? It knows a lot
of formats, including html and Perl, so maybe someone has made something for
Embperl?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comman
may not work, but you get the idea.
The problem is that I don't know the javascript until late in my original page,
so how can I let the js_start sub wait until I know what to put in it?
Maybe the answer is straight forward, but I'm too tired to see it now.
--
Kaare Rasmussen
look like it's becoming more application server like, or
at least can be used like that.
--
Kaare Rasmussen--Linux, spil,--Tlf:3816 2582
Kaki Datatshirts, merchandize Fax:3816 2582
Howitzvej 75 Åben 14.00-18.00
I'm considering writing a makeForm function for easy generation of
forms. Input should be some kind of metadata about the fields, rows and
columns in the form. Output should be a working, usable form.
Now, did anyone do something like this before? Surely there must be
several attempt to write a c
to put in startup.pl
use mymodule();
to save time by including all the routines on startup. But if I do so, I can
not access any routines in mymodule. They are simple not known.
Why ?
--
Kaare Rasmussen--Linux, spil,--Tlf:3816 2582
Kaki Datatshi
nLoad can only be used within , that's the
problem.
Btw. Is it possible to have a conditional execution? I want to execute this
subroutine if it exists in the original file, but I don't want an error if it
doesn't.
--
Kaare Rasmussen--Linux, spil,--Tlf:3816
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 Embperl
base connection alive "always". Is
this a feature of Apache::DBI ?
--
Kaare Rasmussen--Linux, spil,--Tlf:3816 2582
Kaki Datatshirts, merchandize Fax:3816 2582
Howitzvej 75 Åben 14.00-18.00Email: [EMAIL PROT
will make only one connect to the database instead
of connecting for each and every query. I believe there must be a simple
solution to this, but it's nowhere to be found in the Embperl dox. Maybe it
belongs somewhere else; could someone give me a pointer to a good place to look?
--
Kaare
I tried the Search example in the Database section of Intro (8) - the one with
a PrevNextForm.
The first 5 rows result only in a Next Record button. Fair enough, why have
more. But the next 5 rows gives the same, no Previous Records button. And now
it will not give me the next 5 rows, only the ro
> You could try the following (I didn't have tried it, but I think it should
> work. Further version of EmbperlObject will have such a mechanisem build in)
It actually works!
And it seems you can do almost anything with it!
--
Kaare Rasmussen--Linux, spil,--
> I think normaly such a page would not contains a tag (or a
> section), because it's already part of the main page.
If you by "main page" mean the template (which I will assume) then it
will IMHO not be fine grained enough for most purposes. As I understand
EmbperlObjects, it can be used as a
> What is the correct value?
Not sure I understand your question, but I'll expand: This is taken from
the example from EO's doxpage:
/foo/base.htm:
('*')
[- Execute ('head.htm') -]
[- Execute ('*') -]
[-
EO is a _very_ nice idea. There is a problem with the title, though,
because why will you want to have the same (or no) title for all your
pages?
If I didn't miss it, there's no way to tell what title to use. I'll
suggest a placeholder in the base web page, something like
('*')
and then in the
/errpage.htm
Output: test/tmp/out.htm
Compared to:test/cmp/errpage.htm
Log:test/tmp/test.log
ERRORS detected! NOT all test have been passed successfully
--
Kaare Rasmussen--Linux, spil,--Tlf:3816 2582
Kaki Datatshirts, merchand
100 matches
Mail list logo