Hey everyone! I just added a SignatureComponent into out app and realized, that it is another component i have to copy paste cause its way to inflexible. As example: The inner SignatureDialogBody class cant be accessed. All labels and other texts are hardcoded in english without any way to modify or translate them. The dialog itself have methods for the done, reset and cancel button but cant be accessed. Instead of beeing able to override those methods or add a specific actionlistener for those actions, the SignatureComponent only have one eventdispatcher if something has changed which is pretty useless cause you cant remove the signature or leave it empty.
The SignatureComponent defines a "lead" which is a button to open up the SignatureDialogBody but the getLeadComponent() method in SignatureComponent returns null, so the dialog cant be accessed. So to make this component useable, i can copy paste the code and make it flexible for our usecase but this shouldnt be the usecase for the CN1 framework. There are many other components we had to modify cause they are way to inaccessable which is very sad and in my oppition absolutly unnecessary. If you want to do some specific stuff (like a simple translation for the signature as example) you cant use those components out of the box -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/8d6bd0c7-cb46-487e-98ee-0d9c3bd41c66%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
