public ActionXslInlineAlert(IExpressionViewModel expressionViewModel)
            : base("Raise Xsl based alert", expressionViewModel)
		{
            WithLabel("Raise alert using Xsl transformation: ");
			_xslTemplateEl = WithElement(new MultiLineTextBoxInputElement(expressionViewModel, "Xsl stylesheet", "Enter Xsl stylesheet", defaultXsl)) as MultiLineTextBoxInputElement;
		}
예제 #2
0
 public ActionHtmlInlineAlert(IExpressionViewModel expressionViewModel)
     : base("Raise Html based alert".Localize(), expressionViewModel)
 {
     WithLabel("Html based alert: ".Localize());
     _htmlTemplateEl = WithElement(new MultiLineTextBoxInputElement(expressionViewModel, "Html".Localize(), "Enter Html".Localize(), defaultHtml)) as MultiLineTextBoxInputElement;
 }
		public ActionHtmlInlineAlert(IExpressionViewModel expressionViewModel)
            : base("Raise Html based alert", expressionViewModel)
		{
            WithLabel("Html based alert: ");
			_htmlTemplateEl = WithElement(new MultiLineTextBoxInputElement(expressionViewModel, "Html", "Enter Html", defaultHtml)) as MultiLineTextBoxInputElement;
		}
 public ActionXslInlineAlert(IExpressionViewModel expressionViewModel)
     : base("Raise Xsl based alert".Localize(), expressionViewModel)
 {
     WithLabel("Raise alert using Xsl transformation: ".Localize());
     _xslTemplateEl = WithElement(new MultiLineTextBoxInputElement(expressionViewModel, "Xsl stylesheet".Localize(), "Enter Xsl stylesheet".Localize(), defaultXsl)) as MultiLineTextBoxInputElement;
 }