Description
Currently we are only testing a component id not to be null. However ':' and empty Ids are effectively invalid as well.
Component.java coiuld be modified as follows:
final void setId(final String id)
{
if (!(this instanceof Page))
{
if (Strings.isEmpty(id))
if (id.indexOf(':') != -1)
{ throw new WicketRuntimeException("The component ID must not contain ':' chars."); } }
this.id = id;
}