Object[] contextArray = _context == null ? new Object[0] : _context.toArray();
_resources.triggerEvent(PREPARE, contextArray, null);
Link link = _resources.createActionLink(TapestryConstants.ACTION_EVENT, true, contextArray);
writer.element("form", "name", _name, "id", _name, "method", "post", "action", link);
_resources.renderInformalParameters(writer);
_div = writer.element("div", "class", "t-invisible");
for (String parameterName : link.getParameterNames())
{
String value = link.getParameterValue(parameterName);
writer.element("input", "type", "hidden", "name", parameterName, "value", value);
writer.end();
}