Oh, man... this pattern really outlines the limits of the language. Can't you extract that into a layout and reuse?