自定义控件的问题-未知属性 [英] Issue with custom control - Unknown property
问题描述
我有一个带有一个属性showDeleteButton的自定义控件。
I have a custom control with one property, showDeleteButton.
- 类型:布尔值
- 编辑器:布尔值
- 必填字段:true
有时,在使用该XPages的XPages中,我会收到此错误消息:
Sporadically I get this error message when building, in the XPages that use it:
未知属性showDeleteButton。它没有在标签xc:ccCommonActions
中定义。我尝试删除自定义控件并重新创建。经过几次构建后,该问题仍然弹出。我可以通过禁用必需的属性,保存,启用,保存,project-> clean来解决此问题。
I've tried deleting the custom control and recreating it. The issue still pops up after a few builds. I can work around the issue by disabling the required property, saving, enabling, saving, project->clean.
有人遇到过此问题/知道什么地方可能出问题了吗?
Have anyone encountered this issue/know what might be wrong?
推荐答案
我已经确定了原因。不久前,我在NSF上测试了源代码控制。不确定它是否正常,但是DDE在VFS中使用我为项目指定的名称创建了一个子文件夹。我删除了该文件夹,到目前为止看起来还可以。
I've nailed the reason. I tested source control on the NSF a while back. Not sure if it's normal, but DDE created a subfolder in the VFS with the name I gave the project. I deleted the folder, and so far it looks like it's ok.
这篇关于自定义控件的问题-未知属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!