1 16 package org.apache.cocoon.forms.formmodel; 17 18 import org.w3c.dom.Element ; 19 import org.apache.cocoon.forms.util.DomHelper; 20 21 27 public class ButtonDefinitionBuilder extends AbstractWidgetDefinitionBuilder { 28 public WidgetDefinition buildWidgetDefinition(Element widgetElement) throws Exception { 29 throw new Exception ("The button widget has been renamed to action. Please update your form definition files. Found at " + DomHelper.getLocation(widgetElement)); 30 } 31 } 32 | Popular Tags |