OW2 Consortium
Search OW2 Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | exoplatform List | January 2008 Index

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

Re: [exoplatform] Changing portlet icons in webos


Hi Cedric,
Sorry for the delay, been pretty busy these last days.
Anyways yes, Trong answered me and i managed to do what i wanted to do.
You can have a look at the result here : http://petals.objectweb.org/demo/exo/exoportlet.htm
Thanxs for your answer anyway!

Max

2008/1/31, Cédric TRAN-XUAN <cedric.tran-xuan@xxxxxxxx>:
Hi,
I've found out how to associate an icon to the portlet in the dockbar.
Let's say you've declared a portlet whose name is HelloWorldPortlet
(<portlet-name>HelloWorldPortlet</portlet-name> in portlet.xml), then
you must create in the root of your war a directory
skin/DefaultSkin/portletIcons and add in your icon
HelloWorldPortlet.png. The name of the icon must be the same as the one
of the portlet and must be a png image.
You can look to the file "UIPageDesktop.gtmpl" around lines 149.
This solution was tested with the sources of January extracted from the
svn trunk.

Cédric.

Cédric TRAN-XUAN a écrit :
> Hi Max,
> Have you found out how to do the icons changing?
>
> Regards,
>
> Cédric.
>
> Max Carpentier a écrit :
>> Hi,
>> I'd like to specify my own icons for the IFrame portlet : this
>> includes the icon in the titlebar of the portlet and the bigger icon
>> in the sweet shortcut bar at the bottom of the webos
>> Any idea ?
>>
>> Regards,
>>
>> Max



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

Reply via email to:

Powered by MHonArc.

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