@SuppressWarnings("rawtypes")
	private void removeMisleadingType(Slider2 slider) {
		try {
			Method method = getClass().getMethod("getPassThroughAttributes", (Class[]) null);
			if (null != method) {
				Object map = method.invoke(this, (Object[]) null);
				if (null != map) {
					Map attributes = (Map) map;
					if (attributes.containsKey("type"))
						attributes.remove("type");
				}
			}
		} catch (Exception ignoreMe) {
			// we don't really have to care about this error
		}

	}
@ SuppressWarnings ( "rawtypes" ) private void removeMisleadingType ( Slider2 slider ) { try { Method method = getClass ( ) . getMethod ( "getPassThroughAttributes" , ( Class [ ] ) null ) ; if ( null != method ) { Object map = method . invoke ( this , ( Object [ ] ) null ) ; if ( null != map ) { Map attributes = ( Map ) map ; if ( attributes . containsKey ( "type" ) ) attributes . remove ( "type" ) ; } } } catch ( Exception ignoreMe ) { } }
remove wrong type information that may have been added by AngularFaces