Xing 4 TWiki

Function: RenderSkillsEditor

Renders a skills editor

Documentation

This function is called by the edit templates to render the fields of the TriPage that are to be edited as part of the skills information.

Parameters
  • SOURCE: topic for which we render a skills editor

Css
  • empSkills

Implementation

%STARTINCLUDE%
~~~ <h2>Skills</h2>
~~~ <style type="text/css"> 
~~~   @import url('%PUBURLPATH%/Applications/EmployeePortalApp/styles.css'); 
~~~ </style>
~~~ <input type="hidden" name="SkillsTimeStamp" value="%DISPLAYTIME{"$epoch"}%" />
~~~  <div class="empHolder empEditHolder">
~~~  <div class="empTabNavigation">
~~~    <ul>
%~~      DBQUERY{"TopicType=~'\bCategory\b' AND Category=~'\bSkillsCategory\b'"
~~~        web="%BASEWEB%"
~~~        format="
~~~          <li id='tab$index'
~~~            $percntIFDEFINED{\"$index\" 
~~~              as=\"1\"
~~~              then=\" class='empCurrentTab'\"
~~~            }$percnt>
*~~            <a href=\"javascript:toggleTab('tab$index', 'empSkills')\">
*~~            $formfield(Title)</a>
*~~          </li>"
~~~      }%
~~~      <li id="tabOthers"><a href="javascript:toggleTab('tabOthers', 'empSkills')">Others</a></li>
~~~      <li id="tabHelp"><a href="javascript:toggleTab('tabHelp', 'empSkills')">Help</a></li>
~~~    </ul>
~~~  </div>
~~~  <table class="empBox" cellspacing="0" cellpadding="0" border="0">
~~~  <tr>
~~~    <td class="empBoxTopLeft" colspan="2"> </td>
~~~    <td class="empBoxTopRight" colspan="2"> </td>
~~~  </tr>
~~~  <tr>
~~~    <td class="empBoxLeft"> </td>
~~~    <td class="empBoxContent" colspan="2">
~~~  <noautolink>
~~~  <div class="empSkills" id="empSkills">
%~~    DBQUERY{"TopicType=~'\bCategory\b' AND Category=~'\bSkillsCategory\b'"
~~~      web="%BASEWEB%"
~~~      format="<div 
~~~        $percntIFDEFINED{\"$index\" 
~~~          as=\"1\" 
~~~          then=\" \" 
~~~          else=\" style='display:none'\"
~~~        }$percnt>
~~~        <h2><span title=\"$formfield(Summary)\">$formfield(Title)</span></h2>
~~~        $percntDBCALL{\"Applications.EmployeePortalApp.RenderSkillSelector\"
~~~          SOURCE=\"%SOURCE%\"
~~~          SKILLS=\"$topic\"
~~~        }$percnt
~~~        </div>"
~~~      }%
~~~      <div style="display:none">
~~~        <h2>Other skills</h2>
~~~        <textarea cols="75" rows="20" name="OtherSkills">
*~~ 
%~~        DBQUERY{topic="%SOURCE%" format="$n$formfield(OtherSkills)"}%
*~~        </textarea>
~~~      </div>
~~~      <div style="display:none">
~~~        <!-- -->%DBCALL{"Applications.EmployeePortalApp.TriPageHelp" section="skills"}%
~~~      </div>
~~~  </div>
~~~  </noautolink>
~~~    </td>
~~~    <td class="empBoxRight"> </td>
~~~  </tr>
~~~  <tr>
~~~    <td class="empBoxBottomLeft" colspan="2"> </td>
~~~    <td class="empBoxBottomRight" colspan="2"> </td>
~~~  </tr>
~~~  </table></div>
~~~ <script type="text/javascript" src="%PUBURL%/Applications/EmployeePortalApp/emp.js"></script>
~~~  
%STOPINCLUDE%

Test

  • SkillsLevel0:
  • SkillsLevel1:
  • SkillsLevel2:
  • SkillsLevel3:
  • SkillsLevel4:

Skills

Application Frameworks

  none wish theory practice expert

Architectures

  none wish theory practice expert

Business Comunication

  none wish theory practice expert

Business Intelligence

  none wish theory practice expert

Competences

  none wish theory practice expert

Databases

  none wish theory practice expert

Development tools

  none wish theory practice expert

Middleware

  none wish theory practice expert

Operating Systems

  none wish theory practice expert

Programming

  none wish theory practice expert

Security

  none wish theory practice expert

Solution Components

  none wish theory practice expert

Solution

  none wish theory practice expert

System Engineering

  none wish theory practice expert

Other skills

Help on the skills editor

  • None: no knowledge
  • Wish : knowledge (training) desired
  • Theory: some theoretical knowledge, attended a course, but little or no applied knowledge
  • Practice: practical knowledge available
  • Expert: expert in this field

Calls to 'RenderSkillsEditor'

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: Renders a skills editor
TWikiApplication: EmployeePortalApp
r0 - 22 Jul 2007 - 18:01:49 - TWikiContributor
© giant orange extension cord that reeks hip-hop, funk & soul