Hi Max,
I filed this jira bug to handle the dhtml tabbing issue. The app below is
also in LPP-3197.
http://jira.openlaszlo.org/jira/browse/LPP-3197
<canvas bgcolor="gray">
<simplelayout spacing="5"/>
<inputtext name="t1" bgcolor="white" width="175"
resizable="false">t1</inputtext>
<inputtext name="t2" bgcolor="white" width="175"
resizable="false">t2</inputtext>
</canvas>
Thanks!
Phil
Philip Romanik wrote:
> Hi Max,
>
> I'm tracking down a problem with tabbing. If you run this simple app
> (in dhtml) you will see the problem:
>
> <canvas bgcolor="gray">
> <simplelayout spacing="5"/>
> <edittext name="t1" width="175" />
> <edittext name="t2" width="175" />
> </canvas>
>
> The first time I tab from one edittext to the other, the control can
> be directly edited. If you keep hitting the tab key, you have to
> scroll through all the selectable items in the browser(problem #1).
> Eventually it comes back to the edittext control and then the tab >
alternates between the two controls.
This is likely a problem with the dhtml kernel not grabbing all tab keys.
> The second problem (problem #2)
> is that you can't type directly into the control. You have to click in
> the field to give focus.
This is also likely a problem with the kernel - perhaps inputtexts don't
select when focused with something other than the mouse?
> Do you think this is an issue with the sprite, or the component?
See if you can make a simpler testcase using only inputtexts. Please
file bugs for these problems!
--
Regards,
Max Carlson
OpenLaszlo.org