while struggling with 2.0 Navigation (see my other post) I discovered that calling a bean action mehtod from an <ice:xxx> component automagically calls the action method of an <ice:commandButton> on the same page.
That is, something like
public String openDetail() {
//open the detail screen
return null; //yes, must return the rootview with redirect to have 1.8.2 style half-way working
}
Pressing the enter button while in the inputText will cause both doSearch and openDetail methods to be called in this example.
EDIT: the container is GlassFishV3 - haven't been able to run JSF2.0 / ICEfaces 2.0 on Tomcat6 so far.
Strong indication that this is browser related. Was not able to reproduce the bug using Eclipse Internal Browser (3.5 on Windows XP) or IE 6. Bug shows in FF 3.x (3.5.5)
Strong indication that this is browser related. Was not able to reproduce the bug using Eclipse Internal Browser (3.5 on Windows XP) or IE 6. Bug shows in FF 3.x (3.5.5)
is back or still persists in beta1. Browser is FF 3.6.8, Mojarra 2.0.3, GlassFish 3.0.1 (EN). The <ice:commandButton> action method get's called even though the button is not pressed.