@Override
	protected Button newButton(final String id)
	{
		return new Button(id)
		{
			/**
			 * The serialVersionUID.
			 */
			private static final long serialVersionUID = 1L;

			/**
			 * {@inheritDoc}
			 */
			@Override
			public void onSubmit()
			{
				getAction().execute();
			}
		};
	}
@ Override protected Button newButton ( final String id ) { return new Button ( id ) { private static final long serialVersionUID = 1L ; @ Override public void onSubmit ( ) { getAction ( ) . execute ( ) ; } } ; }
Factory method for creating a new {@link Button}. This method is invoked in the constructor
from the derived classes and can be overridden so users can provide their own version of a
Button.

@param id
the wicket id
@return the Button