0. |
|
Overview: You encounted and error
Whoops!!!
OK,
we are almost there, however, I wasn't able to
update
the InstanceParam so that page will call the
method, dynamicPageOnStateMenuItem()
that is located in the JavaScript file,
swapJs_DynamicPage.js, that was copied in the
same folder as your
dynamic page.
WORKAROUND:
You
will need to manually change the Template Parameter for the dynamic page via
- Open the Dynamic Page in question.
- Goto Modify
--> Template Properties
- Change OR
Add to the Parameter, onLoadEventAddendum,
the following value: dynamicPageOnStateMenuItem();
note: include the semi-colon
- If you have other JavaScript calls, like wanting
to set the focus of the cursor, simply add the
additional code next to it.
For example:
- dynamicPageOnStateMenuItem();document.myForm.mySearchTextBox.focus();
OR
- dynamicPageOnStateMenuItem();document.myForm.myLoginID.focus();
What this will do is add the same information above to the BODY
tag's onLoad event.
NOTE: because you got this message means you either didn't let
the template parameter,
onLoadEventAddendum pass through, OR onLoadEventAddendum doesn't exist in the SUPER template in the first place; which means you will
have to place that snippert of code there manually, which is really simple to
do anyway.
So just follow the steps above
and if you have any
questions
or
problems,
please do contact customer
support.
|
|