atom

Description

Wpart responsible for storing the atoms inside the database.

The user's input is converted to the existing Erlang atom. If there is no such atom inside the Erlang Virtual Machine, validation will fail. The existence assumption has been made because of the security reasons - in order to prevent reaching the maximum number of atoms limit.

The rendered widget is <input type="string" ... />.

Validation

option

format

description

error message

existence

N/A

atom has to exist inside the Erlang Virtual machine (list_to_existing_atom/1 is used)

{not_existing, Input}

HTML meta-attributes

name

format

description

Examples

Records definitions

...
{atom, [ %% other parameters
       ]
},
...

HTML tag

<wpart:atom OTHER_HTML_ATTRIBUTES />

Wparts/BasicTypes/atom (last edited 2009-02-13 11:10:22 by Michal Ptaszek)