[jboss-user] [JBoss Portal] - Re: portlet doView is called multiple times

2009-08-14 Thread TomHombergs
Have you ever found out what caused the multiple requests? I have the same problem: doView() is called 4 times although the portlet is only included one on the page. What's more: i hacked into the LocaleInterceptor, which intercepts the HttpRequest and resets its locale-setting...it also gets

[jboss-user] [JBoss Portal] - Re: portlet doView is called multiple times

2009-08-14 Thread TomHombergs
Found the reason for mutliple requests on http://www-01.ibm.com/support/docview.wss?uid=swg21242898. Seems to be a general Portal issue and not JBoss-specific: if there is an -Tag on your page which links to a non-existing image, another page request is sent. I found and corrected two such

[jboss-user] [JBoss Portal] - Re: portlet doView is called multiple times

2009-08-14 Thread TomHombergs
read img-Tag instead of -Tag...the forum stripped the html markup View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249634#4249634 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249634

[jboss-user] [JBoss Portal] - Re: portlet doView is called multiple times

2008-04-14 Thread mputz
Is this happening with the default theme/layout, or with a customized one? I've seen multiple renderings with a modified jboss-portal.sar/portal-core.war/layouts/generic/index.jsp, which included the following: - a *.js file with 'document.write(...);' calls - references to images where

[jboss-user] [JBoss Portal] - Re: portlet doView is called multiple times

2008-04-11 Thread jssteux
We have exactly the same problem on JDK 1.5 / JBoss Portal 2.6.4. It concerns only the portlets which are positionned on the default page. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4143397#4143397 Reply to the post :

[jboss-user] [JBoss Portal] - Re: portlet doView is called multiple times

2008-04-11 Thread PeterJ
I placed my portlet on the default page of the default portal, and on the default page of a new portal, and saw only one call. I still think the best bet is to look at the stack trace. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4143459#4143459 Reply to the

[jboss-user] [JBoss Portal] - Re: portlet doView is called multiple times

2008-04-11 Thread PeterJ
One more thought - what framework are you using for your portlet? Spring? Seam? JSF? Struts? My portlet was a simple hello portlet using only JSPs. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4143465#4143465 Reply to the post :

[jboss-user] [JBoss Portal] - Re: portlet doView is called multiple times

2008-04-11 Thread igorroyzis
also simple jsp. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4143481#4143481 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4143481 ___ jboss-user mailing list

[jboss-user] [JBoss Portal] - Re: portlet doView is called multiple times

2008-04-11 Thread igorroyzis
Jean, did you ever figure out what is causing the problem on your default page? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4143482#4143482 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4143482

[jboss-user] [JBoss Portal] - Re: portlet doView is called multiple times

2008-04-09 Thread PeterJ
It must be something about your portlet or configuration. I just tried it with one of my portlets and doView is called only once, even if the portlet is on a page by itself. What version of JBoss Portal? What JVM? Could you post excerpts from the portlet-instances.xml and *-object.xml file,

[jboss-user] [JBoss Portal] - Re: portlet doView is called multiple times

2008-04-09 Thread igorroyzis
Peter, thanks for trying to help. I am using JBoss Portal 2.6.3GA bundled with AS 4.2.1 [ServerInfo] Java version: 1.6.0_03,Sun Microsystems Inc. | deployments |deployment | instance | instance-idMyPortletInstance/instance-id |

[jboss-user] [JBoss Portal] - Re: portlet doView is called multiple times

2008-04-09 Thread PeterJ
I was using Portal 2.6.4 on AS 4.2.2. So I tried again with Portal 2.6.3 on AS 4.2.1. Still seeing only one call to doView. You're using JDK 6. You like living dangerously. ;-) I was using JDK 5, tried with 6. Still only one call to doView. And your configuration files are not much different