This content has been marked as final.
Show 4 replies
-
1. Re: JSF and all commandButtons are fired
den74 Sep 19, 2007 3:53 AM (in response to ameo)i think you have wrong something in declaration. The right one is:
<h:commandButton action="#{Bean.calit}" value="#{Calculation}"/>
you don't need to specify type="submit" -
2. Re: JSF and all commandButtons are fired
ameo Sep 20, 2007 4:28 AM (in response to ameo)"den74" wrote:
<h:commandButton action="#{Bean.calit}" value="#{Calculation}"/>
Thanks for answer!
The value attribute of the commandButton can be a literal text or a value-binding expression. So this one have to work:<h:commandButton id="b1" type="submit" action="#{Bean.calit}" value="Calculation"/>
I created a new JSF and a new portlet and this works fine, but I don't know why previous example dones't work. Maybe because of IPC ?
-
3. Re: JSF and all commandButtons are fired
ameo Sep 20, 2007 4:38 AM (in response to ameo)The Problem ist not a jsf problem. It relies von IPC. The portlet on a page without IPC works, the one with IPC fires all actions on the button. Who have experience with IPC and JSF ?
-
4. Re: JSF and all commandButtons are fired
ameo Sep 20, 2007 5:30 AM (in response to ameo)Nice, I testet again.
I take only one Portlet. The portlet is an JSF Portlet and have 2 commandButtons.
Now, when I activate with the admin tool the partial refresh feature, all action methods of all buttons are fired.
when I deactivate partial refresh all works.
Is this a Bug ?