NAME
OpenInteract2::ActionResolver::NameAndTask - Create an action from the URL's initial path and optional task
SYNOPSIS
# create the 'news' action
http://.../news/
# create the 'news' action and assign 'display' task
http://.../news/display/
# same as above, but assigning '63783' as the first
# 'param_url_additional()' request property
http://.../news/display/63783/
DESCRIPTION
This is the most often used action resolver in OpenInteract2
OBJECT METHODS
resolve( $request, $url )
Creates the action given the initial item in the URL's path. If the action named there isn't available we just return undef and let someone else handle it.
Additionally, if the URL's path contains additional items we use the first of those for the action's task.
SEE ALSO
COPYRIGHT
Copyright (c) 2005 Chris Winters. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
AUTHORS
Chris Winters <chris@cwinters.com>