Hi Maik,
> Just for your information (in case you want to check why the
> error-message was not the right one) i include the source of our cell
You are right.
The following exception is from ULC 2008 u4.
java.lang.IllegalArgumentException: Unable to clone given cell component:
class 'ULCValidationTextField' does not have an empty constructor and
overrides 'ICellComponent' contract.
For ULC 2008 u3 the exception is:
java.lang.RuntimeException: Unable to create new instance of cell
component
...
Caused by: java.lang.InstantiationException:
com.canoo.ulc.community.validation.server.ULCValidationTextField
> otherwise i would have been able to answer the question myself). Maybe
> it is a good idea to add it to the APIdoc as well.
I have made a note of this: https://www.canoo.com/jira/browse/UBA-7891
BTW, why are you migrating to ULC 2008 u3 and not to u4 (the latest)?
Thanks and regards,
Janak
-----------------------------------------
Janak Mulani
email: [email protected]
url: http://www.canoo.com
Beyond AJAX - Java Rich Internet Applications
http://www.canoo.com/ulc
-----------------------------------------
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of
> [email protected]
> Sent: Thursday, January 07, 2010 5:14 PM
> To: [email protected]
> Subject: [ULC-developer] Re: Crash after migration from 6.1.1
> to ULC2008u3 caused by CellComponentTemplateStorage
>
> Hi Janak,
>
> thanks for your reply. I was able to fix the problem.
>
> Only the error message was not the one you predicted. I've
> just got the
> stacktrace which i had included in my initial mail.
>
> Just for your information (in case you want to check why the
> error-message was not the right one) i include the source of our cell
> editor. It is just a small inner class within the dialog
> class with the
> table. The text fields are initialized there (e.g. datatype for the
> different columns).
>
>
> private static class ValidatingCellEditor implements
> ITableCellEditor {
> private ULCValidationTextField fTextfield;
> public ValidatingCellEditor(ULCValidationTextField tf) {
> fTextfield = tf;
> }
> public IEditorComponent
> getTableCellEditorComponent(ULCTable table, Object value, int row) {
> return fTextfield;
> }
> }
>
> The ULCValidationTextField lags the no-arg constructor, so it crashed.
>
> The requirement for the no-arg constructor for ICellComponents is only
> included in the extension guide (i must have missed it yesterday,
> otherwise i would have been able to answer the question myself). Maybe
> it is a good idea to add it to the APIdoc as well.
>
> Thanks again and cheers
> Maik
_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer