I have a problem with gwt. I have a button which I disable and in
explorer it shows the button grayed out but it doesnt in firefox.
The html for the button looks like this
<button type="button" class="gwt-Button" disabled="">Ændre</button>
When I write a new html page and paste the above in and opens it in
firefox it shows the button is disabled but for some reason it doesnt
work when running with gwt.
Does anyone have an idea what could be wrong?
Cincirely
Bille.
code generated by GWT Button class in FireFox is at least for me:
<button disabled="disabled" class="gwt-Button" type="button">Disabled
button</button>
Note that generated code is different for IExplore, etc, so you should
not use handwritten html code but simply use Button class which will
write correct code for you,
regards,
Peter
I'm not sure what issue reason is,
GWT generates above code for me while using 1.4.60,
I've tested using DOM inspector and HTML editor in FireFox (2.0.0.7
windows) and either:
- disabled="disabled"
- disabled=""
worked as expected disabling (grayig out) button in page,
regards,
Peter
On Sep 20, 11:13 pm, "Fede Angeleri" <vito...@gmail.com> wrote:
> Peter, I'm having same problem as Billie and I'm using the Button class and
> the setEnabled method.
>
On Sep 20, 11:13 pm, "Fede Angeleri" <vito...@gmail.com> wrote:
> Peter, I'm having same problem as Billie and I'm using the Button class and
> the setEnabled method.
>