NAME
sdtwebaction - CDE web actions
AVAILABILITY
SUNWdtdst
SYNOPSIS
Open html-file
Open url-file
Edit url-file
Edit html-file
EditTarget url-file
Print url-file
SDtWebClient [ html-file | url-file ]
WebBrowser [ html-file | url-file ]
SDtHtmlEditor [ html-file ]
HtmlEditor [ html-file ]
DESCRIPTION
The CDE Web Services support the following web actions:
Open html-file
Open url-file
Refer to the WebBrowser action description below.
Edit url-file
Open a text editor on the url-file argument directly.
Edit html-file
Refer to the HtmlEditor action description below.
EditTarget url-file
Edit the file referenced by the URL as appropriate for
that file's datatype. This action only applies to
FILE_URL datatypes (see DATATYPES below).
Print url-file
Print the view of the URL contained within the url-file
argument.
SDtWebClient [ html-file | url-file ]
Open a view of an available web browser using sdtweb-
client. If no argument is specified, the web browser's
default home page is viewed. If a html-file argument
is specified, the HTML file is viewed. If a url-file
argument is specified, the URL contained within that
file is viewed.
WebBrowser [ html-file | url-file ]
Open a view of the user's preferred web browser. If no
argument is specified, the web browser's default home
page is viewed. If a html-file argument is specified,
the HTML file is viewed. If a url-file argument is
specified, the URL contained within that file is
viewed.
SDtHtmlEditor [ html-file ]
Open an HTML editor. This action is mapped to the
SDtNetscapeComposer action. If no argument is speci-
fied, a blank page is presented. If a html-file argu-
ment is specified, the HTML file is opened for editing.
HtmlEditor [ html-file ]
Open the user's preferred HTML editor. If no argument
is specified, a blank page is presented. If a html-
file argument is specified, the HTML file is opened for
editing.
These actions can be invoked from an application using the
DtActionInvoke(3) function or invoked from a command line
using the dtaction(1) utility.
USER PREFERENCES
The user's preferred web browser defaults to the SDtWeb-
Client action and the user's preferred HTML editor defaults
to the SDtHtmlEditor action.
The WebBrowser action can be modified to specify the pre-
ferred browser by creating a map action as follows:
ACTION WebBrowser
{
LABEL Web Browser
ICON <iconname>
TYPE MAP
MAP_ACTION <desired action defining the browser>
}
The HtmlEditor action can be modified to specify the pre-
ferred HTML editor by creating a map action as follows:
ACTION HtmlEditor
{
LABEL HTML Editor
ICON <iconname>
TYPE MAP
MAP_ACTION <desired action defining the HTML editor>
}
This would normally be saved in an action file such as
$HOME/.dt/types/user-prefs.dt.
DATATYPES
The above actions use the URL (Uniform Resource Location)
datatypes which include:
WEB_URL Specifies a web (e.g. http:) URL; handled by
the WebBrowser action.
FILE_URL Specifies a local file URL; handled by the CDE
DataTyping and Action Service.
RLOGIN_URL Specifies a terminal login URL; handled by the
Terminal action.
MAILTO_URL Specifies a mail compose URL; handled by the
CDE Mailer Services.
FILES
/usr/dt/appconfig/types/C/sdturl.dt URL datatypes
/usr/dt/appconfig/types/C/sdtweb.dt Web actions
/usr/dt/appconfig/types/C/user-prefs.dt Default preferences
$HOME/.dt/types/user-prefs.dt User preferences
SEE ALSO
dtaction(1), sdtwebclient(1), DtActionInvoke(3), dtfileac-
tion(5), dtmailaction(5), dttermaction(5), dttextaction(5),
sdthotjavaaction(5), sdtnetscapeaction(5)
|
Закладки на сайте Проследить за страницей |
Created 1996-2025 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |