throw new JspException("Component " + component.getClass().toString() + " does not support" +
" SelectionChange event.");
FacesContext context = FacesContext.getCurrentInstance();
String className = (String) type.getValue(context.getELContext());
try {
SelectionChangeListener changeListener = (SelectionChangeListener) Class.forName(className).newInstance();
((TabSelectionHolder) component).addSelectionListener(changeListener);
} catch (InstantiationException e) {
throw new RuntimeException(e);
} catch (IllegalAccessException e) {
throw new RuntimeException(e);