Search in sources :

Example 6 with TreeGroup

use of net.jforum.util.TreeGroup in project jforum2 by rafaelsteil.

the class CategoryAction method insert.

// One more, one more
public void insert() {
    this.context.put("groups", new TreeGroup().getNodes());
    this.context.put("selectedList", new ArrayList());
    this.setTemplateName(TemplateKeys.CATEGORY_INSERT);
    this.context.put("action", "insertSave");
}
Also used : TreeGroup(net.jforum.util.TreeGroup) ArrayList(java.util.ArrayList)

Example 7 with TreeGroup

use of net.jforum.util.TreeGroup in project jforum2 by rafaelsteil.

the class GroupAction method insert.

// Insert
public void insert() {
    this.context.put("groups", new TreeGroup().getNodes());
    this.context.put("action", "insertSave");
    this.context.put("selectedList", new ArrayList());
    this.setTemplateName(TemplateKeys.GROUP_INSERT);
}
Also used : TreeGroup(net.jforum.util.TreeGroup) ArrayList(java.util.ArrayList)

Aggregations

ArrayList (java.util.ArrayList)7 TreeGroup (net.jforum.util.TreeGroup)7 Iterator (java.util.Iterator)1 List (java.util.List)1 AttachmentDAO (net.jforum.dao.AttachmentDAO)1 CategoryDAO (net.jforum.dao.CategoryDAO)1 GroupDAO (net.jforum.dao.GroupDAO)1 UserDAO (net.jforum.dao.UserDAO)1 Group (net.jforum.entities.Group)1 User (net.jforum.entities.User)1