component

Description: Call another stage in component mode.
The parameters must be passed in a String in the following format: "param1=value, param2=value, ...".

JavaDoc: Click here

Body content: Empty. All enclosed content will be ignored.

Attributes:

Name Description Data type Required Default value
stageID The stage id we wish to include String Yes -
parameters A map of parameters to pass to the component stage String No -
renderImmediate If T will render the component. Useful for AJAX rendered page parts where we wish to load it only on a specific event. Boolean No True
showMask if T the component show a mask when refreshing. Boolean No True

Examples:

<dif:document>
    <dif:component stageID="header" />
    <dif:component stageID="leftnavbar" />

   ...

    <dif:component stageID="footer" />
</dif:document>

Back to tag reference