package com.sksamuel.jqm4gwt.form.elements;

/**
 * @author Stephen K Samuel samspade79@gmail.com 18 May 2011 04:17:45
 * 
 *         Text element specialised for telephone number
 * 
 */
public class JQMTelephone extends JQMText {

	/**
	 * Creates a new {@link JQMTelephone} with no label text
	 */
	public JQMTelephone() {
		this(null);
	}

	/**
	 * Creates a new {@link JQMTelephone} with the given label text
	 * 
	 * @param text
	 *              the text to use for the label
	 */
	public JQMTelephone(String text) {
		super(text);
		setType("tel");
	}

}

@@ -40,16 +40,72 @@
 nts;%0D%0A%0D%0A
+import com.google.gwt.uibinder.client.UiConstructor;%0D%0A%0D%0A
 /**%0D%0A * 
@@ -559,32 +559,52 @@
 %0D%0A%09 */%0D%0A%09public 
+@UiConstructor%0D%0A    
 JQMTelephone(Str

improve uibinder constructor to require telephone label text (even if empty)