On the top of my head I can only come up with a bit of a hack. In component generator method when you create TextField call setData(Object) for it and put the itemId there. Then when you get text change event you can call ((TextField)getSource()).getData() to get the itemId again.