ty mholzner for your response :p what i want to do : each portlet in my portal must have their own icon in the left side of their header. so, in my renderset, i have to render the right icon for the right portlet.
to know which icon is set for a portlet, my first idea was to set an init-param for each portlet in the portlet.xml and to read the init-param "icon" in the renderset for each portlet i'am rendering the problem : i have no information about the portlet in windowresult, rendercontext or portletcontext except the generate content fragment of the portlet. first solution : set a property "icon" for each window in -object.xml i can access to the properties so i can render the right icon for the right window and so for the right portlet. the problem of that method (except it's not a clean solution:p) is that i can't change the icon dynamically for my portlet, i have to restart the server if i make a change. for the moment, this solution is acceptable for me but in the near future, i think it will raise some problems. thank you in advance best regards lionel View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932942#3932942 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932942 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
