I am having a view like mentioned below and i am adding lot of views dynamically to the contents view and the problem is scrollbar is not getting visible. So i drilled down aa bit and i found that the content's height is not getting updated after i have added the views dynamically.
What am i doing wrong here? The same code is working properly in Openlaszlo 3.3
<view name="wrapper">
<view name="scrollablecontainer"
width="${this.contentwrapper.width > parent.width
? this.contentwrapper.width : parent.width}"
height="${this.contentwrapper.height > parent.height
? this.contentwrapper.height : parent.height}">
<view name="contentwrapper" >
<view name="contents"/>
</view>
</view>
<vscrollbarnew name="vscroll"
height="${this.height}"
pagesize="${this.height}"
visible="${this.scrollable}"/>
</view>
I missed out one thing when the component initializes i am setting contentwrapper width and height to 0.
Runtime : swf Test browser: firefox, windows xp