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!!!!
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.