Xing 4 TWiki

Function: RenderBusinessDetailsEditor

Renders an editor for the business details data of an EmployeePortal

Documentation

TODO

Parameters
  • SOURCE: topic for which we render a business details editor

Css

Implementation

%STARTINCLUDE%
~~~ <h2>Business details</h2>
~~~ <style type="text/css"> 
~~~   @import url('%PUBURLPATH%/Applications/EmployeePortalApp/styles.css'); 
~~~ </style>
~~~ <input type="hidden" name="BusinessDetailsTimeStamp" value="%DISPLAYTIME{"$epoch"}%" />
%~~ DBQUERY{topic="%SOURCE%"
~~~  format="
~~~  <div class=\"empHolder empEditHolder\">
~~~  <table class=\"empBox empTopBox\" 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=\"empBusinessDetails\">
~~~    <table class=\"empDetailsTable\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\">
~~~      <tr>
~~~        <th class=\"empTableFirstCol\">Company</th>
~~~        <td> 
~~~          <input type=\"text\" size=\"30\" name=\"Company\" 
~~~                 value=\"$percntENCODE{\"$formfield(Company)\" type=\"entity\"}$percnt\" /> 
~~~        </td>
~~~        <th>Title</th>
~~~        <td>
~~~          <input type=\"text\" size=\"30\" name=\"Title\" 
~~~                 value=\"$percntENCODE{\"$formfield(Title)\" type=\"entity\"}$percnt\" />
~~~        </td>
~~~        <th>URL</th>
~~~        <td>
~~~          <input type=\"text\" size=\"30\" name=\"CompanyURL\" 
~~~                 value=\"$percntENCODE{\"$formfield(CompanyURL)\" type=\"entity\"}$percnt\" />
~~~        </td>
~~~      </tr>
~~~      <tr>
~~~        <th class=\"empTableFirstCol\">Industry</th>
~~~        <td colspan=\"5\"> 
~~~          <input type=\"text\" size=\"75\" name=\"Industry\" 
~~~                 value=\"$percntENCODE{\"$formfield(Industry)\" type=\"entity\"}$percnt\" />
~~~        </td>
~~~      </tr>
~~~      <tr>
~~~        <th class=\"empTableFirstCol\">OtherCompanies</th>
~~~        <td> 
~~~          <input type=\"text\" size=\"30\" name=\"OtherCompanies\" 
~~~                 value=\"$percntENCODE{\"$formfield(OtherCompanies)\" type=\"entity\"}$percnt\" /> 
~~~        </td>
~~~        <th>Title</th>
~~~        <td>
~~~          <input type=\"text\" size=\"30\" name=\"OtherCompaniesTitle\" 
~~~                 value=\"$percntENCODE{\"$formfield(OtherCompaniesTitle)\" type=\"entity\"}$percnt\" />
~~~        </td>
~~~        <th>URL</th>
~~~        <td>
~~~          <input type=\"text\" size=\"30\" name=\"OtherCompaniesURL\" 
~~~                 value=\"$percntENCODE{\"$formfield(OtherCompaniesURL)\" type=\"entity\"}$percnt\" />
~~~        </td>
~~~      </tr>
~~~      <tr>
~~~        <th class=\"empTableFirstCol\">PreviousCompanies</th>
~~~        <td>
~~~          <input type=\"text\" size=\"30\" name=\"PreviousCompanies\" 
~~~                 value=\"$percntENCODE{\"$formfield(PreviousCompanies)\" type=\"entity\"}$percnt\" /> 
~~~        </td>
~~~        <th>Title</th>
~~~        <td>
~~~          <input type=\"text\" size=\"30\" name=\"PreviousCompaniesTitle\" 
~~~                 value=\"$percntENCODE{\"$formfield(PreviousCompaniesTitle)\" type=\"entity\"}$percnt\" />
~~~        </td>
~~~        <th>URL</th>
~~~        <td>
~~~          <input type=\"text\" size=\"30\" name=\"PreviousCompaniesURL\" 
~~~                 value=\"$percntENCODE{\"$formfield(PreviousCompaniesURL)\" type=\"entity\"}$percnt\" />
~~~        </td>
~~~      </tr>
~~~      <tr>
~~~        <th class=\"empTableFirstCol\">Universities</th>
~~~        <td colspan=\"5\">
~~~          <input type=\"text\" size=\"75\" name=\"Universities\" 
~~~                 value=\"$percntENCODE{\"$formfield(University)\" type=\"entity\"}$percnt\" />
~~~        </td>
~~~      </tr>
~~~      <tr>
~~~        <th class=\"empTableFirstCol\">Organizations</th>
~~~        <td colspan=\"5\">
~~~          <input type=\"text\" size=\"75\" name=\"Organizations\" 
~~~                 value=\"$percntENCODE{\"$formfield(Organizations)\" type=\"entity\"}$percnt\" />
~~~        </td>
~~~      </tr>
~~~      <tr>
~~~        <th class=\"empTableFirstCol\">Contacts</th>
~~~        <td colspan=\"5\">
~~~          <input type=\"text\" size=\"75\" name=\"Contacts\" 
~~~                 value=\"$percntENCODE{\"$formfield(Contacts)\" type=\"entity\"}$percnt\" />
~~~        </td>
~~~      </tr>
~~~      <tr>
~~~        <th class=\"empTableFirstCol\">Groups</th>
~~~        <td colspan=\"5\">
~~~          <input type=\"text\" size=\"75\" name=\"Groups\" 
~~~                 value=\"$percntENCODE{\"$formfield(Groups)\" type=\"entity\"}$percnt\" />
~~~        </td>
~~~      </tr>
~~~      <tr>
~~~        <th class=\"empTableFirstCol\">Courses</th>
~~~        <td colspan=\"5\">
~~~          <input type=\"text\" size=\"75\" name=\"Courses\" 
~~~                 value=\"$percntENCODE{\"$formfield(Courses)\" type=\"entity\"}$percnt\" />
~~~        </td>
~~~      </tr>
~~~      <tr>
~~~        <th class=\"empTableFirstCol\">LanguageSkills</th>
~~~        <td colspan=\"5\">
~~~          <input type=\"text\" size=\"75\" name=\"LanguageSkills\" 
~~~                 value=\"$percntENCODE{\"$formfield(LanguageSkills)\" type=\"entity\"}$percnt\" />
~~~        </td>
~~~      </tr>
~~~      <tr>
~~~        <th class=\"empTableFirstCol\">Projects</th>
~~~        <td colspan=\"5\">
~~~          <input type=\"text\" size=\"75\" name=\"Projects\" 
~~~                 value=\"$percntENCODE{\"$formfield(Projects)\" type=\"entity\"}$percnt\" />
~~~        </td>
~~~      </tr>
~~~      <tr>
~~~        <th class=\"empTableFirstCol\">KnowHow</th>
~~~        <td colspan=\"5\">
~~~          <input type=\"text\" size=\"75\" name=\"KnowHow\" 
~~~                 value=\"$percntENCODE{\"$formfield(KnowHow)\" type=\"entity\"}$percnt\" />
~~~        </td>
~~~      </tr>
~~~    </table>
~~~  </div>
~~~  </noautolink>
~~~    </td>
~~~    <td class=\"empBoxRight\"> </td>
~~~  </tr>
~~~  <tr>
~~~    <td class=\"empBoxBottomLeft\" colspan=\"2\"> </td>
~~~    <td class=\"empBoxBottomRight\" colspan=\"2\"> </td>
~~~  </tr>
~~~  </table></div>"
~~~ }%
~~~  
%STOPINCLUDE%

Test

Business details

Company Title URL
Industry
OtherCompanies Title URL
PreviousCompanies Title URL
Universities
Organizations
Contacts
Groups
Courses
LanguageSkills
Projects
KnowHow

Calls to 'RenderBusinessDetailsEditor'

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 an editor for the business details data of an EmployeePortal
TWikiApplication: EmployeePortalApp
r0 - 06 Jul 2007 - 13:06:07 - TWikiContributor
© giant orange extension cord that reeks hip-hop, funk & soul