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
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

JForums as a JSR-168 Portlet Application

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Hello,

Congratulations on the Java port of phpBB. Do you have any interest in refactoring JForums as a JSR-168 portlet application? I think that would be very beneficial today.

Thanks,
Mete
[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator


I have a friend that every time we talk, he asks me when I will make a JSR 168 port hehehe

As I don't have any plans to port the main jforum project to it, I can consider the possibility to have a parallel project ( ie, a jforum port ) supporting portlets.

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:
  • Report post to moderator
Great! I know one person who has an interest in developing a JSR-168 based forums application and he wants to take a look at JForum. His name is Jeff Linwood and his email is jeff at greenninja dot com
I suggest you email him about that

Also what about having the JSR-168 portlet application as part of the JForum project? So this way the JForum project would have two releases, a non-portlet version of JForum, and a portlet version.

Mete
[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Do you already use response.encodeURL(...) (of HttpServletResponse) for every single URL shown in a webpage in the forum?
Servlets should do this (but can work without doing it), portlets must do this (and won't work without using it)

With kind regards,
Geoffrey
[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator

Anonymous wrote:Do you already use response.encodeURL(...) (of HttpServletResponse) for every single URL shown in a webpage in the forum?
Servlets should do this (but can work without doing it), portlets must do this (and won't work without using it)

With kind regards,
Geoffrey



No, I didn't.

If this may consided a bug, please create a new topic in the Bugs forum, explaining the motivation and where / when it should be used ( just for the record ).

Thanks for the tip.
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:
  • Report post to moderator
I don't think ALL the servlet need that

just the "entry" point need some specific things


[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Well, for a time so far we've been using encodeUrl() for all stuff.

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:
  • Report post to moderator
Does anyone know if JForum is available as a JSR-168 Portlet?
[originally posted on jforum.net by emileb]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
The guys from Jahia made a port. You can get it at http://www.jahia.org/jahia/webdav/shared/portlets/jforum/JForumPortletServlet_beta_2.war

I never tried it, and, as it is not an "official" port, we cannot give any support.

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:
  • Report post to moderator
You can find the source here:

- Modified servlet version with urlencoding for portals which support std servlets:

http://cvspub.jahia.org/cgi-bin/cvsweb.cgi/jforum/

You can easily test it with Jahia by installing the Jahia portal (http://www.jahia.org/jahia/page90.html) and then by deploying the adjusted Jforum WAR file in the adequate Jahia portlet deployment directory: c:\jahia405\tomcat\webapps\jahia\WEB-INF\var\new_webapps\myjahiasite

- Modified JSR168 version:
http://cvspub.jahia.org/cgi-bin/cvsweb.cgi/jforum_JSR168/
Warning: There are still some differences with the previous servlet version. So you may want to make the merges with the version mentionned above in order to have the latest fixes.

Both of them are available under the same license than JForum. No need to buy Jahia. We als developed some kinf of single-sign-on feature in order to automatically reuse existing users within the portal in the forum while at the same time let possible anonymous users get a way to create their Jforum logins.

BTW: Rapha��l, it would be cool if you may check/integrate all/part-of these changes in the main JForum CVS and/or create a JForum Portlet-ready version (or officialy link it to the Jahia CVS as you want). Especially all changes regarding the urlencoding would be great, so this may then ease upgrade and synchronisation of this *unwanted forks* for portal compliance reasons with the main Jforum project on the long run.

Cheers
Stephane
[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator

Rafael Steil wrote:The guys from Jahia made a port. You can get it at http://www.jahia.org/jahia/webdav/shared/portlets/jforum/JForumPortletServlet_beta_2.war

I never tried it, and, as it is not an "official" port, we cannot give any support.

Rafael



I want integrate the JForum as a Portlet in a BEA Portal. It is possible to received the Source of the Jahia JSR 168 Portlet

Thomas
[originally posted on jforum.net by Sigi]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
thanks i test it

Thomas
[originally posted on jforum.net by Sigi]
 
Beauty is in the eye of the tiny ad.
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
    Bookmark Topic Watch Topic
  • New Topic