is there a reason why you are actually recreating the
textfields/updating the entire treetable? if you do that i cant think
of any work around off the top of my head, maybe matej can since he
wrote the treetable.

-igor


On Tue, Mar 18, 2008 at 7:58 AM, Lars Borup Jensen <[EMAIL PROTECTED]> wrote:
> Hi Igor
>
>  I take from your note that setting a specific markupId is not the solution
>  to my problem.
>
>  It seems like the Page.getAutoIndex is used as "start index" for the
>  components (TextFields)
>  which I use in the TreeTable columns when they are updated in the ajax
>  request (which might be
>  alright), but since I update the TextField in which I have the cursor - the
>  focus is lost, and I
>  can't seem to find the id of the newly created TextFields. Does it make any
>  sense?
>
>
>
>
>  On Tue, Mar 18, 2008 at 3:52 PM, Igor Vaynberg <[EMAIL PROTECTED]>
>  wrote:
>
>
>
>  > providing a set id for something that is inside a repeater? :|
>  >
>  > -igor
>  >
>  >
>  > On Tue, Mar 18, 2008 at 5:42 AM, Timo Rantalaiho <[EMAIL PROTECTED]>
>  > wrote:
>  > > 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]
>  > >
>  > >
>  >
>  > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: [EMAIL PROTECTED]
>  > For additional commands, e-mail: [EMAIL PROTECTED]
>  >
>  >
>
>
>
>
> --
>
>  Lars Borup Jensen
>  http://www.it-arbejde.dk
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to