📄 textinput.cs
字号:
using System;
using log4net;
using NetBpm.Workflow.Delegation;
namespace NetBpm.Workflow.Delegation.Impl.Htmlformatter
{
public class TextInput:AbstractConfigurable, IHtmlFormatter
{
public System.String ObjectToHtml(System.Object valueObject, System.String parameterName, System.Web.HttpRequest request)
{
System.String html = null;
System.String size = "10";
if (GetConfiguration().Contains("size"))
{
size = ((System.String) GetConfiguration()["size"]);
}
System.String text = "";
if (valueObject != null)
text = ((System.String) valueObject);
html = "<input type=text size=" + size + " name=\"" + parameterName + "\" value=\"" + text + "\">";
return html;
}
public System.Object ParseHttpParameter(System.String text, System.Web.HttpRequest request)
{
return text;
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -