[jboss-user] [JBoss Portal] - Re: Multiple instance of same portlet on same page

2007-07-23 Thread explorer
Got the same problem that a link tag is not being injected into the header. Any information please? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4066829#4066829 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4066829

[jboss-user] [JBoss Portal] - Re: Multiple instance of same portlet on same page

2007-07-19 Thread brownfielda
I suppose the question should be a bit more specific. When you defer to a JSP does the markup it sends back get used as is? Or does some component parse through that markup and strip out any of those forbidden tags? View the original post :

[jboss-user] [JBoss Portal] - Re: Multiple instance of same portlet on same page

2007-07-19 Thread [EMAIL PROTECTED]
as is. But your browser won't like something like: | html | head/ | body | |html |head/ |body/ | | /body | /html | It's the responsibility of the portlet to be a good citizen of a portal. View the original post :

[jboss-user] [JBoss Portal] - Re: Multiple instance of same portlet on same page

2007-07-18 Thread brownfielda
Hadn't ever thought about this problem. Digging through the portlet spec (as per Thomas' recommendation) found the solution in PLT 22.4. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4065363#4065363 Reply to the post :

[jboss-user] [JBoss Portal] - Re: Multiple instance of same portlet on same page

2007-07-18 Thread kumarkn
Thanks for your reply. I can able to fix the issue by giving the namespace tag. But i have few other problems with mulitple instance of same portlet on same page. I am invoking the javascript before the body tag alert(Test); ... On submit of this form again i am

[jboss-user] [JBoss Portal] - Re: Multiple instance of same portlet on same page

2007-07-18 Thread kumarkn
Thanks for your reply. I can able to fix the issue by giving the namespace tag. But i have few other problems with mulitple instance of same portlet on same page. I am invoking the javascript before the body tag | script language=JavaScript | alert(Test); | /script |

[jboss-user] [JBoss Portal] - Re: Multiple instance of same portlet on same page

2007-07-18 Thread [EMAIL PROTECTED]
Try this and see if its still random | script language=JavaScript |function callOnLoad() |{ |alert(Test); |} | /script | body onload=javascript:callOnLoad(); | ... | /body | Basically making the code execute using DOM events.

[jboss-user] [JBoss Portal] - Re: Multiple instance of same portlet on same page

2007-07-18 Thread kumarkn
Tried with the Onload event but still its not working. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4065468#4065468 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4065468 ___

[jboss-user] [JBoss Portal] - Re: Multiple instance of same portlet on same page

2007-07-18 Thread [EMAIL PROTECTED]
Are you by any chance using the Partial Refresh feature of the Portal? Reason I say that is with Partial Refresh only portions of your page a loaded and the Page is not fully refreshed. If you page is being fully refreshed, the onload event on your body should be getting called Thanks View

[jboss-user] [JBoss Portal] - Re: Multiple instance of same portlet on same page

2007-07-18 Thread kumarkn
No i am not using the partial refresh feature. No one more thing is that the link tag for styles is also not working similar to the javascript. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4065482#4065482 Reply to the post :

[jboss-user] [JBoss Portal] - Re: Multiple instance of same portlet on same page

2007-07-18 Thread [EMAIL PROTECTED]
And this onload javascript works just fine when only one instance of the portlet is placed on the page? At this point you may have to do some javascript debugging on your browser. The part is actually completely independent of what the portlets are doing on the page. The Portlets are just

[jboss-user] [JBoss Portal] - Re: Multiple instance of same portlet on same page

2007-07-18 Thread kumarkn
I did the following for the partial refresh Log in as admin and added the Partial refresh property for that page but disabled the partial refresh by unchecking it.Then log in as the user and copied that particular page to my dashboard. Now everything is working fine. The problem is with the

[jboss-user] [JBoss Portal] - Re: Multiple instance of same portlet on same page

2007-07-18 Thread [EMAIL PROTECTED]
I don't think the onload javascript execution issue has anything to do with the fact you have instances of the same portlet on the same page. This issue is more related to the way AJAX based Partial refresh works, and when that happens, only your pages DOM model is getting updated, but the

[jboss-user] [JBoss Portal] - Re: Multiple instance of same portlet on same page

2007-07-18 Thread brownfielda
Possibly related: The portlet spec says something about disallowed HTML tags. I believe head and body were among them. Is this relevant when using JSP? Maybe dispatcher.include(myJSP.jsp) parses those tags out when returning control to the portlet. View the original post :

[jboss-user] [JBoss Portal] - Re: Multiple instance of same portlet on same page

2007-07-18 Thread [EMAIL PROTECTED]
Well at the end there is a unique HTML page with a unique html, head and body tags. So in your portlet you mustn't produce those tags. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4065548#4065548 Reply to the post :

[jboss-user] [JBoss Portal] - Re: Multiple instance of same portlet on same page

2007-07-17 Thread [EMAIL PROTECTED]
Use a different namespace for your HTML elements. See the portlet spec. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4065190#4065190 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4065190

[jboss-user] [JBoss Portal] - Re: Multiple instance of same portlet on same page

2007-07-17 Thread kumarkn
Added to the above query. Tried to fix the issue by looping through all the forms in the document and get the correct form name and apply the logic. It is working until i submit the form, once submitted the logic goes off. This issue is not happening always, its happening for frequent form