ok jesse, now there is a comment in JIRA in TAPESTRY-1113. Thanks for you
help.

On 1/20/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:

There's probably something that can be done, but most likely it will
never be done unless it shows up in JIRA.

On 1/17/07, Roberto Ramírez Vique <[EMAIL PROTECTED]> wrote:
> Hello Bill & Jesse,
>
> I've been working with this great Form methods to just don't use the
> focus... Is working fine, but I have a problem... I'll try to explain
the
> problem:
>
> I am working with IE6 (now the most used Browser), jdk5, tomcat 5.5,
> tapestry 4.1.2. I have a page where there is are a form, and also some
dojo
> dialogs. These dojo dialogs are hidden (style='display:none'). The
problem
> is that in when I load that page, and the Form.focus binding is set to
true
> (the default), the IE6 gives me an error, because the first DOM
focusable
> element in the html is invisible (in fact is inside the dojo dialog
which is
> invisible => display:none). In general IE6 gives an exception when
trying to
> set the focus to a n invisible input.
>
> This become more important when I see that the dojo dialog doesn't work,
> because when the JS error appears the rest doesn't work. To me a simple
> workarround would be to add a javascript try-catch to avoid stopping the
JS
> execution. I am not a JS expert and maybe ther e is a better solution
...
> what do you think? There is another solution?
>
> Thanks in advance,
>        robert
>
> On 11/23/06, Bill Holloway < [EMAIL PROTECTED]> wrote:
> >
> > 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]
> >
> >
>
>
> --
> Robert Ramírez Vique
> Computer Science Engineer
>
>


--
Jesse Kuhnert
Tapestry/Dojo 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]




--
Robert Ramírez Vique
Computer Science Engineer

Reply via email to