Я хочу установить разные данные, например
SoyMapData dataFormsMenu=new SoyMapData(
"class","menu horizontal",
"caption","",
"id","dfMenu",
"innerContainer","div",
"helper","span",
"items",new SoyListData(
new SoyMapData ("caption", "Manage Dataforms",
"class", "",
"link", "#"),
new SoyMapData("caption", "viewForm",
"class", "",
"link", "#")
));
SoyMapData mainMenu = new SoyMapData(
"class","menu horizontal dropdown",
"caption","",
"id","mainMenu",
"container","div",
"contClass","navigation main left",
"items",captionData);
в объекте модели весны,
model.addattribute("",mainmenu);
model.addattribute("",dfmenu);
как это сделать весной.