阅读背景:

GWT使用Django模板设置变量值

来源:互联网 

I am using a tree control in my GWT application. The tree has different items based on the user logged in. One way to populate the tree would be to query the server from my GWT code to get a list of tree items. But since the items will always be shown would it not be better to include information regarding them in the page itself? I am looking for views to achieve this. Would it be possible to get a template engine like django to insert these values into GWT string variables at serving time? Then I can use these string variables to populate the tree. Or is there a better way to achieve this?I am using a tree control in my GWT application




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: