I have a perfectly simple 'SimpleTaglib' based taglib and I have been 
completely stumped in attempting to use the 'childStruct' input attribute.

The simplest reproducible version of the problem is as follows:

My taglib function is:

sub form : struct childStruct($overrides{$fields{$field}})
        {
        return 'use Data::Dumper; warn Dumper(\%_); { foo => "GOT HERE"};';
        }

and in my XSP page:

<fm:form>
        <fm:overrides>
                <fm:fields>
                        <fm:field>qqq</fm:field>
                </fm:fields>
        </fm:overrides>
</fm:form>

and the results of attemplting to process this is:

[Fri May 30 18:45:40 2003] [error] [client 192.168.168.10] [AxKit] [Error] 
AxKit::load_module failed: childStruct specification invalid. Parse error at: 
'}' at 
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Apache/AxKit/Language/XSP/SimpleTaglib.pm
 
line 39.
BEGIN failed--compilation aborted at 
/var/www/xml.home.giantelectronicbrain.com/Marmite/Webapp/GEB/Taglibs/Form.pm 
line 20.
Compilation failed in require at (eval 74) line 1.

I've gone over the docs and examples for SimpleTaglib over and over again and 
I totally fail to understand how this is a bad spec...

Anyone got any bright ideas?

-- 
Tod Harter
Giant Electronic Brain
http://www.giantelectronicbrain.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to