Hi Helmut, the focusId attribute supports valuebinding, but the value must be the clientId of the component. This means the id prefixed by the ids of namingContainers, at leas by the id of the page. This should be improved to be handled like for attributes, ge do a findComponent() to examine the clientId.
And yes there is a bug in the javascript, empty string or every illegal value forces the default behavior. please add a jira entry. Regards, volker 2007/1/19, H. Swaczinna <[EMAIL PROTECTED]>:
Hi, I want to set the initial focus when the page is loaded programmaticly, determined by a bean property. I've found no way to do this. The focusId attribute of tc:page doesn't allow value bindings (right?) So I set the focus via javascript in the onload attribute of tc:script. This sets the focus to the desired field, but afterwords, the focus is reset to the first field on the page. Even when I set focusId to the empty string. The doc says, setting focusId to the empty string disables automatic focus setting. So this seems to be a bug to me. Regards Helmut

