Class DetailsControl

  • All Implemented Interfaces:
    java.util.Observer, VariableResolver, IControl, IDataBoundControl, IDataControl, IRenderer

    public class DetailsControl
    extends TabularDataControl
    Used to render read only data from a tabular data source. This control is an extension of the lum_tabularData control. It should be used to render one row of a result set. The data it renders by default are layed out as label: value pairs for each field (with the display attribute set to true) one below the other.

    Example use: <control:lum_details id="requestDetails" sourceId="request" /> xml data available for xsl rendering: <control id="requestDetails" sourceId="request" type="lum_details"> <control id="8A488A03118FAEBF01119010D6FD1046" type="lum_interfaceHeader" ... /> <control id="requestDetails.filters" type="lum_filters" ... /> <strings> <string id="STR_ORDER_ASC">Sort ascending</string> <string id="STR_ORDER">Sort</string> <string id="STR_ORDER_DESC">Sort descending</string> </strings> <fields> <field dataType="string" id="id" ... /> <field dataType="string" id="firstMessage" ... /> <field dataType="lumisPrincipal" id="attendantId" ... /> </fields> <data> <formName>null</formName> <row primaryKey="8A488A03118FAEBF0111900CBA0A0FE3"> <id>8A488A03118FAEBF0111900CBA0A0FE3</id> <firstMessage>Could you help me?</firstMessage> <attendantId> <principalId>00000000D00000000000000000000001</principalId> <shortId>admin</shortId> <name>Administrator</name> <type>1</type> <subtype>0</subtype> </attendantId> <chatConversationId>8A488A03118FAEBF0111900CBA0A0FE0</chatConversationId> <requestTime> <value>3/26/07 6:00 PM</value> <year>2007</year> <month>03</month> <monthName>March</monthName> <dayOfMonth>26</dayOfMonth> <dayOfWeek>2</dayOfWeek> <dayOfWeekName>Monday</dayOfWeekName> <hours>18</hours> <minutes>00</minutes> <seconds>24</seconds> </requestTime> <attendedTime> <value>3/26/07 6:01 PM</value> <year>2007</year> <month>03</month> <monthName>March</monthName> <dayOfMonth>26</dayOfMonth> <dayOfWeek>2</dayOfWeek> <dayOfWeekName>Monday</dayOfWeekName> <hours>18</hours> <minutes>01</minutes> <seconds>51</seconds> </attendedTime> <createdDate> <value>3/26/07 6:00 PM</value> <year>2007</year> <month>03</month> <monthName>March</monthName> <dayOfMonth>26</dayOfMonth> <dayOfWeek>2</dayOfWeek> <dayOfWeekName>Monday</dayOfWeekName> <hours>18</hours> <minutes>00</minutes> <seconds>24</seconds> </createdDate> <lastModifiedDate> <value>3/26/07 6:00 PM</value> <year>2007</year> <month>03</month> <monthName>March</monthName> <dayOfMonth>26</dayOfMonth> <dayOfWeek>2</dayOfWeek> <dayOfWeekName>Monday</dayOfWeekName> <hours>18</hours> <minutes>00</minutes> <seconds>24</seconds> </lastModifiedDate> <createdBy> <principalId>00000000D00000000000000000000001</principalId> <shortId>admin</shortId> <name>Administrator</name> <type>1</type> <subtype>0</subtype> </createdBy> <lastModifiedBy> <principalId>00000000D00000000000000000000001</principalId> <shortId>admin</shortId> <name>Administrator</name> <type>1</type> <subtype>0</subtype> </lastModifiedBy> <serviceInstanceId>8A488A03117B0D2D01117BB9DA350E36</serviceInstanceId> <clientId>Mr. X</clientId> <state>Being Attended</state> </row> </data> </control>
    Since:
    4.0.0
    Version:
    $Revision: 6255 $ $Date: 2007-03-27 14:12:57 -0300 (Tue, 27 Mar 2007) $
    See Also:
    InterfaceHeaderControl, FiltersControl