<ACTION_REF> : Action reference

Java class : leon.info.LyAction

ROLE

This tag enables to refer to an action previously defined inside the XML data model. The idref attribute should refer to an existing action; otherwise, an error would be raised during the parsing of the XML document.

ATTRIBUTES

<!ATTLIST ACTION_REF
	  id ID #IMPLIED
	  idref IDREF #REQUIRED
	  class IDREF #IMPLIED>
Attribute Mand. Description Default
id no Identifier of the new action built with the referenced action as template and the specified class info as parameter.  
idref yes Identifier of referenced action. This identifier should refer to one of the entities ACTION, COMPOUND_ACTION, TAB_ACTION. Otherwise, an error would be raised during the parsing process  
class no The class attribute should refer to a class defined inside the XML data model. When this attribute is filled in, a new action is created that will apply on objects of the given class. The name of this new action, as well as its group name and prefix are those of the referenced action if they are not null, otherwise, those of the referenced class are use instead.  

SAMPLE

<ACTION_REF idref="_consult"/>

<ACTION_REF idref="_table" class="User"/>