r:panel fragment refactored