I'm afraid it's not supported in 3.5. Try using Primefaces 4.0 - User Guides. Use css
.myComponent(
position: fixed;
)
and some jQuery to simulate similar behaviour. Here's some JS code snippet that I wrote a while ago to do just that.
$(document).on("scroll", function(){
if($(document).scrollTop() >= 180){
$('.header').css({'position': 'fixed'});
$('#mainBody').css('margin-top', '182px');
} else {
$('.header').css({'position': 'relative'});
$('#mainBody').css('margin-top', '110px');
}
}