DynamicContent
Tag containerActionParam


Description

This tag defines a parameter passed to an action defined in the container.

Examples

The following example shows how paramaters can be added to containerActionScript tags. First, an executeContainerAction tag is placed on the page to define a call to a container action.

<dc:executeContainerAction action="addNumbers" dcContainerId="outputContainer"
  var="addNumbersVar"/>

Next, a form is defined that will allow users to enter date that will be passed into container actions as parameters.
<form>
  <input type="text" id='number1'/>
  +
  <input type="text" id='number2'/>
  <input type="button" onclick="${addNumbersVar}" value="Add Numbers"/>
</form>

Finally, we define the dynamic content container. We use the form field ids as the values for the parameters passed into the container action.
<dc:container dcContainerId="outputContainer">
  <dc:containerActionScript action="resetDynamicContentContainer"
    initial="true"/>
  <dc:containerActionScript action="addNumbers">
    <dc:containerActionParam name="number1" inputId="number1"/>
    <dc:containerActionParam name="number1" inputId="number2"/>
  </dc:containerActionScript>
</dc:container>


Tag Information
Tag Classcom.bea.apps.groupspace.taglib.dynamiccontent.ContainerActionParamTag
TagExtraInfo ClassNone
Body ContentNone
Display NameDynamicContent Container Action Parameter

Attributes
NameRequiredRequest-timeDescription
nametruetrue The name of the parameter.
valuefalsetrue The value of the parameter.
inputIdfalsetrue An HTML form element id that contains a value to be set as the parameter value.
jsEvalfalsetrue An JavaScript expression whose result will be set as the parameter value.

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator.

Copyright © 2008, ${product.vendor} and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.