Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

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

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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]
reply
    Bookmark Topic Watch Topic
  • New Topic