Document dom = context.dom();
Element result = dom.createElementNS( Page.XHTML, "div" );
String bookingId = context.path();
UnitOfWork uow = uowf.currentUnitOfWork();
Booking booking = uow.get( Booking.class, bookingId );
Customer customer = booking.customer().get();
createChildNode( dom, result, customer.name().get() );
createChildNode( dom, result, customer.address().get().line1().get() );
createChildNode( dom, result, customer.address().get().line2().get() );
createChildNode( dom, result, customer.address().get().zipCode().get() + " " + customer.address()
.get()
.city()
.get() );
createChildNode( dom, result, customer.address().get().country().get() );
return result;
}