public final < U > void addPartial ( HtmlView < U > partial , U model ) { getVisitor ( ) . closeBeginTag ( ) ; partial . getVisitor ( ) . depth = getVisitor ( ) . depth ; if ( this . getVisitor ( ) . isWriting ( ) ) getVisitor ( ) . write ( partial . render ( model ) ) ; }
Adds a partial view to this view .