Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9236

Re: Passing Bean in AbstractPortalApplication

$
0
0

Hello Saar,

so my last Question is, I placed the IView of the PortalApplication in the Technical Hidden iViews Container of the Ajax Framework Page and for a nother try in the Masthead Container. In both version there is no functional problem. But the Layout isn't correct.


The iframe class=coverArea, don't has the full width (1325px), while the the coverArea of the logout dialog has the full width (1343px). The picture should show the problem on the right side?


The Logout dialog looks like this.

There is no cap on the right side.


The calculation of the width can be found in the

coverAreaElement.display = function(G) of the afp_ui.js file. The function call attributes = getCoverAreaAttributes( attributes ); where the document.body.scrollWidth is used as width. An ther ist the strange behavior. When it is called the first time, it returns 1325px, but after this call, it returns the correct value of 1343px. It seems, the the body isn't fully loaded. So where do I have to include the IView, that this doesn't happen.


I tried a little hack and call document.body.scrollWidth befor creating the Dialog, but this doesn't do the job. When I debug the script and wait to long, document.body.scrollWidth get me the right width. Any Ideas?


I should mantion, that this is only a IE Problem. In Firefox the coverarea has the right width.


Greetings,

Thomas





Viewing all articles
Browse latest Browse all 9236

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>