Class PBEPageCondition

Object
  |
  +--PBEAction
        |
        +--PBECondition
              |
              +--PBEPageCondition

public class PBEPageCondition
extends PBECondition


Description:
PBEPageCondition returns $true if the current page name is in the list of page names specified, otherwise it returns $false.

PBEPageCondition can be used in object and attribute events.


Event String Action Name:
page


Syntax:

page( csv_page_name_list )


Parameters
csv_page_name_list - A comma separated list of page names.


Examples:
 PBE:objectEvent(
   "product",
   "after:new:if page('product.lml,productitem.lml,productfeedback.lml') goto(productadded.lml)");
 
This event causes the browser to be redirected to the page "productadded.lml" after a new record has been added to object "product" from one of the pages listed ("product.lml,productitem.lml,productfeedback.lml").


Fields inherited from class PBEAction
iParameters, iType, name, procName
 
Constructor Summary
PBEPageCondition()
           
 
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

PBEPageCondition

public PBEPageCondition()
Method Detail

parameters

public varchar parameters()
Overrides:
parameters in class PBEAction