Rendered problem in all JSF versions ?
[nobr]Hi All !
I made a simple application, and I tried in JSF1.1, in JSF1.2.
The problem is same.
...
<h:commandButton value="egy" action="#{csakbean.egy}" />
<br>
<h:commandButton value="ketto" action="#{csakbean.ketto}" rendered="#{csakbean.rnd}" />
...
and my "csakbean":
...
public String egy(){
System.out.println("egy...");
returnnull;
}
public String ketto(){
System.out.println("ketto...");
returnnull;
}
publicvoid setRnd(boolean param){
this.rnd = param;
}
publicboolean isRnd(){
double r = Math.random();
System.out.println("random: " + r);
return (r > 0.15 ?true :false);
}
...
I tried to click "egy" button, so sometimes "ketto" button is showed/rendered.
But: when I click "ketto" button, sometimes "ketto()" action DIDN'T EXECUTE !
This problem is same when scope of bean is request or session.
xesj[/nobr]

