Xpages“按类别名称过滤"具有两个字段值(将视图限制为多个类别) [英] Xpages "filter by category name" with two fields values (Restricting a View to Multiple Categories)

查看:26
本文介绍了Xpages“按类别名称过滤"具有两个字段值(将视图限制为多个类别)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想设计一个仅显示选定客户和服务项目的视图,因此我创建了一个对客户和服务列进行分类的视图以及该视图的视图面板.如果我把document1.getDocument().getItemValueString("客户")

I want to design a view that display only projects of selected customer and services, so I created a view that customer and service columns are categorized and a view panel for this view. If I put document1.getDocument().getItemValueString("Customer")

它适用于限制单个类别.我如何使用两个分类列来做到这一点.

it works with a restrict single category. How I can do this with tow categorized columns.

提前致谢

推荐答案

谢谢大家

我创建了一个视图,第一列是分类的,它的值是客户+服务,然后把

I created a view that the first column is categorized and its value is Customer+Service then put

document1.getDocument().getItemValueString("Customer") + document1.getDocument().getItemValueString("Service")

document1.getDocument().getItemValueString("Customer") + document1.getDocument().getItemValueString("Service")

在视图面板的按类别名称过滤"中,它现在可以工作了.

in "filter by category name" of view panel it works now.

这篇关于Xpages“按类别名称过滤"具有两个字段值(将视图限制为多个类别)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆