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
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 :
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 :
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 :
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
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
|
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.
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
___
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
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 :
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
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
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
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 :
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 :
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
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
17 matches
Mail list logo