if ( !excludes.contains(name) ) {
if ( !excludes.contains(name) && !CollectionUtil.empty(values)  ) {
    public int doEndTag() throws JspException {        // Figure out the list of parameters we should not include        FormTag form = getParentTag(FormTag.class);        Set<String> excludes = new HashSet<String>();        excludes.addAll( form.getRegisteredFields() );        excludes.add( StripesConstants.URL_KEY_SOURCE_PAGE );        excludes.add( StripesConstants.URL_KEY_FIELDS_PRESENT );        // Use the submitted action bean to eliminate any event related parameters        ActionBean submittedActionBean = (ActionBean)                getPageContext().getRequest().getAttribute(StripesConstants.REQ_ATTR_ACTION_BEAN);        if (submittedActionBean != null) {            String eventName = submittedActionBean.getContext().getEventName();            if (eventName != null) {                excludes.add(eventName);                excludes.add(eventName + ".x");                excludes.add(eventName + ".y");            }        }        // Now get the action bean on this form        ActionBean actionBean = form.getActionBean();        // If current form only is not specified, go ahead, otherwise check that        // the current form had an ActionBean attached - which indicates that the        // last submit was to the same form/action as this form        if (!isCurrentFormOnly() || actionBean != null) {            // Set up a hidde tag to do the writing for us            InputHiddenTag hidden = new InputHiddenTag();            hidden.setPageContext( getPageContext() );            hidden.setParent( getParent() );            // Loop through the request parameters and output the values            Enumeration<String> parameterNames = getPageContext().getRequest().getParameterNames();            while ( parameterNames.hasMoreElements() ) {                String name = parameterNames.nextElement();                if ( !excludes.contains(name) ) {                    hidden.setName(name);                    try {                        hidden.doStartTag();                        hidden.doAfterBody();                        hidden.doEndTag();                    }                    catch (Throwable t) {                        /** Catch whatever comes back out of the doCatch() method and deal with it */                        try { hidden.doCatch(t); }                        catch (Throwable t2) {                            if (t2 instanceof JspException) throw (JspException) t2;                            if (t2 instanceof RuntimeException) throw (RuntimeException) t2;                            else throw new StripesJspException(t2);                        }                    }                    finally {                        hidden.doFinally();                    }                }            }        }        return EVAL_PAGE;    }