From: Chris W. <la...@us...> - 2005-01-24 11:09:52
|
Update of /cvsroot/openinteract/OpenInteract2/sample/package In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22663 Modified Files: action.ini Log Message: make the default simpler Index: action.ini =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/sample/package/action.ini,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** action.ini 9 Jun 2003 19:52:06 -0000 1.3 --- action.ini 24 Jan 2005 11:09:42 -0000 1.4 *************** *** 5,13 **** # which to start.) ! # '[% package_name %]' - This is the published tag for this particular action ! # -- the tag specifies how the various pieces of OpenInteract will be ! # able to execute the action. See OpenInteract documentation under ! # 'Action Table'. Note that whatever your key is, it should *ALWAYS* ! # be lower-cased. [[% package_name %]] --- 5,10 ---- # which to start.) ! # '[% package_name %]' - Published name for this action; this is how ! # other parts of OI2 find the action. (Will always be lower-case.) [[% package_name %]] *************** *** 18,65 **** class = OpenInteract2::Action::[% class_name %] ! # task_default - This is the task to assign when none specified in the ! # URL. ! ! task_default = list ! ! # is_secure - Check security for this action or not (normally used ! # only with components). Default is 'no', so if you do not specify ! # 'yes' your action will be unsecured. ! ! is_secure = no ! ! # method - The method in 'class' (above) that will execute the ! # action. If not specified we use the method defined in your ! # application's 'server.perl' file (normally 'handler'). ! ! #method = ! ! # redir - Instead of specifying information for a particular action, ! # you can tell OI to lookup the information from another action. For ! # instance, if you wanted both the '/Person/' and '/People/' URLs to ! # run the same action, you could define the information in 'person' ! # and then put for '/People/' something like: # ! # [people] ! # redir = person ! ! #redir = ! ! # template - You can also specify just a template for an action. It ! # must be in the format 'package::template'. ! #template = ! ! # Box parameters: if you are specifying a box with this action, you ! # can also list the following, which should be intuitive: ! ! #weight = 5 ! #title = ! ! # Use this if the action is defined only by a template, like a box ! #action_type = template_only ! ! # Use this if you'd like the 'lookups' action to handle editing the ! # data it defines (see 'lookup' package docs for more info) ! #action_type = lookup ! ! # TODO: Add directory index parameters, lookup parameters, caching parameters \ No newline at end of file --- 15,23 ---- class = OpenInteract2::Action::[% class_name %] ! # Other keys you might want to investigate - ! # see OpenInteract2::Action for more: # ! # task_default: task to assign when none specified in the URL ! # is_secure: whether Check security for this action or not (default: 'no') ! # method: instead of calling arbitrary routines you can direct all requests to one ! # action_type: base for action; OI2 comes with 'template_only' and 'lookup' |