-
1. Re: How to use CMSPortlet to display a page
julien1 Aug 11, 2005 4:58 AM (in response to yxyang)you can use the Content portlet which inherits the CMSPortlet and can display a specific page in the CMS.
The portlet uses an preference called "uri" to fetch the page.
There is an example in the portal-core.war -
2. Re: How to use CMSPortlet to display a page
yxyang Aug 11, 2005 5:04 AM (in response to yxyang)i tried ContentPortlet also.
https://www.mobmeee.com/mobmeeecms?uri=test.html
What do you mean "uri" prefence? Is it just request parameter?
regards
yang -
3. Re: How to use CMSPortlet to display a page
julien1 Aug 11, 2005 5:14 AM (in response to yxyang)preferences in portlet.xml
-
4. Re: How to use CMSPortlet to display a page
yxyang Aug 11, 2005 5:37 AM (in response to yxyang)Thanks. I read the ContentPortlet.java. It seems that the preference uri is hardcode in the portlet.xml, which is used as the default page for the cms window.
What i need is to display a specific page within the content portlet window through specifying a URL from the browser.
Or i misunderstand the concept of cms ?
regards
yang -
5. Re: How to use CMSPortlet to display a page
yxyang Aug 11, 2005 5:44 AM (in response to yxyang)in other words, how does the portal server pass information to the cms/content portlet window to display different content?
Browser (specify what to display) ---> Portal server(decode)--->Content portlet window display.
How to specify a URL from the browser to inform the content portlet to display the specified content?
yang -
6. Re: How to use CMSPortlet to display a page
yxyang Aug 11, 2005 11:30 AM (in response to yxyang)After 5 hours, i found the solution.
As an example for other people who has the same requirement.
https://www.mobmeee.com/index.html?ctrl:id=window.default.MobmeeeCMSPortletWindow&ctrl:type=action&org.jboss.portal%23PATH=/test.html
THe key is the ctri:id and the ctrl:type=action and request parameter org.jboss.portal%23PATH
yang -
7. Re: How to use CMSPortlet to display a page
joyjava Aug 12, 2005 5:51 AM (in response to yxyang)Yxyang, ur website is so cool
I am rebuilding my webiste: http://biible.net
I tried to rebuild and redeploy jboss-portal-2.0, but failed.
What can u remove the portal path?
thx -
8. Re: How to use CMSPortlet to display a page
rafcio Sep 28, 2005 3:50 AM (in response to yxyang)"yxyang" wrote:
i tried ContentPortlet also.
https://www.mobmeee.com/mobmeeecms?uri=test.html
What do you mean "uri" prefence? Is it just request parameter?
regards
yang
Hi,
which hardware you have for your portal? Cause the performance is not so good.
Regards,
Rafal -
9. Re: How to use CMSPortlet to display a page
rafcio Sep 28, 2005 3:51 AM (in response to yxyang)"joyjava" wrote:
Yxyang, ur website is so cool
I am rebuilding my webiste: http://biible.net
I tried to rebuild and redeploy jboss-portal-2.0, but failed.
What can u remove the portal path?
thx
You using Liferay Portal? Which hardware you have? And how many concurrent users?
Best Regards,
Rafal -
10. Re: How to use CMSPortlet to display a page
wbirkhead Sep 30, 2005 3:29 PM (in response to yxyang)I'm using Liferay and I have the same issue. Any ianswers?