Web::App::Config - parsing Web::App configuration


Web-App documentation  | view source Contained in the Web-App distribution.

Index


NAME

Top

Web::App::Config - parsing Web::App configuration

DESCRIPTION

Top

Web::App

sub path_from_request

this procedure return screen object and path info.

example:

request is: http://some.com/web-app/admin/article/12345

configuration is:

<config> ... <screens> ... <base-url>/web-app</base-url> ... <screen id='admin'> <presentation type='xslt' filename='not-found.xsl'/> </screen>

	<screen id='admin/article'>
	  <presentation type='xslt' filename='not-found.xsl'/>
	</screen>
	...

  </screens>
</config>

sub return screen object for screen with id = 'admin/article' and path info = '12345'


Web-App documentation  | view source Contained in the Web-App distribution.