[Fwd: Re: mp2: processing a subrequest with HTML::FillInForm]

2008-08-11 Thread Stephen Howard
Hey list, Here's how I managed to solve it my $subr = $r->lookup_uri( $redirect ); $subr->add_output_filter( My::Filter::build_handler( $cgi, $messages ) ); $subr->run(); build_handler returns a sub which expects to be used like a filter. This way I can build this sub with request-specific

Re: mp2: processing a subrequest with HTML::FillInForm

2008-07-26 Thread Stephen Howard
Hi Mark, The other pages on the site are not broken. I appreciate your attempt to identify an underlying flaw, but that is not the case here, and I am aware of the vagaries of html parsing (which is why I leave it in the capable hands of HTML::FillInForm). My question is how do I create a A

Re: mp2: processing a subrequest with HTML::FillInForm

2008-07-24 Thread Mark Hedges
On Mon, 21 Jul 2008, Stephen Howard wrote: > I have a form validator PerlResponseHandler (using > Data::FormValidator) that needs to repopulate a form upon > failure. Problem is, the original form is not generated > by the handler, but by other pages on the site. My > thinking is that I ought