Here {1} indicates receiving the values sent from the previous action through wildcards. For example, you configured <action name = "* crud" class = "example. crud "method =" {1} ">, and then call ***/editcrud. action, the value obtained in the method is edit, and the Edit Method in this action will be called. The method wildcard in action sometimes satisfies certain rules for calling methods in the action, for example, the edit action corresponds to the Edit Method and the delete action corresponds to the delete method. In this case, you can use a method wildcard, for example, <action name = "* crud" class = "example. crud "method =" {1} "> in this case, the reference of editcrud action will call the Edit Method. Similarly, the reference of deletecrud action will call the delete method. Another common method is to use underscores to separate data. For example, <action name = "crud _ *" class = "example. crud "method =" {1} "> in this way, you can find the corresponding method when you encounter the following call. "Action = crud_input" => Input Method "Action = crud_delete" => the delete method wildcard has the same status as the common configuration and can be used together with all other functions of the framework.
References: http://yjph83.blog.163.com/blog/static/551475792008520101617770 /#