|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
Object
|
+--PBEAction
|
+--PBECondition
|
+--PBESelectedCondition
PBESelectedCondition returns $true if the specified row is the selected row of the object this event is declared on.PBESelectedCondition can be used in object and attribute events.
selected
selected( position )
position - Position can either be "first", "last" or an absolute row number.
PBE:attributeEvent( "customers", "name", "after:find:fetch(first) if selected(0) set('This is the empty-record!', status)");This event causes the first record after activation of the "find" method on object "customers" to be fetched. If the search did not find any records, the empty-record (index 0) would still be selected after fetch(first) and thus the attribute "status" would be set to "This is the empty-record!" to provide feedback to the user.
| Fields inherited from class PBEAction |
iParameters,
iType,
name,
procName |
| Constructor Summary | |
PBESelectedCondition(varchar name)
|
|
| Method Summary | |
varchar |
parameters()
|
| Methods inherited from class PBECondition |
checkEvent,
tracePerform |
| Methods inherited from class PBEAction |
actionArguments,
actionCall,
actionParameters,
attributeReference,
callString,
getObject,
methodReference,
nestedInput,
objectReference,
parameter,
perform,
performParameterCount,
printPerform |
| Constructor Detail |
public PBESelectedCondition(varchar name)
| Method Detail |
public varchar parameters()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||