This folder contains all the views that you create during
your development process, either using the XUI editor or generating
them automatically using any of the existing wizards.
Views can be organized inside the Views folder in a folder
structure. Then, if you right-click on the Views folder label and
select the New option, you are allowed to create either a folder or
a view.
The same occurs if having the Views folder selected, you go to
the Menu Bar and select the File > New option or you drop-down
the list of options in the icon
in the Tool Bar.
When selecting the Folder… option, the New Folder wizard
opens and asks for the new folder label and where the folder is to
be created; only a Views folder can be selected.
The View… option launches the XUI editor.
In the
Views folder, the views are labeled using the view Id and the folders
with the folder name. Folders appear first in the Views folder ordered
alphabetically and then you have the views also ordered in alphabetical
order; recursively, the views and subfolders inside a folder are ordered
following the same criteria.
When a folder is selected, the possible actions shown in the
context menu (right-clicking on the folder) are shown below:
When a view is selected, the possible actions shown in the
context menu (right-clicking on the view) are shown below:
- Page Preview. This option enables you to preview the layout
of the page in a web browser. For more details about this option,
go to section View Unit Test.
New
Only available if a folder is selected.
Inside a folder you can either create another folder or a view.
Open
Only available if a view is selected.
Opens the XUI editor. If you select several views, different editor
tabs are opened in the perspective. For a single view selection, the
Open action behaves the same as double-clicking on the view name.
Copy/Paste/Delete
Allows you to copy, paste
or delete the selected views or folders (multiple selection is allowed).
When you copy a view, you will only be allowed to paste it
on another Views folder or subfolder, either using the context menu
Paste option or using the associated short-key.
The Paste option is only available when one or several views
or folders in this project or any other project in the workspace have
been copied to the perspective clipboard. All copied views and folders
are pasted to the same destination folder.
When you delete a view or folder, you are prompted for confirmation.
If you press OK the elements will be deleted from your development
environment.
If you want to verify the actual files that are going to
be deleted from the system, you can click on the Preview button:
Note: although you are allowed to uncheck some of
the actions that are listed in the Preview view, this is not recommended
as may generate inconsistencies in your development environment.
Move…/Rename…
Allows you to move or rename
the selected view or folders.
When selecting the Move… option, the Move Resources
wizard opens to choose the destination folder. A view or folder can
only be moved to another Views folder or subfolder and the origin
folder cannot be selected. When selecting several views and folders,
all of them will be moved to the same destination folder.
If you want to verify the actual files that are going to be moved
as a result of your action or if there is any problem (for instance,
a resource with the same name already exists in the destination folder),
you can click on the Preview button:
The
Rename… option is only used with a single selection.
If several views and folders are selected, the Rename… will apply
to the first element in the list. When selecting the Rename… option,
the Rename Resource wizard opens to choose the new name. The name
you enter has to be with no extension.
If you want to verify the actual files that are going
to be renamed as a result of your action or if there is any problem
(for instance, a resource with the same name already exists in the
destination folder), you can click on the Preview button.
Note: although you are allowed to uncheck some of
the actions that are listed in the Preview view, this is not recommended
as may generate inconsistencies in your development environment.
These options are also available when selecting the File option
in the Menu Bar: