HtmlWriter w = new HtmlWriter(pageContext.getOut());
// Wrap button like an input control
if (getBoolean(embed, false))
{
// the wrapper (only if renderLabel && renderControl are both true)
HtmlTag wrapper = w.startTag( dic.InputWrapperTag());
wrapper.addAttribute("class", dic.InputWrapperClass());
wrapper.beginBody(true);
HtmlTag wrapCtrl = w.startTag( dic.SubmitControlTag());
wrapCtrl.addAttribute("class", dic.SubmitControlClass());