got5/tapestry5-jquery — Issue #124: Changing default field focus
Author: chriman17
Created: 2012-01-25 20:41:26+00:00
State: open

I build an autocomplete token component, however due to the fact tapestry doesn't dynamically allow us to add id's, I was forced to use a markup writer to create my text fields. The problem is because it's not a tapestry field, it doesn't automatically get the field focus. It happens to be my first form field on the page so the auto focus is given to a tapestry field farther down the page. I tried using jquerys myId.focus() with no success, does anybody have an idea how to address this issue?