On Sun, 16 Mar 2008, Lars Borup Jensen wrote: > on the component (input) I just updated, but it seems the Ajax response has > given > the components new markupId's and hence, the line: > > target.focusComponent(field) > > Is pretty much useless as the id's in the HTML has been altered (by Ajax > response), > and the input with the old id is no longer on the page. > I dont quite know how to get the new markupId's, anyone?
As far as I know, repainting a component via Ajax should not change its markup id. But if your component is inside a repeater and gets re-created when the repeater is rendered, that might happen. Have you tried providing a fixed markup id with setMarkupId()? Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations Oy <URL: http://www.ri.fi/ > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]