aspose file tools*
The moose likes JForum and the fly likes Embedding JForum 3 into existing site with the new taglibs, possible? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JForum
Bookmark "Embedding JForum 3 into existing site with the new taglibs, possible?" Watch "Embedding JForum 3 into existing site with the new taglibs, possible?" New topic
Author

Embedding JForum 3 into existing site with the new taglibs, possible?

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Hi,

I know that JForum has been built using tag libs and I can see in the code quite a few TagLibs, my question is.. Is it possible to display the full features of JForum in existing pages by use of the taglibs alone?

Thanks,
[originally posted on jforum.net by David Rocks]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Having looked through the code I can see that the taglibs were not written the way I hoped.

Ideally there would have been a set of taglibs that could be dropped into exising pages like.

<JForum.userLogin/>

<JForum.topicList/>

<JForum.postList/>

<JForum.postNew/>

<JForum.showPM/>

<JForum.PMNew/>

etc. Then adding the foum to a site would be a 10 minute job. The html could be defined in a template file.

Just now we have taken the decision to modify the actions to be Struts2 and take out spring, mainly to be inline with out current pages but spring is OTT, a simple session in view would suffice. I dont think transactions are really needed in this type of application, it's not a banking system
[originally posted on jforum.net by David Rocks]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
This is something that can be worked on. What you say of helping us on that?

Rafael
[originally posted on jforum.net by Rafael Steil]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Yea, I could help out on that, but probably not until January though.

I'm working on a 'social network' type site during my spare time and it has to be in beta for the end of December. After that I have 3 months to get it 'right' and that will probably involve a 'proper' integration with the forum, not the hack i'm doing just now.

Potentially you could reduce the amount of actions down massively by concentrating all the view into tags and keeping the actions for just data input. I think your end game would be to make the forum easily integratable with any front end technology that uses JSPs.

Seeing as thoough my contract in this bank finishes in mid January I might have a lot of time to play with.
[originally posted on jforum.net by David Rocks]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Embedding JForum 3 into existing site with the new taglibs, possible?