如何使用Spring Webflow和数字
查看表单上的其他字段<input type="submit" name="_eventId_submit" id="submit" value="Submit" />
<script type="text/javascript">
Spring.addDecoration(new Spring.ElementDecoration(
{
elementId : 'submit',
widgetType : "dijit.form.Button",
widgetModule : "dijit.form.Button"
}));
</script>
<p>
答案 0 :(得分:1)
我将代码更改为以下内容并且有效:
<input type="submit" name="_eventId_submit" id="submit" value="Submit" />
<script type="text/javascript">
Spring.addDecoration(new Spring.ElementDecoration(
{
elementId : 'submit',
widgetType : "dijit.form.Button",
widgetModule : "dijit.form.Button",
widgetAttrs : {
label: "Submit Page",
promptMessage : "Click here to submit page"
}
}));
</script>