|
|||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||
| Uses of PBEAttributeAction in |
| Subclasses of PBEAttributeAction in | |
class |
PBEConvertFilter
This filter converts to a give type. |
class |
PBEEmbedFilter
This filter places the output within a particular HTML context. |
class |
PBEFilter
|
class |
PBEFormatFilter
Description: PBEFormatFilter can be used to declare the input and output formats for values of common datatypes, such as date, time, timestamp, etc. For output a single format definition can be declared and for input one or more format definitions can be declared, according to which data conversion will take place. For example it is possible to allow various input formats for a single attribute, which can help making applications more flexible and as such more userfriendly. Event String Action Name: format Syntax: format( type, format_definition ) format( type, format_definition | format_definition ) format( type, format_definition | format_definition | ... ) Parameters type - specifies the type of input expected or the type data should be converted to before being output. Allowed values for type include date, datetime, decimal, float, money, time, timestamp. format_definition - one or more format definitions. |
class |
PBEMapFilter
This action maps an internal to external representation. |
class |
PBEMatchAction
|
class |
PBERangeAction
Description: PBERangeAction sets a range of valid values on an attribute. PBERangeAction can be used in attribute events. Event String Action Name: range Syntax: range( from, to ) Parameters from - Start of range. to - End of range. Examples: PBE:attributeEvent( "customer", "discount", "after:input:range(0.0,100.0)"); In this example an input value range from 0.0 to 100.0 is declared for the attribute "discount" of object "customer". This example can be found in the file "initdemo.pbt" of the "PBE Demo" module (approx. line 252). |
class |
PBERequiredAction
Description: PBERequiredAction declares an attribute as required. PBERequiredAction can be used in attribute events. Event String Action Name: required Syntax: required Parameters PBERequiredAction does not support any parameters. Examples: PBE:attributeEvent( "product", "name", "on:new,save:required"); In this example the attribute "name" of object "products" is declared required on activation of the methods "new" and "save". This example can be found in the file "initdemo.pbt" of the "PBE Demo" module (approx. line 264). |
class |
PBESetMaxAction
Description: PBESetMaxAction looks up the highest current value of this attribute in all rows of this object. |
class |
PBEUniqueAction
Description: PBEUniqueAction declares an attribute as unique. |
|
|||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||