params

params

 英

  • 网络参数;参数数组;参数个数

例句

The first is called shared render parameters and allows portlets to set params that can be read by other portlets.

第一称为共享描述参数”,允许portlet设置其它portlet读取参数

Because this isn't the primary key of the User, you can't use User. get(params. id) as you normally would.

由于不是User所以不能往常那样使用User.get(params.id)。

In this case, TripController redirects you to the list action, passing along all of the parameters (or QueryString) in the params hashmap.

在此TripController重定向list动作同时传递paramshashmap所有参数QueryString)。

This is possible because on some servers, this way the parameter id, as in params[: id], would be nil.

可能因为某些服务器id参数这种方式params[:id]nil

These parameters, like all request parameters in a Grails application, are exposed through the params object.

Grails应用程序所有请求参数一样两个参数通过params对象公开

The custom tag also has an optional params attribute, which can be a single object or an array of objects.

这个定制标记一个params属性可以一个单一对象一个对象数组

The variable named "params" then contains the results of those template applications.

然后params变量包含那些模板应用结果

You'll notice that rather than params, variables are passed using the data field, and the method needs to be specified in lowercase.

也许注意使用params不同这里使用data字段传递变量而且必须使用小写指定方法

Depending on user rights mask have to be disable by params.

根据用户权限掩码参数禁用

Hardcode everything from file system paths to database connection params into the code, instead of providing a configuration file.

一切编码文件系统路径数据库连接参数代码而不是提供一个配置文件

The root element of the document is methodCall, which contains a methodName element and a params element.

文档元素methodCall包含methodName元素params元素

opt_params - A JavaScript object containing additional parameters for the call (the HTTP method and the POST data).

opt_params—一个包含这个调用HTTP方法POST数据额外参数JavaScript对象

Instead, I chose to create a custom Benchmark. Params instance that specifies that only a single measurement should be done.

而是创建一个定制Benchmark.Params实例指定应该执行一次度量

Finally, observe the ftext: set-post-template-params extension element at the end of the transform.

最后观察转换结尾ftext:set-post-template-params扩展元素

The request method in ExtJS takes a single argument, an object with various fields including url, params, method, and success.

ExtJSrequest方法只有一个参数一个包含urlparamsmethodsuccess不同字段对象

They're pulled out of init-params declared in web. xml; see the sample code for details.

它们web.xml声明init-params获得参考示例代码了解细节

It also means that you can check for the presence of params. iata to decide if you should return a list or an instance.

意味可以检查params.iata存在与否决定应该返回列表一个实例

To specify a particular method from overloaded methods, use the method-params element.

指定重载方法特定方法使用method-params元素

It must know a number of variables that are read from the meta-config-params.

必须知道许多变量meta-config-params.xsl文件读取

The input arguments are query, which is the JPQL string; and params, which is the bound parameter values to the query, each indexed by key.

一个JPQL字符串以及params查询绑定参数每个按键索引

The last line, debug(params), is optional.

最后一行debugparams可选

This shows the data model that was turned into XML text, sent across to params. php, then returned into the result tag.

显示转化XML文本发送params.php然后返回result标记数据模型

We've added two functions to our model - params, which loads parameters from the request and save which "saves" the model.

我们模型增加两个函数——params,request加载参数save,“保存模型

The input text field is named id, ensuring that params. id will be populated in the controller.

输入文本字段命名id确保控制器填充params.id。

If both parameters are present (if params. tag and params. category), then things get interesting.

如果参数具备的话比如params.tagparams.category),那么变得有趣

The method call params. pue-trend-dataId[] automatically retrieves the parameter from the URL.

方法调用params.pue-trend-dataId[]自动检索URL参数

Normally the query string gets parsed and stored in params.

通常查询字符串解析存储params

It defaults to undefined, but will be treated as POST by default if there are params in the request.

默认未定义如果请求params将会默认作为POST处理

And now our params hash will be the unserialized JSON request.

那么现在我们参数hash成为不可序列JSON请求

Also, notice the init-params.

此外注意init-params。

Instead, you must use User. findByLogin(params. id).

相反必须使用User.findByLogin(params.id)。

Can't make references to any variables or params, even if seemingly in scope

不能引用任何变量参数即使看起来作用域

Next, adjust the EntryController. list to account for the new params. title value, as shown in Listing 14

接下来调整EntryController.list说明params.title清单14

Constructor getDeclaredConstructor(Class[] params) -- Gets the constructor (regardless of access level) using the specified parameter types

ConstructorgetDeclaredConstructor(Class[]params)--获得使用特定参数类型构造函数接入级别无关

Constructor getConstructor(Class[] params) -- Gets the public constructor using the specified parameter types

ConstructorgetConstructor(Class[]params)--获得使用特殊参数类型公共构造函数

Now, in the index action, replace the single line def airport = new Airport(params. airport) with the code in Listing 20

现在index操作清单20代码替代defairport=newAirport(params.airport)

Replace repetitive arguments with params array

使用参数数组代替重复参数

Method getMethod(String name, Class[] params) -- Gets the named public method using the specified parameter types

MethodgetMethod(Stringname,Class[]params)--使用特定参数类型获得命名公共方法

To edit the init-params in each WAR file (using FileUploader as the example)

每个WAR文件编辑init-params(FileUploader),执行以下操作

Set Key Object Params Filter

设置关键物体参数过滤器