Skip to main content

developerWorks >  WebSphere  >  Forums  >  IBM Lotus Widget Factory  >  developerWorks

problem with an onload event    Point your RSS reader here for a feed of the latest messages in this thread


     

 
 

My developerWorks
 Welcome, Guest
Sign in or register
Permlink Replies: 2 - Pages: 1 - Last Post: Nov 11, 2009 3:32 AM Last Post By: rob02 Threads: [ Previous | Next ]
rob02

Posts: 13
Registered: Jul 30, 2009 10:22:34 AM
problem with an onload event
Posted: Nov 10, 2009 04:29:56 AM
Click to report abuse...   Click to reply to this thread Reply
hi,
I've placed an html event action (onload) on a page and it should load a second page in the same browser tag.
It works when I run it alone, but it doesn't work if I deploy it on the mashup center; I've noticed that, looking at the source of the page of the mashup center, the attributes of the body (that define the behaviour with the onload event) do not appear...

any ideas?

thank you!
SteveZag

Posts: 1,107
Registered: May 12, 2006 09:46:29 AM
Re: problem with an onload event
Posted: Nov 10, 2009 10:10:48 AM   in response to: rob02 in response to: rob02's post
Click to report abuse...   Click to reply to this thread Reply
I'm not sure what you mean by 'the same browser tag.' Are you saying that you are just trying to use the onload event as a redirect? That isn't the best way to do it. If you're trying to insert a page in another, then you should use either Inserted Page builder or Model Container. If you are running inside mashups center, then the body tag from the model might get subsumed anyway, so the onload event won't even happen. (I'm not totally sure of this. I know our widgets end up running the bulk of it inside an IFrame, but I'm not sure how the wrapper interacts with the page.)
rob02

Posts: 13
Registered: Jul 30, 2009 10:22:34 AM
Re: problem with an onload event
Posted: Nov 11, 2009 03:32:50 AM   in response to: SteveZag in response to: SteveZag's post
Click to report abuse...   Click to reply to this thread Reply
Hi,
I mean "tab", not "tag"...sorry...

I follow you suggestion; with the Imported Page Container everything works well!

Thank you!
 Tags
Help

Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular type of content or application that you're viewing.

My tags shows your tags for this particular type of content or application that you're viewing.

 

MoreLess 


Point your RSS reader here for a feed of the latest messages in all forums