我正尝试通过编辑框的值+自己的值来更新计算字段值。xpages中的计算字段值
写在按钮上的代码:这里我把编辑框的值放在作用域变量中,并使编辑框为空。 comment_te是编辑框的名称
requestScope.put("commentValue", getComponent("comments_te").getValue);
getComponent("comments_te").setValue("");
为计算字段的值编写的代码:评论是计算领域
getComponent("comments").getValue + "\n" + requestScope.get("commentValue")
的名字,但我得到的输出是: 0 com.ibm.xsp .component.xp.XspInputText @ 65426542
请帮我这个。