Skip to main content

EnsPortal.Component.fileSelector

class EnsPortal.Component.fileSelector extends %ZEN.Component.composite

Property Inventory

Method Inventory

Parameters

parameter DOMAIN = Ensemble;
parameter USECOMMONDIRECTORY = 1;
Inherited description: If true, then the include files generated for this component, are placed in the common /csp/broker directory and not the local /csp/*namespace* directory.
This is intended for use with packages that are mapped so as to be visible to every namespace.
All Zen classes within the same package must have the same value for this parameter. It is the developer's responsibility to ensure this.

Properties

property wildcard as %ZEN.Datatype.string [ InitialExpression = "*" ];
Property methods: wildcardDisplayToLogical(), wildcardGet(), wildcardIsValid(), wildcardLogicalToDisplay(), wildcardLogicalToOdbc(), wildcardNormalize(), wildcardSet()

Methods

clientmethod createChildren(form) [ Language = javascript ]
Create children on client side so we can use them immediately. Note that the server may substitute fresh code-generated objects later.
clientmethod getForm() [ Language = javascript ]
clientmethod getProperty(property, key) as %String [ Language = javascript ]
Return the value of a named property (i.e. a setting).
Returns null if this is not a property of this object.
key is an optional argument used for properties (such as collections) that may need a key to find a specific value.
final clientmethod getValue() [ Language = javascript ]
clientmethod onDisplayHandler() [ Language = javascript ]
This client callback is called from exposeComponent after the element has been displayed on the screen. This ia a synthetic event that fires when the page is first displayed, when the component or its containing group is refreshed from the server, or when the component or its containing group is displayed via a programmatic 'show()' call. Note that setting the style.display value from JavaScript DOES NOT trigger this event
final clientmethod onRefreshContents() [ Language = javascript ]
The server has just installed us as a fresh code-generated component. Recover the old value and replace ourselves in the page list.
clientmethod setProperty(property, value, value2) [ Language = javascript ]
Set the value of a named property.
Assume that subclasses that simply wrap HTML controls have named the control 'control' or else have overridden this method.
final clientmethod setValue(value, value2) [ Language = javascript ]
Client-side method to set the value associated with this control. value2 is an optional, second parameter used by some controls (such as dataCombo).
clientmethod showFileSelect() [ Language = javascript ]
Helper method to wrap the main selectFile() function in the containing page.

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab