AnsweredAssumed Answered

Indent Fields

Question asked by karljj1 on Nov 10, 2009
Latest reply on May 22, 2010 by adrianpj
Hi,

Is it possible to control the layout/appearance of a form in such a way that i could indent 1 or more elements or maybe even change the colour?

So far i have:

<xs:schema targetNamespace="http://www.alfresco.org/alfresco/melmil" xmlns:alf="http://www.alfresco.org" xmlns:melmil="http://www.alfresco.org/alfresco/melmil" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
   <xs:complexType name="EventType">
      <xs:sequence minOccurs="0" maxOccurs="unbounded">
         <xs:element name="MainEvent" type="xs:normalizedString">
            <xs:annotation>
               <xs:appinfo>
                  <alf:label>Main Event:</alf:label>
               </xs:appinfo>
               <xs:appinfo>
                  <alf:appearance>minimal</alf:appearance>
               </xs:appinfo>
            </xs:annotation>
         </xs:element>
         <xs:element name="Incident" type="melmil:IncidentType" minOccurs="0" maxOccurs="unbounded"/>
      </xs:sequence>
   </xs:complexType>
   <xs:element name="List" type="melmil:MelMilType"/>
   <xs:complexType name="IncidentType" abstract="true">
      <xs:sequence>
         <xs:element name="Incident" type="xs:normalizedString"/>
         <xs:element name="Inject" type="xs:normalizedString" minOccurs="0" maxOccurs="unbounded"/>
      </xs:sequence>
   </xs:complexType>
   <xs:complexType name="MelMilType">
      <xs:sequence>
         <xs:element name="ExerciseName">
            <xs:annotation>
               <xs:appinfo>
                  <alf:label>Exercise Name</alf:label>
               </xs:appinfo>
            </xs:annotation>
            <xs:complexType>
               <xs:simpleContent>
                  <xs:extension base="xs:normalizedString"/>
               </xs:simpleContent>
            </xs:complexType>
         </xs:element>
         <xs:element name="Event" type="melmil:EventType" minOccurs="0" maxOccurs="unbounded"/>
      </xs:sequence>
   </xs:complexType>
</xs:schema>


Thanks

Outcomes