* methodName), new HiddenField("view", forwardToView), variable == null
* ? null : new HiddenField("variable", variable), };
* Form.createForm(request, buttonTitle, fields, hiddenFields, false);
*/
final String objectId = context.mapObject(object, Scope.INTERACTION);
final String idSegment = idName == null ? "" : ("id=\"" + idName + "\" ");
final String classSegment = "class=\"" + (className == null ? "action in-line" : className) + "\"";
request.appendHtml("\n<form " + idSegment + classSegment + " action=\"action.app\" method=\"post\">\n");
if (objectId == null) {
request.appendHtml(" <input type=\"hidden\" name=\"" + "_" + OBJECT + "\" value=\"" + context.getVariable(RequestContext.RESULT) + "\" />\n");