You have these example item types defined in myext-items.xml:What additional steps are needed
to support the identification attribute?
< ?xml version="1.0" encoding="ISO-8859-1"? >
< items >
< itemtype code="Passport" autocreate="true" generate="true" >
< deployment typecode="8995" table="passport" />
< attributes > ... < /attributes >
< /itemtype >
< itemtype code="Student" extends="Customer" autocreate="true" generate="true" >
< attributes >
< attribute type="localized:Passport" qualifier="identification" >
< persistence type="property" />
< /attribute >
< /attributes >
< /itemtype >
< /items >
What additional steps are needed to support the identification attribute?
Define a one-to-many relation between Student and Passport using a relation tag with
parameter localized="true".
Add a maptype tag for localized:Passport with parameters argumenttype="Language" and
returntype="Passport".
Run an ant updatesystem command. A passportlp table will be generated to store the
localized property values.
Define a localized Passport attribute for the Student type in
myext/resources/localization/myext-locales_XY.properties.
Question
Customer Experience
Felix
1 years agoTwana
1 years agoShelba
1 years agoVi
1 years agoGregg
1 years agoMiesha
1 years agoChristiane
1 years agoFannie
1 years agoShantell
1 years agoChauncey
1 years agoCaitlin
1 years agoAnabel
1 years agoMalcom
1 years agoCammy
1 years agoAllene
1 years agoShaniqua
1 years ago