end()
190191192193194195196197198199200
trainIsRewinding(cycle, false); form.setFormFieldUpdating(true); writer.beginEmpty("input"); writer.attribute("type", "image"); writer.attribute("name", "fred"); writer.attribute("disabled", "disabled"); writer.attribute("src", "image-url");
236237238239240241242243244245246
trainIsRewinding(cycle, false); form.setFormFieldUpdating(true); writer.beginEmpty("input"); writer.attribute("type", "image"); writer.attribute("name", "barney$0"); writer.attribute("src", "image-url"); writer.closeTag();
7778798081828384858687
"Now is the time\nfor all good men\nto come to the aid of their Tapestry."); expect(cycle.renderStackPush(component)).andReturn(component); writer.print("Now is the time", false); writer.beginEmpty("br"); writer.print("for all good men", false); writer.beginEmpty("br"); writer.print("to come to the aid of their Tapestry.", false); expect(cycle.renderStackPop()).andReturn(component);
7980818283848586878889
expect(cycle.renderStackPush(component)).andReturn(component); writer.print("Now is the time", false); writer.beginEmpty("br"); writer.print("for all good men", false); writer.beginEmpty("br"); writer.print("to come to the aid of their Tapestry.", false); expect(cycle.renderStackPop()).andReturn(component); replay();
135136137138139140141142143144145
new Object[] { "value", "output\n<b>raw</b>", "raw", Boolean.TRUE }); expect(cycle.renderStackPush(component)).andReturn(component); writer.print("output", true); writer.beginEmpty("br"); writer.print("<b>raw</b>", true); expect(cycle.renderStackPop()).andReturn(component); replay();
3536373839404142434445
{ private IMarkupWriter newWriter(String url) { IMarkupWriter writer = newMock(IMarkupWriter.class); writer.beginEmpty("base"); writer.attribute("href", url); writer.printRaw("<!--[if IE]></base><![endif]-->"); writer.println(); return writer;
8990919293949596979899
IRequestCycle cycle = newCycle(false); IAsset asset = newAsset(); trainBuildURL(asset, cycle, "/foo.gif"); writer.beginEmpty("img"); writer.attribute("src", "/foo.gif"); IComponentSpecification spec = newSpec("border", null); IBinding informal = newBinding("0");
371372373374375376377378379380381
cycle.setAttribute(Tapestry.LINK_COMPONENT_ATTRIBUTE_NAME, component); trainIsDisabled(component, false); trainIsRewinding(cycle, false); writer.beginEmpty("xlink"); component.renderAdditionalAttributes(writer, cycle); trainGetLink(component, cycle, link);
254255256257258259260261262263264
); expect(cycle.renderStackPush(component)).andReturn(component); writer.print("Now is the time", false); writer.beginEmpty("br"); writer.print("for all good men", false); writer.beginEmpty("br"); writer.print("to come to the aid of their Tapestry.", false); expect(cycle.renderStackPop()).andReturn(component);
256257258259260261262263264265266