DataModel: Storage for Users, Items, and preferences.
DataModel:用于存储用户、项目和首选项。
The @DataModel annotation's complement for single-object instances is the @Out annotation.
@DataModel注释对单个对象实例的补充是 @Out 注释。
Taste comes with several different implementations of DataModel for working with files and databases.
Taste提供了一些不同的DataModel实现,用于操作文件和数据库。
As is the case with most USES of Taste, the first step is to load the data containing the recommendations and store it in a DataModel.
这是Taste最为常见的应用,因此首先需要载入包含推荐的数据,并将它存储在一个DataModel中。
Then, the page uses the <df:textarea> component to produce the element that lets the user enter a value for the address property of the dataModel object.
然后,该页面使用 <df:textarea>组件生成元素,该元素会让用户输入dataModel对象的address属性的值。
Then, the application server executes the JSP page, which uses the <c:set> tag of JSTL to store the value of the address parameter into the dataModel bean.
然后,应用服务器执行JSP页面,该页面使用JSTL标记 <c:set> 将address参数的值存储到dataModelbean 中。
You don't have to inspect the request parameters: You simply ask the DataModel (cdModel) which CD has been selected by invoking the cdModel.getRowData() method.
您并不需要对请求参数进行检查:只需要调用cdModel.getRowData()方法向DataModel(cdModel)查询已经选择了哪个CD。
If you choose the DataModel API as your entry point to the row data, then you must expose the DataModel wrapper object as a property of the backing bean, as shown in Listing 4.
如果选择DataModelAPI作为行数据入口点,那么必须将DataModel包装器对象公开为支持bean的属性,如清单4所示。
The ability to save the state of the DataModel, which is important if the data is backed by a database connection since the data in the database may have changed since the last request.
能够保存DataModel的状态,当数据被数据库连接退回时,此功能是很重要的,因为自最后一次请求以来,数据库中的数据可能已经更改。
The ability to save the state of the DataModel, which is important if the data is backed by a database connection since the data in the database may have changed since the last request.
能够保存DataModel的状态,当数据被数据库连接退回时,此功能是很重要的,因为自最后一次请求以来,数据库中的数据可能已经更改。
应用推荐