[jboss-user] [JBoss Portal] - JSF and all commandButtons are fired

ameo do-not-reply at jboss.com
Thu Sep 13 08:09:10 EDT 2007


Hello,

I have a jsf-portlet. Now, when I click a commandButton of that jsf all the methos of the underlying Managed-Bean are processed. Why ?

<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<f:view>
	<h:form id="main">
        ..
        <h:commandButton id="b1" type="submit" action="#{Bean.calit}" value="Calculation"/>
        ..
        <h:commandButton id="b2" type="submit" action="#{Bean.calit2}" value="Calculation 2"/>
 </h:form>
</f:view>

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083902#4083902

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083902



More information about the jboss-user mailing list