OW2 Consortium
Search OW2 Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | exoplatform List | August 2006 Index

<--  Date Index  --> <--  Thread Index  -->

Re: [exoplatform] 2 Content browses with the same ID in 2 p ages!


1) I added 2 content browsers into 2 different pages, but the 2 browsers use the same ID. So they show the same contents in 2 pages! And I really pussled that it would get a random ID when I add a second content browser into the same page.

You must ensure to use the "uuid" algorithm and not the "exo" one in the configuration.xml file of your portal if you want each portlet to have a unique window id. By default exo is used and only one ID is used for portlets, that is used for our web unit tests.


<configuration>
<!--
ID genrator for the new component such UIPortlet , UIPage , UIContainer. Use "uuid" for
your production portal as the generator will generate an unique id for each new component base
on the time , ip address of the server and a randoom number. Use "exo" to generate some predictable
ID base on the portlet name , page name and container name. It is useful to have some predictable
id for the exo web unit test. The "exo" algorithm will return the portlet name , page name and
container as the id if there is no component use that id in the UIPortal yet, otherwise it return
a uuid id for the new component.
-->
<component>
<type>org.exoplatform.portal.faces.component.PortalComponentIDGenerator< /type>
<init-params>
<value-param>
<name>algorithm</name>
<value>exo</value>
</value-param>
</init-params>
</component>




BTW, to build a portal which porlet can show the content except Content Browser in ECM?

DisplatStaticContent can also, it is part of eXo Portal product and not eXo ECM one






2) As I am in China, Chinese contents are essential. But the ECM cannot show Chinese in right way. How can I solve it?



Thanks and regards
Paul


--
You receive this message as a subscriber of the exoplatform@xxxxxxxxxxxxx mailing list.
To unsubscribe: mailto:exoplatform-unsubscribe@xxxxxxxxxxxxx
For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/ wws




<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 2006-2007, OW2 Consortium | contact | webmaster.