How to put validations to TextField in Table Componenet

I am Using Java Server Studio Creator2 update 1(JSF Tech.).I have added textField to Table component. Now Can any one Help me in Putting Custom Validations or even inbuilt validators would also do.Thanks in Advance!!!!!!!!!!!!!Message was edited by: joshmachine
[296 byte] By [joshmachinea] at [2007-11-27 6:07:29]
# 1
Well, just write them, eventually define them in the faces-config and add them to the component.Where exactly are you stucking then?
BalusCa at 2007-7-12 16:58:34 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

thanks for u r advice.

but it is not working .

because in my form there are three buttons add, update and delete.

now my problem is the textfield is getting validated even on the click on the add or delete button, which is not desirable.

It should get validated only on the click of Update button.

Thanks again!!!!

joshmachinea at 2007-7-12 16:58:34 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3

Well, you may play around with the 'immediate' attribute. Add immediate="true" to those UICommand components and to those UIInput components which should be submitted along invocation of those UICommand components, e.g. the ID. Or just put the buttons in separate forms.

Also see http://balusc.xs4all.nl/srv/dev-jep-djl.html to get some new insights.

BalusCa at 2007-7-12 16:58:34 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4
PleaseMessage was edited by: ashishsamant
ashishsamanta at 2007-7-12 16:58:34 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 5
Yes?
BalusCa at 2007-7-12 16:58:34 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...