Closed GoogleCodeExporter closed 8 years ago
There are some calls in the code which indicate you have not really tested this
standalone, but instead inside a larger app. Please actually test standalone
and provide the revised code (ideally, one file, no unnecessary code).
Also, please let us know whether you can still reproduce this if you do not try
to register the SelectItem as it's own change handler.
Finally, if there is still a JavaScript error, please include the stack trace
for the error as shown in the Developer Console - instructions for getting this
are in the SmartGWT FAQ.
Provisionally marking Invalid until the above is corrected.
Original comment by smartgwt...@gmail.com
on 9 Feb 2012 at 7:38
Thanks for reply, but I reduced the code to circumvent the problem of classes
derived from SelectItem, if you run the attached code, the Developer Console
displays an exception caused by the invocation of the method
getSelectedRecords() from a derived class.
I can do without a derived class from SelectItem, I just wanted to know if I
had done something wrong.
Thanks
Original comment by vlui...@tiscali.it
on 10 Feb 2012 at 11:39
Attachments:
Sorry
public class TestCase extends VLayout
Original comment by vlui...@tiscali.it
on 10 Feb 2012 at 11:46
It's not a problem to subclass SelectItem.
This new code is trying to call getSelectedRecords() on a SelectItem that
doesn't have an optionDataSource, hence no possible source of records - this
doesn't make sense.
Original comment by smartgwt...@gmail.com
on 10 Feb 2012 at 4:58
Original issue reported on code.google.com by
vlui...@tiscali.it
on 9 Feb 2012 at 3:20Attachments: