After switching to WDK 2.2 I am now getting a model parsing error in my
categories.xml --
/www/allenem.bc.genomics.upenn.edu/gus_home/lib/wdk/genomicsBCModel/questions/categories.xml:4:87:
error: unknown element "category"
How are category assignations now handled?
Thanks
Emily
cristina
-Emily
<wdkModel>
<category name="GeneRecordClasses.GeneRecordClass" displayName="Search
for Genes" />
<category name="GeneIdentifiers"
displayName="Name Keyword Search or Identifiers"
parentRef="GeneRecordClasses.GeneRecordClass">
<questionRef>GeneQuestions.GeneKeywordSearch</questionRef>
<questionRef>GeneQuestions.GeneFromIdentifierList</questionRef>
</category>
<category name="DynSpanRecordClasses.DynSpanRecordClass"
displayName="Genomic Segments (DNA Motif)" />
<category name="dynspan" displayName="Search for Genomic Segments (DNA
Motif)"
parentRef="DynSpanRecordClasses.DynSpanRecordClass">
<questionRef>SpanQuestions.DynSpansByMotifSearch</questionRef>
<questionRef>SpanQuestions.DynSpansBySourceId</questionRef>
<questionRef>SpanQuestions.DynSpansByLocation</questionRef>
</category>
</wdkModel>
Jerric
When you get a chance could you explain the attributeCategory in a bit
more detail -- what is the "tree structure of the column selection"? Is
this in reference to the organization of categories in the AddStep pop-up?
Thanks,
Emily
Thanks,
Emily
On 9/30/2011 3:18 PM, Jerric Gao wrote:
jerric
The attributeCategory is defined in a different way than searchCategory. you can
define a nested <attributeCategory> tree structure, and then you use
attributeCategory as a property of any <attribute> tag in the record class to
reference the attributeCategories you definie.