You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Ray Clark <rc...@yahoo.com> on 2005/03/07 04:09:50 UTC
Jetspeed displaying the wrong portlet
I'm trying to create my first portlet. I copied the
jsf-demo.psml to create my todoList.psml. It came up
just fine and displayed the jsf-demo::guessNumber jsp.
So I changed the fragment tag to look like this:
<?xml version="1.0" encoding="UTF-8"?>
<!-- todoList -->
<page id="JSFPortlets" hidden="false">
<defaults skin="orange" layout-decorator="tigris"
portlet-decorator="tigris" />
<title>To Do List</title>
<fragment id="todoListportletspage" type="layout"
name="jetspeed::VelocityTwoColumns">
<fragment id="todoListFrag1" type="portlet"
name="todoList::todoList">
<property layout="TwoColumns" name="row"
value="0" />
<property layout="TwoColumns" name="column"
value="0" />
</fragment>
</fragment>
<metadata name="title" xml:lang="ja">
JSF
</metadata>
</page>
The fragment used to have name="jsf-demo::guessNumber"
After I recycle Tomcat the page still comes up with
the jsf-demo:guessNumber jsp in side of my portlet
window.
What do you think I am doing wrong?
Thanks,
Ray
__________________________________
Celebrate Yahoo!'s 10th Birthday!
Yahoo! Netrospective: 100 Moments of the Web
http://birthday.yahoo.com/netrospective/
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
Re: Jetspeed displaying the wrong portlet
Posted by Ray Clark <rc...@yahoo.com>.
Thank you Scott.
That didn't do the trick. I changed the page id to
MyJSFPortlets and I still get the GuessNumber Portlet
with Duke's image. So I'm still not getting my
todoList portlet.
Thanks,
Ray
--- "Scott T. Weaver"
<sc...@binary-designs.net> wrote:
> Hi Ray,
>
> Try changing the page id to something other than
> JSFPortlets, as it
> needs to be unique.
>
> Ray Clark wrote:
>
> >I'm trying to create my first portlet. I copied
> the
> >jsf-demo.psml to create my todoList.psml. It came
> up
> >just fine and displayed the jsf-demo::guessNumber
> jsp.
> > So I changed the fragment tag to look like this:
> >
> ><?xml version="1.0" encoding="UTF-8"?>
> ><!-- todoList -->
> ><page id="JSFPortlets" hidden="false">
> > <defaults skin="orange" layout-decorator="tigris"
> >portlet-decorator="tigris" />
> > <title>To Do List</title>
> > <fragment id="todoListportletspage" type="layout"
> >name="jetspeed::VelocityTwoColumns">
> > <fragment id="todoListFrag1" type="portlet"
> >name="todoList::todoList">
> > <property layout="TwoColumns" name="row"
> >value="0" />
> > <property layout="TwoColumns" name="column"
> >value="0" />
> > </fragment>
>
> >
>
> >
> > </fragment>
> > <metadata name="title" xml:lang="ja">
> > JSF
> > </metadata>
> ></page>
> >
> >The fragment used to have
> name="jsf-demo::guessNumber"
> >
> >After I recycle Tomcat the page still comes up with
> >the jsf-demo:guessNumber jsp in side of my portlet
> >window.
> >
> >What do you think I am doing wrong?
> >
> >Thanks,
> >Ray
> >
> >
> >
> >
> >__________________________________
> >Celebrate Yahoo!'s 10th Birthday!
> >Yahoo! Netrospective: 100 Moments of the Web
> >http://birthday.yahoo.com/netrospective/
> >
>
>---------------------------------------------------------------------
> >To unsubscribe, e-mail:
> jetspeed-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail:
> jetspeed-user-help@jakarta.apache.org
> >
> >
> >
> >
> >
>
>
> --
> "Great minds discuss ideas. Average minds discuss
> events. Small minds discuss people." - Admiral
> Hyman Rickover
>
> *******************************************
> * Scott T. Weaver *
> * <we...@apache.org> *
> * <http://www.einnovation.com> *
> * -------------------------------------- *
> * Apache Jetspeed Enterprise Portal *
> * Apache Pluto Portlet Container *
> * *
> * OpenEdit, Website Content Management *
> * <http://www.openedit.org> *
> *******************************************
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> jetspeed-user-help@jakarta.apache.org
>
>
__________________________________
Celebrate Yahoo!'s 10th Birthday!
Yahoo! Netrospective: 100 Moments of the Web
http://birthday.yahoo.com/netrospective/
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
Re: Jetspeed displaying the wrong portlet
Posted by "Scott T. Weaver" <sc...@binary-designs.net>.
Hi Ray,
Try changing the page id to something other than JSFPortlets, as it
needs to be unique.
Ray Clark wrote:
>I'm trying to create my first portlet. I copied the
>jsf-demo.psml to create my todoList.psml. It came up
>just fine and displayed the jsf-demo::guessNumber jsp.
> So I changed the fragment tag to look like this:
>
><?xml version="1.0" encoding="UTF-8"?>
><!-- todoList -->
><page id="JSFPortlets" hidden="false">
> <defaults skin="orange" layout-decorator="tigris"
>portlet-decorator="tigris" />
> <title>To Do List</title>
> <fragment id="todoListportletspage" type="layout"
>name="jetspeed::VelocityTwoColumns">
> <fragment id="todoListFrag1" type="portlet"
>name="todoList::todoList">
> <property layout="TwoColumns" name="row"
>value="0" />
> <property layout="TwoColumns" name="column"
>value="0" />
> </fragment>
>
>
> </fragment>
> <metadata name="title" xml:lang="ja">
> JSF
> </metadata>
></page>
>
>The fragment used to have name="jsf-demo::guessNumber"
>
>After I recycle Tomcat the page still comes up with
>the jsf-demo:guessNumber jsp in side of my portlet
>window.
>
>What do you think I am doing wrong?
>
>Thanks,
>Ray
>
>
>
>
>__________________________________
>Celebrate Yahoo!'s 10th Birthday!
>Yahoo! Netrospective: 100 Moments of the Web
>http://birthday.yahoo.com/netrospective/
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>
>
>
>
>
--
"Great minds discuss ideas. Average minds discuss events. Small minds discuss people." - Admiral Hyman Rickover
*******************************************
* Scott T. Weaver *
* <we...@apache.org> *
* <http://www.einnovation.com> *
* -------------------------------------- *
* Apache Jetspeed Enterprise Portal *
* Apache Pluto Portlet Container *
* *
* OpenEdit, Website Content Management *
* <http://www.openedit.org> *
*******************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org