Modifying the sMSEdit window

I took a quick look at this 

The quick and dirty way of modifying this was to leave the regex stripping code in place and run it over the result returned to the phone number including the result returned from the new phone number display.  It would work but I think its so prone to errors for internationalization

The alternative was to recreate the phoneproperty to hold the entire Contact rather than just a string representation.  

phoneProperty = new SimpleProperty("phone", null, Contacts.class, Messages.get("sms.phone"));

The theory was to enable the contact object to be passed through the process and utilize the existing formatting rules we have to output the correct infomation when we need it.

Unfortunately due to my limited programming with transforming objects etc it appears it may well be more difficult to process a listModel for contacts.

Syndicate content