From: zei <nu...@jb...> - 2005-06-29 06:29:57
|
and how do I paste in ? sorry for the mess! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883030#3883030 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883030 |
From: zei <nu...@jb...> - 2005-06-29 06:33:13
|
now I see the usage of code: my -pages.xml <portal-name>default</portal-name> <page-name>hello</page-name> <window-name>HelloPortletWindow</window-name> <instance-ref>hello.HelloPortlet.HelloPortletInstance</instance-ref> left 0 <window-name>ContentPortletWindow</window-name> <instance-ref>hello.OwnContentPortlet.ContentPortletInstance</instance-ref> center 0 my portlet.xml <portlet-name>OwnContentPortlet</portlet-name> <portlet-class>org.jboss.portal.core.portlet.cms.ContentPortlet</portlet-class> <mime-type>text/html</mime-type> <portlet-mode>VIEW</portlet-mode> <portlet-info> Content </portlet-info> <portlet-preferences> uri /default/testpage.html </portlet-preferences> View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883032#3883032 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883032 |
From: zei <nu...@jb...> - 2005-06-29 06:34:25
|
still do not know how to use code-tag? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883033#3883033 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883033 |
From: <tho...@jb...> - 2005-06-29 06:50:08
|
You can just click on the buttons, or type the keyword code between brackets. [ code ]my code[/ code] (with no space in the Tags) And please do a preview before you submit. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883034#3883034 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883034 |
From: zei <nu...@jb...> - 2005-06-29 10:44:24
|
Thanks! So finally here is my code: | <portlet> | <portlet-name>OwnContentPortlet</portlet-name> | <portlet-class>org.jboss.portal.core.portlet.cms.ContentPortlet</portlet-class> | <supports> | <mime-type>text/html</mime-type> | <portlet-mode>VIEW</portlet-mode> | </supports> | <portlet-info> | <title>Content</title> | </portlet-info> | <portlet-preferences> | <preference> | <name>uri</name> | <value>/default/testpage.html</value> | </preference> | </portlet-preferences> | </portlet> | | And: | <pages> | <portal-name>default</portal-name> | <page> | <page-name>hello</page-name> | <window> | <window-name>HelloPortletWindow</window-name> | <instance-ref>hello.HelloPortlet.HelloPortletInstance</instance-ref> | <region>left</region> | <height>0</height> | </window> | <window> | <window-name>ContentPortletWindow</window-name> | <instance-ref>hello.OwnContentPortlet.ContentPortletInstance</instance-ref> | <region>center</region> | <height>0</height> | </window> | </page> | </pages> | Can anyone help me? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883056#3883056 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883056 |
From: zei <nu...@jb...> - 2005-06-29 11:10:46
|
I also noticed that I have by mistake written to a wrong forum. Sorry. Admin please remove my message. thanks, zz View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883058#3883058 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883058 |