doh!  That works.

On 11/23/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
Set focus="false" on your Dialog form.

On 11/23/06, Bill Holloway <[EMAIL PROTECTED]> wrote:
> Interesting clarification:  I have two forms on the page, but one is
> an @Dialog form at the top of the page, used for logging in.  This
> form is hidden of course.  My other form is a "registration" form
> shown below that and is a beanform form and is not hidden.  The
> dojo.addOnLoad javascript does this:
>
> 1) calls tapestry.form.registerForm for the login form (@Dialog, hidden).
> 2) call tapestry.form.focusField (correctly) for a field on the
> registration form.
> 3) call tapestry.form.registerForm for the registration form.
>
> so the call to focus on the (correct) field in the registration form
> that's shown is made *before* that form is registered with dojo.
> Oooops!
>
> I hate to have to dump the popup dialog form for the login -- but I
> need that focusField!
>
> Bill
>
> On 11/23/06, Bill Holloway <[EMAIL PROTECTED]> wrote:
> > I've tried using both jwcid="@Form" and using beanform, and in FireFox
> > on xubuntu I do not see any form field focus working.  I the page
> > source I do see the call to tapestry.form.focusField in dojo's
> > AddOnLoad function.  There are no errors reported in the javascript
> > console of firefox, but no field focus.  My form only contains
> > @TextField's.
> >
> > Is this still waiting full resolution from the TAPESTRY-1113 bug?
> >
> > Cheers,
> > Bill
> >
> > --
> > "Budgets are moral documents."
> >
> >      -- Ann Richards
> >
>
>
> --
> "Budgets are moral documents."
>
>      -- Ann Richards
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Jesse Kuhnert
Tapestry/Dojo/(and a dash of TestNG), team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com

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




--
"Budgets are moral documents."

    -- Ann Richards

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

Reply via email to