Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Component(3)	      User Contributed Perl Documentation	  Component(3)

NAME
       Maypole::Component - Run	Maypole	sub-requests as	components

SYNOPSIS
	 package BeerDB;
	 use base qw(Maypole::Component	Apache::MVC);

	   [% request.component("/beer/view_as_component/20") %]

DESCRIPTION
       This subclass of	Maypole	allows you to integrate	the results of a
       Maypole request into an existing	request. You'll	need to	set up actions
       and templates which return fragments of HTML rather than	entire pages,
       but once	you've done that, you can use the "component" method of	the
       Maypole request object to call those actions. You may pass a query
       string in the usual URL style.  You should not fully qualify the
       Maypole URLs.

SEE ALSO
       http://maypole.simon-cozens.org/

AUTHOR
       Simon Cozens, <simon@cpan.org>

COPYRIGHT AND LICENSE
       Copyright 2004 by Simon Cozens

perl v5.32.0			  2020-08-10			  Component(3)

NAME | SYNOPSIS | DESCRIPTION | SEE ALSO | AUTHOR | COPYRIGHT AND LICENSE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Maypole::Component&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help