Skip to content

CDLSingleLineTableRowController relies on classOfKey to load the right field editor; this doesn't work for transformed data. #13

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
You get the classOfKey from the NSManagedObject(TypeOfProperty) category, as a 
string.  This is then checked against to load the proper FieldEditController 
(String, Decimal, Boolean).
However, if the property is transformed (i.e., of type "id"), then the check 
fails, and no field editor is loaded.

Please provide any additional information below.
I have a suggested modification to the core code for 
CDLSingleLineTableRowController:  provide an optional configuration property:  
CDLDataType (or something similar).  The types can be:  "String", "Numeric", 
"DateTime", etc.  If configuration property is not provided, then the usual 
check (classOfKey) can be applied.  Otherwise, load the appropriate 
FieldEditController based on CDLDataType.

I'm going to implement this in my copy of the code for now.  I'll notate it 
appropriately, so that you can edit/remove it if you wish when I send it back.

Original issue reported on code.google.com by nukemh...@gmail.com on 24 Jun 2010 at 5:34

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions