you must have only 1 form in yoour page or i.e. 8 MAKES SHIT:
THANK YOU TO ALL THANK YOU TO ALL I LOVE YOU GUYS
<h:form id="form">
<h:commandButton id="hdnBtn" onclick="#{shellManagerBean.resetFilters()}" style="display: none;"/>
<p:growl id="messages" closable="true" />
<p:dialog modal="true" widgetVar="blockPage" showHeader="false"
resizable="false" draggable="false" id="dial"
style="padding-top:0px; padding-bottom:0px; padding-right:0px; padding-left:2px;">
<div style="float: left">
<p:graphicImage value="/resources/images/ajax-loader.gif" />
</div>
<div style="float: left; line-height: 32px; margin-left: 10px;">
<h:outputText value="Loading..." />
</div>
</p:dialog>
<p:panel>
<p:outputLabel value="Host: "> </p:outputLabel>
<p:inputText value="#{shellManagerBean.host}" id="host"> </p:inputText>
<p:outputLabel value=" "> </p:outputLabel>
<p:outputLabel value="Pwd: "> </p:outputLabel>
<h:inputSecret value="#{shellManagerBean.password}" id="password" label="password" />
<p:outputLabel value=" "> </p:outputLabel>
<p:commandButton value="connect" actionListener="#{shellManagerBean.connectToHost()}"
update="execbutton"
onclick="blockPage.show();"
oncomplete="blockPage.hide();" >
</p:commandButton>
<p:outputLabel value=" "> </p:outputLabel>
</p:panel>
<p:panel id="shell" header="Command line shell" style="margin-bottom:10px;">
<p:inputTextarea id="resultCommand" autoResize="false" rows="35" cols="210" minQueryLength="10" value="#{shellManagerBean.textAreaValue}" />
<br/>
<p:commandButton value="Submit"
id="execbutton"
update="resultCommand"
disabled="#{shellManagerBean.disableShell}"
process="@form"
actionListener="#{shellManagerBean.excuteCommand()}"
onclick="blockPage.show();"
oncomplete="blockPage.hide();" />
<p:inputText value="#{shellManagerBean.shellCommand}" id="inputShell" label="Comando da eseguire" style="width:500px;"/>
</p:panel>
</h:form>
</div>