Search in sources :

Example 1 with PostAction

use of net.jforum.view.forum.PostAction in project jforum2 by rafaelsteil.

the class POPPostAction method insertMessage.

/**
	 * Calls {@link PostAction#insertSave()}
	 * @param m the mail message
	 * @param user the user who's sent the message
	 */
private void insertMessage(POPMessage m, User user) {
    this.addDataToRequest(m, user);
    PostAction postAction = new PostAction(JForumExecutionContext.getRequest(), new SimpleHash());
    postAction.insertSave();
}
Also used : SimpleHash(freemarker.template.SimpleHash) PostAction(net.jforum.view.forum.PostAction)

Aggregations

SimpleHash (freemarker.template.SimpleHash)1 PostAction (net.jforum.view.forum.PostAction)1