NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
Elmar Brandt Posted via mailing list.
|
Posted: Thu Oct 16, 2008 8:19 am Post subject: AW: AW: Visual JSF & tab set |
|
|
You must add the value binding for the fields in the designer.
Click with the right mouse-button on the Component and click "Add binding
attribute".
Now you can access the component in the backing bean by getter and setter.
Example:
private TextField textFieldR1 = new TextField();
public TextField getTextFieldR1() {
return textFieldR1;
}
public void setTextFieldR1(TextField tf) {
this.textFieldR1 = tf;
}
getTextFieldR1().getValue()
-----Urspr |
|
| Back to top |
|
 |
Jan Pernica Posted via mailing list.
|
Posted: Thu Oct 16, 2008 8:56 am Post subject: AW: AW: Visual JSF & tab set |
|
|
But I have fields binded to the RequestBean properties.
I know how to access fields. But how to keep them when switching amongs
tabs.
It looks like only visible fields are transmited during page navigation.
Jan
Elmar Brandt wrote:
| Quote: | You must add the value binding for the fields in the designer.
Click with the right mouse-button on the Component and click "Add binding
attribute".
Now you can access the component in the backing bean by getter and setter.
Example:
private TextField textFieldR1 = new TextField();
public TextField getTextFieldR1() {
return textFieldR1;
}
public void setTextFieldR1(TextField tf) {
this.textFieldR1 = tf;
}
getTextFieldR1().getValue()
-----Urspr |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|