src/main/java/org/efaps/ui/wicket/models/field/UICmdField.java
public String getRenderedContent(final String _script,
                                     final Map<String, String> _uiID2Oid)
        throws EFapsException
    {
        this.executionStatus = UICmdField.ExecutionStatus.RENDER;
        final StringBuilder snip = new StringBuilder();
        final List<Return> returns = executeEvents(_script, _uiID2Oid);
        for (final Return oneReturn : returns) {
            if (oneReturn.contains(ReturnValues.SNIPLETT)) {
                snip.append(oneReturn.get(ReturnValues.SNIPLETT));
            }
        }
        this.executionStatus = null;
        return snip.toString();
    }
public String getRenderedContent(final String _script,
                                     final Map<String, String> _uiID2Oid)
        throws EFapsException
    {
        this.executionStatus = UICmdField.ExecutionStatus.RENDER;
        final StringBuilder snip = new StringBuilder();
        final List<Return> returns = executeEvents(_script, _uiID2Oid);
        for (final Return oneReturn : returns) {
            if (oneReturn.contains(ReturnValues.SNIPLETT)) {
                snip.append(oneReturn.get(ReturnValues.SNIPLETT));
            }
        }
        this.executionStatus = null;
        return snip.toString();
    }
Get the script to render the content for the UserInterface in case that
not a standard button should be rendered.

@param _script additional script from the UserInterface
@param _uiID2Oid the ui i d2 oid
@return html snipplet
@throws EFapsException on error