Jonas MzH | : | Hey everybody, |
I would like to integrate a new function for my project: | ||
An applet knows the messageID or the userID, who posted an entry in the forum. This ID is sent to a servlet which now should build up an url to view this specific post or (if it was an userID) a summary of posts by this user. | ||
After this works I want implement wiki and blog support as well. | ||
For forum entries it works fine with this url: http://yourserver.domain/c/message_boards/find_message?messageId=xxxxxxxxxx (xxxxxx the given post id) | ||
But if I want to differentiate between forum posts and users I got a problem. | ||
I looked up in the database structure and found the table "MetadataEntry" but there are only the first posts of wiki and forum entries, no answers. | ||
So, now I ask you, if there is any kind of solution in order to implement this differentation. | ||
Best regards, Jonas | ||
P.S.: I'm using Liferay Portal 5.2.3 on a tomcat server. | ||
Structure: | ||
Applet (collects wiki and forum entries [by id] and their posters [by id]) => Servlet (recieves ID and should build an url to directly view this forum entry, blog or forum post, or posts by user [depending on ID]) | ||
Mazhar Anwar | : | Hi, |
You can use classNameId for differentiating different content type and based on classNameId you can generate the complete url for Blogs, Messages, Wikis, Users, Documents, etc. | ||
Please check the className_ table in liferay Database. | ||
Regards, Mazhar |
Laliwala IT services offers 35+ enterprise open source online Training and Website Development Services. We offer various Training from popular open source stack like JBoss SOA Training, Alfresco Training, JBoss JBPM Training, Mule ESB Training, Activiti BPM Training, Apache Solr Training, Spring Training Course, Cloud Computing AWS Training, Apache Camel Training, Jboss ESB Training and many more.....(Call Now +91 9904245322)
Monday, February 21, 2011
Building URL depending on content type (wiki, blog, forum), messageid, userid, servlet, liferay implement, implement wiki, blog, blog support, liferay
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment