Task #10178

Move element identifier generation to Form class

Added by Andreas Wolf over 2 years ago. Updated over 2 years ago.

Status:Accepted Start date:2010-10-10
Priority:Must have Due date:
Assignee:Andreas Wolf % Done:

0%

Category:-
Target version:-
Complexity:
Votes: 0

Description

For some records, the elements have to have different identifiers depending on the record or its configuration. Namely this is the case for Flex records, where the field identifier depends on the localization method.
To be able to implement this correctly, identifiers should be created by the Form object, which knows better about this than the Element object itself.

History

Updated by Andreas Wolf over 2 years ago

Maybe it would be a good idea to handle these identifiers not as fixed strings, but as arrays of identifier parts. With this, we could create real identifiers with a simple implode('-', ...) or '[' . implode('][', ...) . ']'.

Also available in: Atom PDF