【发布时间】:2012-04-11 02:40:58
【问题描述】:
我正在尝试通过单击按钮来更新计算字段值,该按钮的值是编辑框 + 它自己的值。
按钮上编写的代码:这里我将编辑框的值放在范围变量中,并将编辑框设为空白。 comment_te 是编辑框的名称
requestScope.put("commentValue", getComponent("comments_te").getValue);
getComponent("comments_te").setValue("");
为计算域的值编写的代码:cmets 是计算域的名称
getComponent("comments").getValue + "\n" + requestScope.get("commentValue")
但我得到的输出是: 0 com.ibm.xsp.component.xp.XspInputText@65426542
请帮帮我。
【问题讨论】:
标签: lotus-notes xpages lotus-domino