Christine wrote:
Ate Douma wrote:
It can also be helpful to check with the Portal Site Manager portlet
(under "Jetspeed Administrative Portlets") where you can see all
*loaded* pages (requires admin user/role to access).
The page is not loaded, it's not visible. I thought I was following the
tutorial at
http://portals.apache.org/jetspeed-2/tutorial/03/tutorial-psml.html
but apparently, I did something different. This is my default-page.psml
in the tutorial folder in WEB-INF/pages
<?xml version="1.0" encoding="UTF-8"?>
<page>
<defaults layout-decorator="jetexpress"
portlet-decorator="jetexpress"
skin="jetexpress"/>
<title>JetExpress Tutorials</title>
<url>/tutorial</url>
<short-title>Tutorials</short-title>
<fragment id="tutorial-100" type="layout"
name="jetspeed-layouts::VelocityTwoColumns"> <fragment
id="express-101" type="portlet" name="jetexpress-pa::BonjourMonde"/>
<fragment id="express-102" type="portlet"
name="jetexpress-pa::TutorialPortlet2"/>
</fragment>
</page>
I have a folder.metadata in the same folder:
<?xml version="1.0" encoding="UTF-8"?>
<folder>
<title >Tutorial</title> <metadata name="title"
xml:lang="fr">Autodidacte</metadata>
<metadata name="title" xml:lang="en">Tutorial</metadata>
<security-constraints>
<security-constraints-ref>public-edit</security-constraints-ref>
</security-constraints>
</folder>
In jetspeed.log there's error messages about a bookmark portlet, nothing
else. in eht localhost-{todays date} log there's no errors.
It's just the page "Tutorial" that doesn't show up on my page.
Seems to me you followed the instructions correctly and I don't see anything
wrong with the above definitions either.
As the
screenshot shows, it should be a link underneath "Public folders".
So
either the page and it's portlets are running in a parallel universe, or
- most likely - I have overlooked something, or the tutorial itself has
overlooked something.
To be honest, I haven't run the tutorial myself yet with the Jetspeed 2.2.0
release, so it could be something within the tutorial, sure.
But I did just *read* the instructions again and I can't see anything wrong
with it.
To be sure however, I will need to actually run it. I don't have time to do so
now, but will try this evening.
However, as you had some build problems as well, including corrupted jars etc., it might be useful to validate (just) these files against a
downloadable Jetspeed demo portal installation, see: http://portals.apache.org/jetspeed-2/download.html
By just copying the Tutorial folder into the <demo installation folder>/pages (it is *not* under webapps/jetspeed/WEB-INF/pages) and run the
demo, the folder and the page should show up when you log in as user/user.
(you'll get error message about unavailable jetexpress-pa portlets but those
are to be expected and OK)
If it works there, you tutorial portal build might be somehow further broken...
Other than this, the tutorial and the documentation are a great way to
get to know Jetspeed quickly. I like Apache projects.
Thanks :)
Ate
dagdag
Christine
If it still is unclear, maybe copy/paste the page definition here.
Groet,
Ate
dagdag
Christine
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]