I create new Object Model MyLab ,see figure for details.
Add attributes,see figure for details.
From the red oval,the attributes of dutyPerson type is Object .I edit Edit Attribute settings,
from browser button,i selected iXEOUser
But ,the type still boObject ,not iXEOUser,see the figure:
Why this happen?anybody give me help?
I also found ,if i select type of XEO interface Model,then the type will not change.but if i select type of XEO Object,the type will change ,see the figure:
But in the XEO Standard framework , attributes can reference XEO interface Model,see the figure:
How ? Did they edit the source direct ?
My XEO Studio version is 1.1,the database is mysql ,and web container is jboss.
the picture is in the attachment, more detail please see attachments
HI freedome,
First of all thanks for reporting the issue. And indeed you're right, it's a bug. We've added it to ou internal bug reporting system and hope to fix it as soon as possible.
In the mean time, you can directly edit the XML Source for the Model (click the "Source" Tab when the XEOModel is open in Eclipse and find the element with the name "attributeObject name='dutyPerson'", just bellow you will see the tag "<type>object.boObject</type>" change it to "<type>object.IXEOUser</type>"
Another possibility is to create a new XEOModel (think Person) and have it implement the iXEOUser interface and then in the "dutyPerson" attribute, choose this new "Person" XEOModel
Hope that helped, if you have any further questions, use the forum ou continue the discussion here.