简体   繁体   English

Java-Spring-Hibernate:如何保存过滤器,之后如何使用它?

[英]Java-Spring-Hibernate: How can I save a filter and, afterward, how could I use it?

I receive a task for a project which uses Spring, Hibernate and Wicket. 我收到一个使用Spring,Hibernate和Wicket的项目的任务。

In a particular HTML page I must have the possibility to create a filter(set the name of the filter and its parameters). 在特定的HTML页面中,我必须可以创建过滤器(设置过滤器的名称及其参数)。 I must create a list of filters in this way. 我必须以这种方式创建过滤器列表。 In the same time, I must have the possibility to edit and delete the filter, and of course, to use that filter. 同时,我必须可以编辑和删除过滤器,当然也可以使用该过滤器。

Any ideas? 有任何想法吗? How could I do this? 我该怎么办?

if you're looking for a component to edit a list of items, then this might help: Building a ListEditor form component 如果您正在寻找一个组件来编辑项目列表,那么这可能会有所帮助: 构建ListEditor表单组件
you can use spring hibernate (or other ORM's) support to retrieve the data for your model without too much hassle. 您可以使用Spring Hibernate(或其他ORM)支持来检索模型的数据,而不必太麻烦。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM