Oracle® Fusion Middleware Idoc Script Reference Guide 11g Release 1 (11.1.1) Part Number E10726-01 |
|
|
View PDF |
Specifies that an include is being used inside JavaScript. It is used to determine how metadata fields are uploaded.
When set to TRUE, the include is being used inside JavaScript.
When set to FALSE, the include is being used inside JavaScript.
Type and Usage
Output
Returns TRUE if the include is being used inside JavaScript.
Returns FALSE if the include is not being used inside JavaScript.
Example
Set in the include that defines the JavaScript wrapper:
<@dynamichtml std_upload_java_script@> <script language="JavaScript"> // Java script for uploading. <$isUploadFieldScript = 1$> <$include std_upload_info_script$> <$isUploadFieldScript = ""$> </script> <@end@>
Used as script:
<$if isUploadFieldScript$> <$defaultFieldInclude = "std_file_entry"$> <$else$> <$defaultFieldInclude = "std_nameentry_row"$> <$fieldCaptionInclude = "std_field_caption"$> <$fieldEntryInclude = "std_file_entry"$> <$endif$>