Terminal - Basic

Terminal commands are handled by a server side listener. "greet {text}" and "date" are sample commands.

Welcome to PrimeFaces Terminal, how are you today?
prime $
<h:form>
    <p:focus for="terminal" />

    <p:terminal id="terminal" widgetVar="term" commandHandler="#{termnalBasicView.handleCommand}"
                welcomeMessage="Welcome to PrimeFaces Terminal, how are you today?" />

    <p:commandButton type="button" value="Clear" icon="pi pi-trash" onclick="PF('term').clear()" style="margin-top:10px"/>
</h:form>