fragment.setJSPRootPath( JSPRootPath );
	protected void doService( HttpServletRequest request,			HttpServletResponse response ) throws ServletException, IOException	{		ViewerAttributeBean attrBean = (ViewerAttributeBean) request			.getAttribute( "attributeBean" ); //$NON-NLS-1$		assert attrBean != null;		assert parameterGroup != null;		ParameterGroupBean parameterGroupBean = new ParameterGroupBean(				parameterGroup );		attrBean.setParameterBean( parameterGroupBean );		// Display name.		String displayName = parameterGroup.getDisplayName( );		displayName = ( displayName == null || displayName.length( ) <= 0 ) ? parameterGroup				.getName( )				: displayName;		displayName = ParameterAccessor.htmlEncode( displayName );		parameterGroupBean.setDisplayName( displayName );		// Parameters inside group.		Collection fragments = new ArrayList( );		IFragment fragment = null;		for ( Iterator iter = parameterGroup.getParameters( ).iterator( ); iter			.hasNext( ); )		{			Object obj = iter.next( );			if ( obj instanceof ParameterDefinition )			{				ParameterDefinition scalarParameter = (ParameterDefinition) obj;				if ( !scalarParameter.isHidden( ) )				{					switch ( scalarParameter.getControlType( ) )					{						case ParameterDefinition.TEXT_BOX :						{							fragment = new TextBoxParameterFragment( scalarParameter );							break;						}						case ParameterDefinition.LIST_BOX :						{							fragment = new ComboBoxParameterFragment( scalarParameter );							break;						}						case ParameterDefinition.RADIO_BUTTON :						{							fragment = new RadioButtonParameterFragment( scalarParameter );							break;						}						case ParameterDefinition.CHECK_BOX :						{							fragment = new CheckboxParameterFragment( scalarParameter );							break;						}					}				}				if ( fragment != null )				{					fragments.add( fragment );				}			}		}		request.setAttribute( "fragments", fragments ); //$NON-NLS-1$	}