[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [sapphire-dev] Sapphire questions
|
Sorry I didn't proof read, addition clarification for
item 3 below.
My
model is very similar to IContact's PrimaryOccupation element property in the
sample.
1. I
like to add a validation to the ElementProperty. The closest one I found was
ModelPropertyValidation, but obviously that's for a model property.
2. My
list of options range from 2 to 11. How to specify "prefer.combo"
hint.
3. In
the IStudentOccupation model, let say I added a Grade ElementProperty. I would
like that ElementProperty to be shown as a new node under the
Primary Occupation node when the user selects "student". How can I
achieve that in the definition file? I was able to add a condition to show only
when "student" was selected. But in order to get to the Grade ElementProperty, I
had to add the following, is there a way to hide the radio button
group?
<with>
<path>PrimaryOccupation</path>
<panel>
<key>IStudentOccupation</key>
<content>
<with>
<path>Grade</path>
Thanks!