Xing 4 TWiki

Function: RenderTvdBusinessDetails

Render business details for a TriPage

Documentation

This function displays the business details of a TriPage.

Parameters
  • SOURCE: topic to render the business details for, defaults to BASEWEB.BASETOPIC

Css
  • empBusinessDetails
  • empDetailsTable
  • empDepartment
  • empTableFirstCol
  • empWebLink
  • empTableEven
  • empTableOdd

Implementation

%STARTINCLUDE%
~~~ <h2>Business details</h2>
%~~ DBQUERY{
~~~   topic="%IFDEFINED{"%SOURCE%" then="%SOURCE%" else="%BASEWEB%.%BASETOPIC%"}%"
~~~   remote="force"
~~~   format="
~~~     <noautolink>
~~~     <div class=\"empBusinessDetails\">
~~~     <table class=\"empDetailsTable\" cellspacing=\"0\" cellpadding=\"0\">
~~~       <tr class=\"empTableOdd\">
~~~         <th class=\"empTableFirstCol\">Branch of trade</th>
~~~         <td> $formfield(BranchOfTrade) </td>
~~~       </tr>
~~~       <tr class=\"empTableEven\">
~~~         <th class=\"empTableFirstCol\">Education</th>
~~~         <td> $formfield(EducationEN) </td>
~~~       </tr>
~~~       <tr class=\"empTableOdd\">
~~~         <th class=\"empTableFirstCol\">Certificates</th>
~~~         <td> $formfield(CertificatesOfCompetence) </td>
~~~       </tr>
~~~       <tr class=\"empTableEven\">
~~~         <th class=\"empTableFirstCol\">Languages</th>
~~~         <td> $formfield(LanguageSkillsEN)$expand(', ' and OtherLanguageSkillsEN)
~~~         </td>
~~~       </tr>
~~~       <tr class=\"empTableOdd\">
~~~         <th class=\"empTableFirstCol\">Presentations</th>
~~~         <td> 
~~~           $percntDBCALL{\"Applications.EmployeePortalApp.RenderTvdPresentationList\"
~~~             NAME=\"$formfield(WikiName)\"
~~~           }$percnt
~~~         </td>
~~~       </tr>
~~~       <tr class=\"empTableEven\">
~~~         <th class=\"empTableFirstCol\">Publications</th>
~~~         <td> 
~~~           $percntDBCALL{\"Applications.EmployeePortalApp.RenderTvdPublicationList\"
~~~             NAME=\"$formfield(WikiName)\"
~~~           }$percnt
~~~         </td>
~~~       </tr>
~~~       <tr class=\"empTableOdd\">
~~~         <th class=\"empTableFirstCol\">Course instructor</th>
~~~         <td> 
~~~           $percntDBCALL{\"Applications.EmployeePortalApp.RenderTvdCourseList\" 
~~~             NAME=\"$formfield(WikiName)\"
~~~           }$percnt
~~~         </td>
~~~       </tr>
~~~       <tr class=\"empTableEven\">
~~~         <th class=\"empTableFirstCol\">Service responsibility</th>
~~~         <td> $formfield(ServiceResponsibility) </td>
~~~       </tr>
~~~     </table>
~~~     $percntIFDEFINEDTHEN{\"$formfield(BusinessDetailsTimeStamp)\"}$percnt
~~~       <div class=\"empTimeStamp\">Last modified $formatTime(BusinessDetailsTimeStamp)</div>
~~~     $percntFIDEFINED$percnt
~~~     </div>
~~~     </noautolink>"
~~~ }%
~~~
%STOPINCLUDE%

Test

Business details

Branch of trade Banken und Finanzdienstleister, Versicherungen, Medien, Automobilindustrie, Informatik, Bildung
Education Dipl. Ing.
Certificates
Languages German, English
Presentations
    Publications
      Course instructor
      Service responsibility
      Last modified 23 Aug 2007 - 09:49

      Calls to 'RenderTvdBusinessDetails'

      Copyright

      © 2007 Michael Daum http://wikiring.de

      This file is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. For more details read the LICENSE.

      This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY, to the extent permitted by law; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

      Applications.ApplicationTopic
      TopicType: DocuTopic, TopicFunction
      Summary: Render business details for a TriPage
      TWikiApplication: EmployeePortalApp
      r0 - 23 Aug 2007 - 09:52:07 - TWikiContributor
      © giant orange extension cord that reeks hip-hop, funk & soul