Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/sqlite/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Jsf 2 在Websphere中禁用自动代码生成_Jsf 2_Websphere_Websphere Portal - Fatal编程技术网

Jsf 2 在Websphere中禁用自动代码生成

Jsf 2 在Websphere中禁用自动代码生成,jsf-2,websphere,websphere-portal,Jsf 2,Websphere,Websphere Portal,我正在Websphere上开发一个portlet应用程序,每当我对设计(xhtml页面)进行修改时,这真是一个麻烦。所有html组件(加上setter和getter)都会在JavaBean文件中自动生成 我只需要3到4个变量,直接从bean映射到web页面。所有额外生成的代码和导入都是低效的。继续来回重复并重新擦除所有自动生成的代码也是浪费时间。有没有办法禁用此功能 你使用什么IDE?如何调用getter\setter自动生成?您始终只能为所需的字段生成getter\setter。IBM Rat

我正在Websphere上开发一个portlet应用程序,每当我对设计(xhtml页面)进行修改时,这真是一个麻烦。所有html组件(加上setter和getter)都会在JavaBean文件中自动生成


我只需要3到4个变量,直接从bean映射到web页面。所有额外生成的代码和导入都是低效的。继续来回重复并重新擦除所有自动生成的代码也是浪费时间。有没有办法禁用此功能

你使用什么IDE?如何调用getter\setter自动生成?您始终只能为所需的字段生成getter\setter。IBM Rational Application Developer(基于Eclipse)如果有办法在Eclipse中禁用它,那么IBM RAD中也会有该设置。