Exception parameters.grid [in template “template/jquery/gridcolumn.ftl”

前端 未结 1 923
眼角桃花
眼角桃花 2021-01-15 00:29

I am trying to make a grid by using Struts 2 jquery grid plugin along with struts jquery plugin and struts json plugin. I am beginner to this.

Here is my JSP code:

1条回答
  •  一个人的身影
    2021-01-15 01:16

    The grid tag shouldn't be self-closed, it should have a body where you put gridCoumn tags.

    The name of the column should be a property of the gridModel, and as a bean's property must be an identifier, i.e. without spaces.

    Grid model should be a list of objects that a reserialized to JSON via invoking an action that you use in href attribute.

    
          
          
    
    

    You can find an example of the grid using the project wiki page for Grid Tag.

    0 讨论(0)
提交回复
热议问题