Home
About
Policies
FAQ
Forums
Registration
Password Recovery

Index (MPI)

From Tapestries MUCK

Jump to: navigation, search

index

{index:propname}
{index:propname,obj}

Returns the string value of the property whose name is stored in the given property.

This sounds confusing, but it's basically just the same as

{prop:{prop:propname}}

If no object parameter is passed to it, it looks for both the index property and the referenced property somewhere down the environment from the trigger object. Otherwise, it looks down the environment from the object specified for both of them.

If either property is not found, this returns an empty string.

If the property that it tries to access is read restricted, and the owner of the trigger object does not own the object that the properties are found on, then the MPI script stops with a Permission denied error.

index!

{index!:propname}
{index!:propname,obj}

Returns the string value of the property whose name is stored in the given property.

This sounds confusing, but it's basically just the same as

{prop!:{prop!:propname}}

If no object parameter is passed to it, it looks for both the index property and the referenced property on the trigger object. Otherwise, it looks on the specified object for both of them.

If either property is not found, this returns an empty string. If the property that it tries to access is read restricted, and the owner of the trigger object does not own the object that the properties are found on, then the MPI script stops with a Permission denied error.

Personal tools
Namespaces
Variants
Actions
navagation
information
wiki
Toolbox