In some portlets, i use RenderResponse.setTitle(NAME) in doView and doEdit to
personalize windows names.
I think it's the code you need.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4217755#4217755
Reply to the post :
Hi apemberton
For example in portal.xml
display-nameMy portlets/display-name.
If I minimize the above portlet it shows the name My portlets.
But in my dynamic creation portlet i cant set the display name
programatically.(No portal.xml for this portlet everything is generated through
Override the getTitle method in the portlet code, and return your own portlet's
title.
Nota : getTitle is called first, and outside any processAction/doView
operation, depending on how you get your data, you may have to do it twice.
If the name only change only according to page node, you can
Sorry i've never experience that neither in production or testing.
What you can try to do it to have the portlet shown on errors, it would help
you find out what's wrong.
To do so:
See section 6.2.2
http://docs.jboss.com/jbportal/v2.4/reference-guide/en/html/xmldescriptors.html#descriptor_debug
Any stack trace ?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4022955#4022955
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4022955
___
jboss-user mailing list
No stack trace is there. It is not showing any error. just dont show any of the
portlets
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4022972#4022972
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4022972
I never had any report like that neither in the forums or in the professional
support we provide.
Without more information, i cannot tell what's wrong :(
Next time it happens, check if you get the bottom of the HTML page (closing
html).
View the original post :
Another thing to do would be to ask the browser for the HTML source. Sometimes
interesting things are there that do not show up on the display.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4023130#4023130
Reply to the post :