Well, now I have another little problem, it happens that adds a new component, following the instructions found in the Foum. Everything works fine, but when trying to add a record in which I use the added function, the following error (Internal error. Com.bas.utils.G can not be cast to java.lang.String), this error only when I go to add the record.