* Returns null if the {@link #test()} is true, which allows normal rendering (of the body). If the test parameter
* is false, returns the else parameter (this may also be null).
*/
Object beginRender(MarkupWriter writer)
{
Block toRender = test() ? resources.getBody() : elseBlock;
String elementName = resources.getElementName();
renderTag = toRender != null && elementName != null;