Re: chaining Links ?

2003-08-03 Thread Joshua Spoerri
I don't think this is my case. In the example, table A has field "B_id", but table B has field "C_id_with_another_name". So I don't need a "!Links" parameter for A to B, and of course my B recordset object has a "!Links" parameter connecting B to C, but when A links to B, it is to _the table B_,

Re: Embperl Wishes and comments

2003-08-03 Thread Richard Schilling
As time permits, my employees and I will be adding our notes, findings, tips/tricks/traps as well. We're slow at it though, but it's something we like to do because it helps us answer our own questions and build in-house knowledge. Richard Schilling On 2003.08.03 12:19 Gerald Richter wrote:

Re: Embperl Wishes and comments

2003-08-03 Thread Cameron McBride
On Sun, Aug 03, 2003 at 03:23:57PM -0400, Kee Hinckley wrote: > Yes. Imports and library loads in general are not inherited. That's > also true in EmbperlObject and I find it somewhat of a pain there as > well. I'd like to keep those components as simple as possible, which > means not having

Re: Embperl Wishes and comments

2003-08-03 Thread Kee Hinckley
At 10:42 AM -0700 8/3/03, <[EMAIL PROTECTED]> wrote: file index1.epl: [- Execute ({ inputfile => 'subs.epl', import=>1 }) -] test here some body text [- Execute ({ inputfile => 'footer.epl'}) -] file footer.epl: [- &mysub(); -] I get the again: Undefined subroutine &Embperl::__3::mysub If it

Re: Embperl Wishes and comments

2003-08-03 Thread Gerald Richter
> > file subs.epl: > [- sub mysub {print OUT "hello"; } -] > write [! sub mysub {print OUT "hello"; } !] because [- -] blocks are not executed on import Gerald - To unsubscribe, e-mail: [EMAIL PROTECTED] For addition

Re: Embperl Wishes and comments

2003-08-03 Thread Gerald Richter
> > - Actual documentation is good but I would want to have a best explained > documentation and to have examples Yes this would be great, but writing docs takes a lot of time. I try to do my best, but my time is very limited. Would be great if people could submit patches to the documentation if

Re: behavior of [! !]

2003-08-03 Thread Gerald Richter
> Was reading through the documentation, and don't see too much detail on > the exact differences between [! !] and [- -]. I see that [! !] runs > the code block once. But, it's unclear what "once" means. > Once mean the first time the page is loaded, but be aware it's loaded in every Apache ch

Re: chaining Links ?

2003-08-03 Thread Gerald Richter
Am Freitag, 1. August 2003 02:53 schrieb Joshua Spoerri: > Is it possible to chain Linked tables? > > I would like to do $A{-B}{-C}{someFieldOnC} but the link from table B to > table C is not automatically detectable. > There are some limitation in the implementation of Perl tied hashes, so you

Re: Radio buttons and Embperl Validate

2003-08-03 Thread Gerald Richter
> > I am using Embperl Validation for form fields. One field has a set of radio > buttons, all with the same name, but different values. I'd like to ensure > that at least one of them is clicked. I am using this data structure for > it: > > [-key => 'data', > -name => 'information type'

Re: Embperl::App::DESTROY ?

2003-08-03 Thread Gerald Richter
> I notice the body of xs/Embperl/App/App.xs:Embperl__App_destroy() is > commented out in the 2.0b9 release. > > Is this some left over debugging or is there some problem with this > (auto-generated) function? The DESTROY is not needed, it's only called once at startup after the first pass of par

Re: Single Form - Multiple Destinations

2003-08-03 Thread Gerald Richter
> > Another idea is perhaps having one page that intercepts the form, but > call's an Execute() on sub pages for different functions (refresh and > the other option). > I would go with that approach, because it still works without JavaScript. In case you use Embperl 2 you can use the Application

Re: incompatible epapinit.c file error

2003-08-03 Thread Gerald Richter
> Running into an error when I try to start apache. It seems that I have > an older version of epapinit.c installed, but I can't seem to find an > HTML::Embperl distribution that provides a more current one. I'm > building the latest CVS codebase. > > Here's the error: > > # ../bin/apachectl star

Re: HTML::Embperl dependencies

2003-08-03 Thread Gerald Richter
> As I'm building HTML::Embperl from CVS source, I've taken note of some > PERL module dependencies. I've been installing on a clean Solaris > Box. Didn't see these listed anywhere so I thought I would go ahead > and post them. This may be a partial list: > > ExtUtils-MakeMaker > ExtUtils-XSBuil

Re: problem with xs_generate.pl (FunctionTable.pm missing)

2003-08-03 Thread Gerald Richter
> Can't locate > /export/home/scotts/perl/embperl/xsbuilder/tables/Embperl/FunctionTable.pm > in @INC (@INC contains: /usr/local/lib/perl5/5.8.0/sun4-solaris > > > Where do I get FunctionTable.pm > It's generated by source_scan.pl. Did you run this before? Gerald --

Re: Strange problem with Embperl 2.0b9 + httpd 2.0.40

2003-08-03 Thread Gerald Richter
> > You should not use CGI inside Embperl because it will try to read the > form fields again and conflict with Embperl, and make your app BIG. > Yes, that the problem here > For your escaping use the $req->Escape from Embperl (I don't know if it > is available in Embperl2 - Gerald?). > Yes, it'

Re: Embperl2 and IIS best performance setup

2003-08-03 Thread Gerald Richter
> > Somebody knows what is the configuration for best performance to workt > wiht embperl2and IIS? > Unformutnately the only things that really works on IIS at the moment is running Embperl as CGI (without perliis.dll). Using something like FastCGI or SpeedyCGI would be the best, but I didn't ha

Re: Embperl Wishes and comments

2003-08-03 Thread ckassab
Hi: > What happens if you use > > [$ sub mysub $] > [- print OUT "hello"; -] > [$ endsub $] > > instead? > it works now but if do something more complex like this: file subs.epl: [$ sub mysub $] [- print OUT "hello"; -] [$ endsub $] file index1.epl: [- Execute ({ inputfile => '

Playing with syntax

2003-08-03 Thread ckassab
Hi all: I have been playing with embperl syntax and i found something funny. If you see the file below, i am using embperl with asp syntax, it could be great for ASP people trying to develop aplications in embperl. CKG file test.epl: [$syntax EmbperlBlocks ASP $] this is the title <% $title =

Re: Embperl Wishes and comments

2003-08-03 Thread Kee Hinckley
At 8:26 AM -0700 8/3/03, <[EMAIL PROTECTED]> wrote: > At 10:37 PM -0700 8/2/03, <[EMAIL PROTECTED]> wrote: I know nobody ask for it but i would want to say my wishes. - Embperlobject is great but, is it posible to have for embperl 2 the feature to call subs from other files without using embperl

Re: Embperl Wishes and comments

2003-08-03 Thread ckassab
> At 10:37 PM -0700 8/2/03, <[EMAIL PROTECTED]> wrote: >>I know nobody ask for it but i would want to say my wishes. >> >>- Embperlobject is great but, is it posible to have for embperl 2 the >>feature to call subs from other files without using embperl object? >>maybe it is good to avoid the file

Re: Embperl Wishes and comments

2003-08-03 Thread Kee Hinckley
At 10:37 PM -0700 8/2/03, <[EMAIL PROTECTED]> wrote: I know nobody ask for it but i would want to say my wishes. - Embperlobject is great but, is it posible to have for embperl 2 the feature to call subs from other files without using embperl object? maybe it is good to avoid the file search used