npsSelectObject

From version 6.7.0, the npsSelectObject tag is obsolete. Please use the npsField tag with the selectObject type instead.

<npsSelectObject name="selectedObj" objectTypes="image,generic" />

Using this element the user of the wizard is given the opportunity to select a file on a subpage. For this, an input field and a selection button is displayed. When the button is clicked, the selection page is opened. If a file is selected there, its path is taken over into the input field. The npsSelectObject element has the following attributes:

  • name contains the name of the parameter with which the ID of the file selected by the user is passed to the wizard.
  • value optionally contains the ID of a file. The path of this file is places into the input field as a default. This path overrides the preset values of startId and startPath .
  • startId and startPath allow you to specify the file initially selected in the file selection dialog. Only one of these two attributes may be given.
  • Using objectTypes, the types of the files displayed in the selection dialog can be restricted by their type. The value of this attribute is a comma-separated list. Folders are always visible.
  • Using selectMessage, you can have a text displayed to inform the user, for example, of the purpose of the file selection action.
  • isRequired specifies whether a file needs to be selected in the selection dialog or whether the dialog may also be cancelled. A file must be selected only if the value of this attribute is true.