firstInput)
{
System.out.println(FirstInput was set.);
this.firstInput=firstInput;
}
public UIInput getFirstInput() {return firstInput; }
}
-NameBB.java--
--
View this message in context:
http://www.nabble.com/Binding-to-elements-in-DataTable-tf2041529.html#a5619707
On 8/2/06, David Van Stone [EMAIL PROTECTED] wrote:
I'm struggling to create a binding to a UIInput element in a DataTable row.
(Context: I'm trying to do validation across multiple fields in the same
row.)
I have a backing bean for the main page (PlayBB; managed-bean-scope:
session) which
) {this.first=first;}
public void setLast(String last) {this.last=last;}
}
-NameBB.java-
--
View this message in context:
http://www.nabble.com/Binding-to-elements-in-DataTable-tf2041529.html#a5621639
Sent from the MyFaces - Users forum at Nabble.com.
On 8/2/06, David Van Stone [EMAIL PROTECTED] wrote:
My above attempt was to bind each row element to a UIInput in my row object.
However, since there is really only one UIInput in multiple states, I need
to bind the row column to a UIInput in the overall backing bean. I also need
to bind the
validateNames(FacesContext context, UIComponent toValidate,
Object value) throws ValidatorException {
// Now do validation comparing firstInput.getValue() and
// lastInput.getValue()
}
}
--
View this message in context:
http://www.nabble.com/Binding-to-elements-in-DataTable-tf2041529.html
5 matches
Mail list logo