2013-09-28 20 views
1

基于GWT ShowCase示例(http://gwt.googleusercontent.com/samples/Showcase/Showcase.html#!CwCookies),我们只能将一对String名称 - 字符串值存储到Cookies。如何使用Cookie在GWT中存储字符串数组列表?

如果我们想要存储三元组(例如(String ItemName,String ItemID,String CompanyID))会怎样?甚至是Foursome,FiveSome,SixSome ......的信息?

我们不能在GWT的Cookie设置字符串数组为值

Cookies.setCookie(name, value, expires); 

那么如何使用GWT饼干在这种情况下?

回答

相关问题