Hi,

can anyone give me a hint how to get this working if the attribute in
the display-if statement has several instances. I tested the following:

<subview-group>
         <title>Slot 1</title>
         <display-if>
                 <attribute>0x058502d9</attribute>
                 <renderer>
                         <param name="oid">1</param>
 
com.aprisma.spectrum.app.util.render.ListInstanceRenderer
                 </renderer>
                 <expression>
                         value()== 1
                 </expression>
         </display-if>
         <subviews>
                 <table-subview idref="table-1"/>
                 <table-subview idref="table-2"/>
                 <table-subview idref="table-3"/>
         </subviews>
</subview-group>

but without any success -> seems to be a syntax failure within because
now the information-view isn't accessible

mit freundlichem Gruß
Tobias Thomas

  > Matthias Kaegi schrieb:
  >> Hello List,
  >>
  >> I try to make a expression (display-if statement) to display a subview.
  >>
  >> On this subview are only Table-attributes...
  >>
  >> with this example, i can only make a expression about a list-Attribute
  >>
  >> <display-if>
  >> <expression>
  >> attr(0x23000e) != null
  >>   </expression>
  >> <subview-group idref="subview-test-group">
  >> <title>test info</title>
  >> </subview-group>
  >> </display-if>
  >>
  >> if there a possibility to make a expression about a table-attribute?
  >>
  >> Thanks in advance!
  >>
  >
  > Hi Mattias,
  >
  > I'm not sure what you want to achieve. Maybe this would help you:
  >
  > <subview-group>
  >       <title>unit 1</title>
  >       <display-if>
  >               <expression>
  >                       attrInt(0x0585045a) != 7
  >               </expression>
  >       </display-if>
  >       <subviews>
  >               <table-subview idref="table-1"/>
  >               <table-subview idref="table-2"/>
  >               <table-subview idref="table-3"/>
  >       </subviews>
  > </subview-group>
  >
  >
  >
  > mit freundlichem Gruß
  > Tobias Thomas




---
To unsubscribe from spectrum, send email to [email protected] with the body: 
unsubscribe spectrum [email protected]

<<attachment: tobias_thomas.vcf>>

Reply via email to