Hi
 
I found a solution for the JSF - JScrollPane problem. I build a custom
component
with some hidden fields storing the current scrolling position. These
fields are set
by javascript before page submit. After rendering, an onload event
restores the scrolling
position from the hidden fields to the scrolling area. I can even access
the current
scroll position in my backingbean, as the position is a property of my
component.
 
If anybody is interested in the solution, please let me know. I can give
some hints
for implementation...
 
Regards
Mirko
 
________________________________

Von: Sertic Mirko, Bedag [mailto:[EMAIL PROTECTED] 
Gesendet: Donnerstag, 20. September 2007 12:05
An: MyFaces Discussion
Betreff: ScrollPane in MyFaces?



Hi there all! 

I am searching for a kind of JScrollPane component for JSF. I want to
have a scrollable 
area on my page, and i want to restore this scrollable area to it's last
position after a page 
was submitted and rerendered. I tried to twiddle with css and
overflow:auto in combination 
with a div tag. This works very well, but after submit the scroll area
returns to it's top position. 
Is there a MyFaces component available do do a HTML - Scrollpane, or how
would i do that? 

Thanks a lot for any suggestion 
Mirko 

Reply via email to