WebSphere Portal Server - Pages and Places

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > June 2004 > Pages and Places





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Pages and Places
Johan G

2004-01-19, 3:00 pm

Hi,

I´m using a xml file and the XMLAccess script in portal 5.0 to create places
and pages.
In my xml script I only define the title for one locale.

---
<content-node action="locate" objectid="1" uniquename="GrupoU"/>

<content-node action="update"
uniquename="GrupoU.InformacionCorporativa" ordinal="last"
content-parentref="1" active="true" create-type="explicit" type="label">
<supported-markup markup="html" update="set"/>
<localedata locale="es">
<title>Informacion Corporativa</title>
</localedata>
</content-node>
---


If I then log in to the portal with another locale setting,
the titles of the places and pages are, I guess, the id's ("7_0_HH")

Does someone know how to set a default title for all locales?

regards
/Johan


Oliver Meyer

2004-01-19, 3:00 pm

Johan,

I made a few tests on my 5.0 installation. This is what I found out:

If no title for a language can be found in either the user profile or
the browser, the displayed title is in the default portal language.
For example: My browser language was "es", my user language was "es", my
portal default language was "en". I have a page which has a title for
"en", but no title for "es". The page title was displayed with the title
for locale "en".
Therefore you should make sure that the page has at least a title
defined for the portal default locale.

Oliver

Johan G wrote:
quote:

>
> Hi,
>
> I´m using a xml file and the XMLAccess script in portal 5.0 to create places
> and pages.
> In my xml script I only define the title for one locale.
>
> ---
> <content-node action="locate" objectid="1" uniquename="GrupoU"/>
>
> <content-node action="update"
> uniquename="GrupoU.InformacionCorporativa" ordinal="last"
> content-parentref="1" active="true" create-type="explicit" type="label">
> <supported-markup markup="html" update="set"/>
> <localedata locale="es">
> <title>Informacion Corporativa</title>
> </localedata>
> </content-node>
> ---
>
> If I then log in to the portal with another locale setting,
> the titles of the places and pages are, I guess, the id's ("7_0_HH")
>
> Does someone know how to set a default title for all locales?
>
> regards
> /Johan


Johan G

2004-01-19, 3:00 pm


Perfect!
just what was needed

tanx for your quick answer Oliver!

/j

"Oliver Meyer" <meyer_oliver@gmx.de> wrote in message
news:3F951D62.B30807C0@gmx.de...[QUOTE][color=darkred]
> Johan,
>
> I made a few tests on my 5.0 installation. This is what I found out:
>
> If no title for a language can be found in either the user profile or
> the browser, the displayed title is in the default portal language.
> For example: My browser language was "es", my user language was "es", my
> portal default language was "en". I have a page which has a title for
> "en", but no title for "es". The page title was displayed with the title
> for locale "en".
> Therefore you should make sure that the page has at least a title
> defined for the portal default locale.
>
> Oliver
>
> Johan G wrote:
places[QUOTE][color=darkred]


twgerber

2004-06-16, 5:53 pm

I am looking for an example xmlaccess script to create a series of pages from our current site.

Do you have an example xmlaccess you would be willing to share?

Thx

L D Jones

2004-06-24, 5:57 pm

twgerber wrote:
>
> I am looking for an example xmlaccess script to create a series of pages from our current site.
>
> Do you have an example xmlaccess you would be willing to share?
>
> Thx


The Infocenter has an example called CreatePage.xml. It may be useful
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com