且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在数据表中创建可编辑的行

更新时间:2023-12-01 20:01:58

使用jsf创建可编辑数据表非常容易. 这是一个很好的教程.但是,开箱即用不支持在用户单击时使其可编辑".这就是JSF的亮点,您只需找到与您的JSF(1.x或2.x)版本兼容的JSF组件(开放源代码或商业版本)并开始使用它即可.

Creating editable data tables is very easy with jsf. Here is a good tutorial on this. But "making it editable when user clicks on it" is not supported out of the box. And this is where JSF shines, you just need to find for a JSF component (open source or commercial) compatible with your JSF (1.x or 2.x) version and start using it.

我对您的第一个建议是检查并查看PrimeFaces是否提供此类组件. 此处是您要查找的组件.

My first suggestion for you is to check and see if PrimeFaces provides this kind of component. Here is the component you are looking for.