How to send form?
When I put only button in page:
<ui:form binding="#{Page1.form1}" id="form1">
<ui:button action="#{Page1.okButton_action}" binding="#{Page1.okButton}" id="okButton" text="#{nl.OKButton}"/>
</ui:form>
It works. But if I add any input controls:
<ui:form binding="#{Page1.form1}" id="form1">
<ui:textField binding="#{Page1.field1}" id="field1" valueChangeListener="#{Page1.field1_processValueChange}"/>
<ui:button action="#{Page1.okButton_action}" binding="#{Page1.okButton}" id="okButton" text="#{nl.OKButton}"/>
</ui:form>
then okButton_action() doesn't invoke.
Please help me solve this problem.
[705 byte] By [
DenisTa] at [2007-11-26 20:14:59]

# 2
I tried to reproduce your problem, but the button handler is called in my test. Here is the code I have. I add a message group so that when the button action handler is called. It displays a message in the message group :
<ui:form binding="#{Page1.form1}" id="form1">
<ui:textField binding="#{Page1.field1}" id="field1" style="position: absolute; left: 72px; top: 120px" valueChangeListener="#{Page1.field1_processValueChange}"/>
<ui:button action="#{Page1.okButton_action}" binding="#{Page1.okButton}" id="okButton"
style="position: absolute; left: 192px; top: 216px" text="ok"/>
<ui:messageGroup binding="#{Page1.messageGroup1}" id="messageGroup1" style="position: absolute; left: 96px; top: 312px"/>
</ui:form>