TWaver Forums
http://servasoft.com/forum/

twaver web3.0 消息框怎么设置
http://servasoft.com/forum/viewtopic.php?f=15&t=3936
Page 1 of 1

Author:  dawei.wang [ 2013-05-13 9:42 ]
Post subject:  twaver web3.0 消息框怎么设置

大家好:

问下twaver web3.0 消息框怎么设置,代码怎么写?
ResizableNode ele = new ResizableNode();
ele.putMessageContent("2222");
ele.putMessageComponent(TWaverConst.MESSAGE_COMPONENT_LABEL);

这么写,页面上根本不呈现图形,这个代码应该怎么写,谢谢!

Author:  bozai [ 2013-05-13 10:54 ]
Post subject:  Re: twaver web3.0 消息框怎么设置

dawei.wang wrote:
大家好:

问下twaver web3.0 消息框怎么设置,代码怎么写?
ResizableNode ele = new ResizableNode();
ele.putMessageContent("2222");
ele.putMessageComponent(TWaverConst.MESSAGE_COMPONENT_LABEL);

这么写,页面上根本不呈现图形,这个代码应该怎么写,谢谢!


你好,你要让它可见:
node.addAttachment(TWaverConst.ATTACHMENT_MESSAGE);

Author:  dawei.wang [ 2013-05-13 12:53 ]
Post subject:  Re: twaver web3.0 消息框怎么设置

用上面的方法,已经解决,谢谢各位!

Page 1 of 1 All times are UTC + 8 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/