hgs1906 / smartgwt

Automatically exported from code.google.com/p/smartgwt
0 stars 0 forks source link

Disable a radio button in RadioGroupItem #473

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Before your post : If you are not 100% sure that you've found an issue,
please post on the SmartGWT forums first. Upon confirmation you'll be
advised to create an issue.

All issues require a minimal standalone test case with
an onModuleLoad() to be attached. You can modify an existing showcase
example if desired. Issues created without a standalone test case are
subject to being rejected after 7 days if no test case is present.

What steps will reproduce the problem?
1.create a RadioGroupItem with one radio button disabled (setValueDisabled)
2.create a DynamicForm and add previous created item
3.draw the form

What is the expected output? What do you see instead?
Expected: a form with one radio choice disabled.
Instead: com.google.gwt.core.client.JavaScriptException: (TypeError):
self.setValueDisabled is not a function

What version of the product are you using? On what operating system?
Mac Os X 10.6, GWT 2.0.3, SmartGWT 2.2, FF3 .6.3

Please provide any additional information below.

Workaround: disable the radio button after drawing the form 

Original issue reported on code.google.com by cristian...@gmail.com on 4 Jun 2010 at 5:55

Attachments:

GoogleCodeExporter commented 9 years ago
The workaround don't work, if I set the form size to 100% and resize the browser
window, the radio button is enabled again!

Original comment by cristian...@gmail.com on 4 Jun 2010 at 9:54