This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes JForum and the fly likes create Topic (or forum and post) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "create Topic (or forum and post)" Watch "create Topic (or forum and post)" New topic

create Topic (or forum and post)

Migrated From
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424

I have a problem, I can't create a topic (or post or forum).


it's good, i see "topic : my title" but in the date base not topic

for the forum ad the post it's equals, can you help me for the topic please thx
[originally posted on by mahie]
Migrated From
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
A topic is just meta-data for a post. Just creating a topic will not create a valid set of DB information needed. You need to look at the PostAction.insertSave code to understand the full process for adding a post/topic.

In addition, remember that the cache mechanism is kept in the memory space for the jforum web-app. If you are running this code in another webapp, it will not be reflected in the jforum cache.
[originally posted on by monroe]
I agree. Here's the link:
subject: create Topic (or forum and post)