src/main/java/org/efaps/ui/wicket/models/objects/grid/UIGrid.java
public static File print(final UIGrid _uiGrid)
    {
        File ret = null;
        final String clazzName = Configuration.getAttribute(ConfigAttribute.GRIDPRINTESJP);
        try {
            UIGrid.LOG.debug("Print method executed for {}", _uiGrid);

            final Class<?> clazz = Class.forName(clazzName, false, EFapsClassLoader.getInstance());
            final EventExecution event = (EventExecution) clazz.newInstance();
            final Parameter param = new Parameter();
            param.put(ParameterValues.PARAMETERS, Context.getThreadContext().getParameters());
            param.put(ParameterValues.CLASS, _uiGrid);
            final Return retu = event.execute(param);
            if (retu != null) {
                ret = (File) retu.get(ReturnValues.VALUES);
            }
        } catch (final ClassNotFoundException | InstantiationException | IllegalAccessException e) {
            UIGrid.LOG.error("Catched", e);
        } catch (final EFapsException e) {
            UIGrid.LOG.error("Catched", e);
        }
        return ret;
    }
public static File print(final UIGrid _uiGrid)
    {
        File ret = null;
        final String clazzName = Configuration.getAttribute(ConfigAttribute.GRIDPRINTESJP);
        try {
            UIGrid.LOG.debug("Print method executed for {}", _uiGrid);

            final Class<?> clazz = Class.forName(clazzName, false, EFapsClassLoader.getInstance());
            final EventExecution event = (EventExecution) clazz.newInstance();
            final Parameter param = new Parameter();
            param.put(ParameterValues.PARAMETERS, Context.getThreadContext().getParameters());
            param.put(ParameterValues.CLASS, _uiGrid);
            final Return retu = event.execute(param);
            if (retu != null) {
                ret = (File) retu.get(ReturnValues.VALUES);
            }
        } catch (final ClassNotFoundException | InstantiationException | IllegalAccessException e) {
            UIGrid.LOG.error("Catched", e);
        } catch (final EFapsException e) {
            UIGrid.LOG.error("Catched", e);
        }
        return ret;
    }
Prints the.

@param _uiGrid the ui grid
@return the file