Hi there, I'm creating a form with Microsoft Forms at work. I need to display the actual icons of thumbs up/down when asking a question. However, it only gives me the options of choosing a number. This snippet is free and open source hence you can use it in your project.Bootstrap 4 Login form with social icons snippet example is best for all kind of projects.A great starter for your new awesome project with 1000+ Font Awesome Icons, 4000+ Material Design Icons and Material Design Colors at BBBootstrap.com.
This section explains how to specify the default location and search paths for icons and images in Registry.dat.
4.9.1 Managing Registry.dat with Application Server Control
Use Application Server Control to change, add, or delete parameters from Registry.dat.
To change a Registry.dat parameter value:
Select the Configuration page of Enterprise Manager.
From the View dropdown list, select Forms Font and Icon Mapping (Registry.dat).
Select a radio button next to a parameter and change the value(s) for it in the Value text field.
Click Apply.
Your changes are saved.
To add a Registry.dat parameter and its value:
Select the Configuration page of Enterprise Manager.
From the View dropdown list, select Forms Font and Icon Mapping (Registry.dat).
At the bottom of the Registry.dat page, enter a name for the parameter in the Name text field.
Enter a value for this new parameter in the Value text field.
Click Add New Parameter.
Your changes are saved.
To delete a Registry.dat parameter and its value:
Select the Configuration page of Enterprise Manager.
From the View dropdown list, select Forms Font and Icon Mapping (Registry.dat).
Select a radio button next to a parameter and click Delete.
The Confirmation page appears, click Yes.
The parameter is deleted and the Configuration page reappears.
4.9.2 Deploying Application Icons
When deploying an Oracle Forms application, the icon files used must be in a Web-enabled format, such as JPG or GIF (GIF is the default format).
By default, the icons are found relative to the DocumentBase
directory. That is, DocumentBase
looks for images in the directory relative to the base directory of the application start HTML file. As the start HTML file is dynamically rendered by the Forms Servlet, the forms
directory becomes the document base.
For example, if an application defines the icon location for a button with myapp/
, then the icon is looked up in the directory forms/myapp
.
To change the default location, set the imageBase
parameter to codebase
in the Forms Web Configuration page of Enterprise Manager Application Server Control Console. Alternatively, you can change the default.icons.iconpath
value of the Registry.dat file in the forms/java/oracle/forms/registry
directory.
Setting the imageBase parameter to codebase
enables Oracle Forms to search the forms/java
directory for the icon files. Use this setting if your images are stored in a Java archive file. Changing the image location in the Registry.dat configuration file is useful if you want to store images in a central location independent of any application and independent of the Oracle Forms installation.
4.9.2.1 Storing Icons in a Java Archive File
If an application uses a lot of custom icon images, it is recommended you store icons in a Java archive file and set the imageBase
value to codebase
. The icon files can be zipped to a Java archive via the Jar command of any Java Software Development Kit (Java SDK).
For example, the command jar -cvf myico.jar *.gif
packages all files with the extension .gif
into an archive file with the name myico.jar.
In order for Oracle Forms to access the icon files stored in this archive, the archive needs to be stored into the forms/java
directory. Also, the name of the archive file must be part of the archive tag used in the custom application section of the formsweb.cfg file (for example, archive_jini=frmall_jinit.jar, myico.jar
). Now, when the initial application starts, the icon files are downloaded to and permanently stored on the client until the archive file is changed.
Note: You do not need to deploy Oracle Forms default icons (for example, icons present in the default smart icon bar), as they are part of thefrmall.jar file. |
4.9.2.2 Adding Icon Changes to Registry.dat
If you want to add icon changes to the Registry.dat file used by your application, it is recommended that you make a copy of the existing Registry.dat file and edit the copied file.
To create a copy of the Registry.dat file:
Copy the Registry.dat text file found in the
ORACLE_HOME/forms/java/oracle/forms/registry
directory to another directory. This directory must be mapped to a virtual directory for your Web server (for example,/appfile
).Rename this new file (for example, myapp.dat).
Modify the
iconpath
parameter specifying your icon location:(for an absolute path)
or
(for a relative path, starting from the
DocumentBase
Directory)Modify the
iconextension
parameter:or
To reference the application file:
In a specific named configuration section in the formsweb.cfg file, modify the value of the
serverApp
parameter and set the value to the location and name of your application file.For example:
(for an absolute path)
or
Mighty mac lsc800 manual user. The Mackissic LSC800 is designed for applications where leaf shredding is the primary objective, this versatile machine also has a built-in chipper for larger branches up to 2-7/8' in diameter. Convenient lay-down design allows leaves to be raked directly into extra-large top hopper opening. A Mighty Mac® shredder-chipper is not simply a purchase; it is an investment. CHOOSE YOUR CHIPPER. Model lsc sc800. 12pt sc1650 sc183 sc262 tph122. GO MIGHTY MAC GO MACKISSIC m-111s1c. Starting manual manual manual or electric. The heart of the Mighty Mac shredder-chipper is the. Faced with leaf collection problems? Mighty Mac's® leaf-shredder-chippers can get rid of those leaves fast. The LSC can be operated in an upright position, where leaves can be dumped directly into the large hopper, or in a lay-down position where all you LSC800/LSC11 00 need to do are rake leaves towards the hopper. Mighty Mac Lsc800 Manual Downloads Mackissic Chipper Shredder Manual10 out of 10 based on 199 ratings. Back in 1947 when Elton 'Mac' MacKissic, Postmaster of Parker Ford, PA, first decided. A Mighty Mac® shredder-chipper is not simply a purchase; it is an investment. Manual manual manual or electric electric electric tractor pto tractor pto.
(for a relative path, relative to the
CodeBase
directory)Table 4-12, 'Icon Location Guide' describes the correct locations where to place your application icons:
Table 4-12 Icon Location Guide
Icon Location | When | How |
---|---|---|
DocumentBase | Default. Applications with few or no custom icons. | Store icons in forms directory or in a directory relative to forms. |
Java Archives | Applications that use many custom icons | Set |
Registry.dat | Applications with custom icons that are stored in a different location as the Oracle Forms install (can be another server). Useful if you need to make other changes to the Registry.dat file like font mapping. | Copy Registry.dat and change ServerApp parameter in formsweb.cfg. |
4.9.3 SplashScreen and Background Images
When you deploy your applications, you have the ability to specify a splash screen image (displayed during the connection) and a background image file.
Those images are defined in the HTML file or you can use the Forms Web Configuration page in Enterprise Manager:
The default location for the splash screen and background image files is in the DocumentBase directory containing the baseHTML file.
4.9.4 Custom Jar Files Containing Icons and Images
Each time you use an icon or an image (for a splash screen or background), an HTTP request is sent to the Web server. To reduce the HTTP round-trips between the client and the server, you have the ability to store your icons and images in a Java archive (Jar) file. Using this technique, only one HTTP round-trip is necessary to download the Jar file.
4.9.4.1 Creating a Jar File for Images
The Java SDK comes with an executable called jar. This utility enables you to store files inside a Java archive. For more information, see .
For example:
This command stores three files (Splash.gif
, Back.gif
, icon1.gif
) in a single Jar file called myico.jar
.
4.9.4.2 Using Files Within the Jar File
The default search path for the icons and images is relative to the DocumentBase. However, when you want to use a Jar file to store those files, the search path must be relative to the CodeBase
directory, the directory which contains the Java applet.
If you want to use a Jar file to store icons and images, you must specify that the search path is relative to CodeBase
using the imageBase parameter in the formsweb.cfg file or HTML file.
This parameter accepts two different values:
DocumentBase The search path is relative to the
DocumentBase
directory. It is the default behavior.CodeBase The search path is relative to the
CodeBase
directory, which gives the ability to use Jar files.
In this example, we use a JAR file containing the icons and we specify that the search should be relative to CodeBase. If the parameter imageBase
is not set, the search is relative to DocumentBase
and the icons are not retrieved from the Jar file.
For example (formsweb.cfg):
4.9.5 Search Path for Icons and Images
The icons and images search path depends on:
What you specify in your custom application file (for the icons).
What you specified in the
splashScreen
andbackground
parameters of your default Forms Web configuration or HTML file (for the images).What you specify in the
imageBase
parameter in the Forms Web Configuration page of Application Server Control for the file or HTML file (for both icons and images).
Forms Services searches for the icons depending on what you specify. This example assumes:
host is the computer name.
DocumentBase
is the URL pointing to the HTML file.CodeBase is the URL pointing to the location of the starting class file (as specified in the formsweb.cfg file or HTML file).
mydir is the URL pointing to your icons or images directory.
4.9.5.1 DocumentBase
The default search paths for icons and images are relative to the DocumentBase
. In this case, you do not need to specify the imageBase parameter:
Table 4-13 Search Paths for Icons
Location Specified | Search path used by Forms Services |
---|---|
default |
|
(specified in your application file) |
(relative path) |
(specified in your application file) |
(absolute path) |
Table 4-14 Search Paths for Images
Location Specified | Search path used by Forms Services |
---|---|
file.gif (specified, for example, in formsweb.cfg as splashscreen=file.cfg) |
|
|
(relative path) |
|
(absolute path) |
4.9.5.2 CodeBase
Use the imageBase=CodeBase
parameter to enable the search of the icons (Table 4-15) and images (Table 4-16) in a Jar file:
Table 4-15 Icon Search Paths Used by Forms Services
Forms Icon Image
Location Specified | Search Path Used by Forms Services |
---|---|
default |
|
Eventi. (specified in your application file) |
(relative path) |
(specified in your application file) |
(absolute path) No Jar file is used |
Table 4-16 Image Search Paths Used by Forms Services
Location Specified | Search Path Used by Forms Services |
---|---|
file.gif |
|
(specified in your HTML file) |
(relative path) |
(specified in your HTML file) |
(absolute path) No Jar file is used. |
Forms Icons Html
Icons can be a great addition to your HTML form. Not only will they make your form look great, they'll help avoid user mistakes. Humans can recognize pictures (like an envelope) much more quickly than they can read words (like 'Email').
To add icons to your form, you need to understand how to do 2 things:
- Append or prepend addons to your form fields
- Add icons to the addons using icon fonts
Form Field Addons
A typical Bootstrap form field looks like this:
We can prepend or append text or HTML to the field by wrapping the input with a .input-group
.input-group-addon
with the
. So, to prepend the earlier field with an @ would look like this:If we add the .input-group-addon
, then the text is appended to the
.You can apply CSS to the class .input-group-addon
to change the font color and background color of your addon. Here is a simple illustration:
Easy enough, right? The next step is to add HTML to create an icon within the .input-group-addon
Adding Icons to your Addons
The easiest way to add icons to your page is by by using font-based icons. Bootstrap supports Glyphicon icons out of the box. They look something like this:
To use these icons, you must:
- Make sure the font files will are located in the
./fonts/
directory, relative to the compiled CSS files. Boostrap expects this. - Create an HTML element (e.g.
) that you want to contain your icon.
- Add
.glyphicon
to the HTML element you want to contain an icon. - Add a class that specifies the icon you which to use (e.g
.glyphicon-minus
)
So, to prepend our email input with a Glyphicon input would require the following HTML:
Behind the scenes, Bootstrap CSS replaces the content of the with the character in the font that corresponds to an envelope to create the following result:
For a greater variety of icons (offered under a free MIT license), you might consider my personal favorite library: Font Awesome. Here is what the icons look like.
Font Awesome works the same way as the Glyphicon with a few tweaks. Here is how to use it:
- Embed Font Awesome on your webpage using a CDN. This is necessary because unlike Glyphicon, Font Awesome isn't part of Bootstrap CSS.
- Create an
element to contain your icon (this is a Font Awesome convention).
- Add
.fa
to theelement.
- Add a class that specifies the icon you which to use (e.g
.fa-minus
)
Select the Configuration page of Enterprise Manager.
From the View dropdown list, select Forms Font and Icon Mapping (Registry.dat).
Select a radio button next to a parameter and change the value(s) for it in the Value text field.
Click Apply.
Your changes are saved.
To add a Registry.dat parameter and its value:
Select the Configuration page of Enterprise Manager.
From the View dropdown list, select Forms Font and Icon Mapping (Registry.dat).
At the bottom of the Registry.dat page, enter a name for the parameter in the Name text field.
Enter a value for this new parameter in the Value text field.
Click Add New Parameter.
Your changes are saved.
To delete a Registry.dat parameter and its value:
Select the Configuration page of Enterprise Manager.
From the View dropdown list, select Forms Font and Icon Mapping (Registry.dat).
Select a radio button next to a parameter and click Delete.
The Confirmation page appears, click Yes.
The parameter is deleted and the Configuration page reappears.
4.9.2 Deploying Application Icons
When deploying an Oracle Forms application, the icon files used must be in a Web-enabled format, such as JPG or GIF (GIF is the default format).
By default, the icons are found relative to the DocumentBase
directory. That is, DocumentBase
looks for images in the directory relative to the base directory of the application start HTML file. As the start HTML file is dynamically rendered by the Forms Servlet, the forms
directory becomes the document base.
For example, if an application defines the icon location for a button with myapp/
, then the icon is looked up in the directory forms/myapp
.
To change the default location, set the imageBase
parameter to codebase
in the Forms Web Configuration page of Enterprise Manager Application Server Control Console. Alternatively, you can change the default.icons.iconpath
value of the Registry.dat file in the forms/java/oracle/forms/registry
directory.
Setting the imageBase parameter to codebase
enables Oracle Forms to search the forms/java
directory for the icon files. Use this setting if your images are stored in a Java archive file. Changing the image location in the Registry.dat configuration file is useful if you want to store images in a central location independent of any application and independent of the Oracle Forms installation.
4.9.2.1 Storing Icons in a Java Archive File
If an application uses a lot of custom icon images, it is recommended you store icons in a Java archive file and set the imageBase
value to codebase
. The icon files can be zipped to a Java archive via the Jar command of any Java Software Development Kit (Java SDK).
For example, the command jar -cvf myico.jar *.gif
packages all files with the extension .gif
into an archive file with the name myico.jar.
In order for Oracle Forms to access the icon files stored in this archive, the archive needs to be stored into the forms/java
directory. Also, the name of the archive file must be part of the archive tag used in the custom application section of the formsweb.cfg file (for example, archive_jini=frmall_jinit.jar, myico.jar
). Now, when the initial application starts, the icon files are downloaded to and permanently stored on the client until the archive file is changed.
Note: You do not need to deploy Oracle Forms default icons (for example, icons present in the default smart icon bar), as they are part of thefrmall.jar file. |
4.9.2.2 Adding Icon Changes to Registry.dat
If you want to add icon changes to the Registry.dat file used by your application, it is recommended that you make a copy of the existing Registry.dat file and edit the copied file.
To create a copy of the Registry.dat file:
Copy the Registry.dat text file found in the
ORACLE_HOME/forms/java/oracle/forms/registry
directory to another directory. This directory must be mapped to a virtual directory for your Web server (for example,/appfile
).Rename this new file (for example, myapp.dat).
Modify the
iconpath
parameter specifying your icon location:(for an absolute path)
or
(for a relative path, starting from the
DocumentBase
Directory)Modify the
iconextension
parameter:or
To reference the application file:
In a specific named configuration section in the formsweb.cfg file, modify the value of the
serverApp
parameter and set the value to the location and name of your application file.For example:
(for an absolute path)
or
Mighty mac lsc800 manual user. The Mackissic LSC800 is designed for applications where leaf shredding is the primary objective, this versatile machine also has a built-in chipper for larger branches up to 2-7/8' in diameter. Convenient lay-down design allows leaves to be raked directly into extra-large top hopper opening. A Mighty Mac® shredder-chipper is not simply a purchase; it is an investment. CHOOSE YOUR CHIPPER. Model lsc sc800. 12pt sc1650 sc183 sc262 tph122. GO MIGHTY MAC GO MACKISSIC m-111s1c. Starting manual manual manual or electric. The heart of the Mighty Mac shredder-chipper is the. Faced with leaf collection problems? Mighty Mac's® leaf-shredder-chippers can get rid of those leaves fast. The LSC can be operated in an upright position, where leaves can be dumped directly into the large hopper, or in a lay-down position where all you LSC800/LSC11 00 need to do are rake leaves towards the hopper. Mighty Mac Lsc800 Manual Downloads Mackissic Chipper Shredder Manual10 out of 10 based on 199 ratings. Back in 1947 when Elton 'Mac' MacKissic, Postmaster of Parker Ford, PA, first decided. A Mighty Mac® shredder-chipper is not simply a purchase; it is an investment. Manual manual manual or electric electric electric tractor pto tractor pto.
(for a relative path, relative to the
CodeBase
directory)Table 4-12, 'Icon Location Guide' describes the correct locations where to place your application icons:
Table 4-12 Icon Location Guide
Icon Location | When | How |
---|---|---|
DocumentBase | Default. Applications with few or no custom icons. | Store icons in forms directory or in a directory relative to forms. |
Java Archives | Applications that use many custom icons | Set |
Registry.dat | Applications with custom icons that are stored in a different location as the Oracle Forms install (can be another server). Useful if you need to make other changes to the Registry.dat file like font mapping. | Copy Registry.dat and change ServerApp parameter in formsweb.cfg. |
4.9.3 SplashScreen and Background Images
When you deploy your applications, you have the ability to specify a splash screen image (displayed during the connection) and a background image file.
Those images are defined in the HTML file or you can use the Forms Web Configuration page in Enterprise Manager:
The default location for the splash screen and background image files is in the DocumentBase directory containing the baseHTML file.
4.9.4 Custom Jar Files Containing Icons and Images
Each time you use an icon or an image (for a splash screen or background), an HTTP request is sent to the Web server. To reduce the HTTP round-trips between the client and the server, you have the ability to store your icons and images in a Java archive (Jar) file. Using this technique, only one HTTP round-trip is necessary to download the Jar file.
4.9.4.1 Creating a Jar File for Images
The Java SDK comes with an executable called jar. This utility enables you to store files inside a Java archive. For more information, see .
For example:
This command stores three files (Splash.gif
, Back.gif
, icon1.gif
) in a single Jar file called myico.jar
.
4.9.4.2 Using Files Within the Jar File
The default search path for the icons and images is relative to the DocumentBase. However, when you want to use a Jar file to store those files, the search path must be relative to the CodeBase
directory, the directory which contains the Java applet.
If you want to use a Jar file to store icons and images, you must specify that the search path is relative to CodeBase
using the imageBase parameter in the formsweb.cfg file or HTML file.
This parameter accepts two different values:
DocumentBase The search path is relative to the
DocumentBase
directory. It is the default behavior.CodeBase The search path is relative to the
CodeBase
directory, which gives the ability to use Jar files.
In this example, we use a JAR file containing the icons and we specify that the search should be relative to CodeBase. If the parameter imageBase
is not set, the search is relative to DocumentBase
and the icons are not retrieved from the Jar file.
For example (formsweb.cfg):
4.9.5 Search Path for Icons and Images
The icons and images search path depends on:
What you specify in your custom application file (for the icons).
What you specified in the
splashScreen
andbackground
parameters of your default Forms Web configuration or HTML file (for the images).What you specify in the
imageBase
parameter in the Forms Web Configuration page of Application Server Control for the file or HTML file (for both icons and images).
Forms Services searches for the icons depending on what you specify. This example assumes:
host is the computer name.
DocumentBase
is the URL pointing to the HTML file.CodeBase is the URL pointing to the location of the starting class file (as specified in the formsweb.cfg file or HTML file).
mydir is the URL pointing to your icons or images directory.
4.9.5.1 DocumentBase
The default search paths for icons and images are relative to the DocumentBase
. In this case, you do not need to specify the imageBase parameter:
Table 4-13 Search Paths for Icons
Location Specified | Search path used by Forms Services |
---|---|
default |
|
(specified in your application file) |
(relative path) |
(specified in your application file) |
(absolute path) |
Table 4-14 Search Paths for Images
Location Specified | Search path used by Forms Services |
---|---|
file.gif (specified, for example, in formsweb.cfg as splashscreen=file.cfg) |
|
|
(relative path) |
|
(absolute path) |
4.9.5.2 CodeBase
Use the imageBase=CodeBase
parameter to enable the search of the icons (Table 4-15) and images (Table 4-16) in a Jar file:
Table 4-15 Icon Search Paths Used by Forms Services
Forms Icon Image
Location Specified | Search Path Used by Forms Services |
---|---|
default |
|
Eventi. (specified in your application file) |
(relative path) |
(specified in your application file) |
(absolute path) No Jar file is used |
Table 4-16 Image Search Paths Used by Forms Services
Location Specified | Search Path Used by Forms Services |
---|---|
file.gif |
|
(specified in your HTML file) |
(relative path) |
(specified in your HTML file) |
(absolute path) No Jar file is used. |
Forms Icons Html
Icons can be a great addition to your HTML form. Not only will they make your form look great, they'll help avoid user mistakes. Humans can recognize pictures (like an envelope) much more quickly than they can read words (like 'Email').
To add icons to your form, you need to understand how to do 2 things:
- Append or prepend addons to your form fields
- Add icons to the addons using icon fonts
Form Field Addons
A typical Bootstrap form field looks like this:
We can prepend or append text or HTML to the field by wrapping the input with a .input-group
.input-group-addon
with the
. So, to prepend the earlier field with an @ would look like this:If we add the .input-group-addon
, then the text is appended to the
.You can apply CSS to the class .input-group-addon
to change the font color and background color of your addon. Here is a simple illustration:
Easy enough, right? The next step is to add HTML to create an icon within the .input-group-addon
Adding Icons to your Addons
The easiest way to add icons to your page is by by using font-based icons. Bootstrap supports Glyphicon icons out of the box. They look something like this:
To use these icons, you must:
- Make sure the font files will are located in the
./fonts/
directory, relative to the compiled CSS files. Boostrap expects this. - Create an HTML element (e.g.
) that you want to contain your icon.
- Add
.glyphicon
to the HTML element you want to contain an icon. - Add a class that specifies the icon you which to use (e.g
.glyphicon-minus
)
So, to prepend our email input with a Glyphicon input would require the following HTML:
Behind the scenes, Bootstrap CSS replaces the content of the with the character in the font that corresponds to an envelope to create the following result:
For a greater variety of icons (offered under a free MIT license), you might consider my personal favorite library: Font Awesome. Here is what the icons look like.
Font Awesome works the same way as the Glyphicon with a few tweaks. Here is how to use it:
- Embed Font Awesome on your webpage using a CDN. This is necessary because unlike Glyphicon, Font Awesome isn't part of Bootstrap CSS.
- Create an
element to contain your icon (this is a Font Awesome convention).
- Add
.fa
to theelement.
- Add a class that specifies the icon you which to use (e.g
.fa-minus
)
Using Font Awesome, we can create an envelope addon with this HTML:
An Easier Way: Form Builder
It is easy enough to create addons and icons, but it can quickly get tedious if you are making forms of any length. Fortunately, you can use our Bootstrap Form Builder to create adddons and add Font Awesome Icons to your fields. Here is what you need to do:
- Open our free Bootstrap Form Builder in your browser.
- Add a field from the 'Add a Field' tab
- Select 'Icon' from the Prepend or Append dropdown in the 'Edit Fields' tab
- Choose an icon from the icon picker window
- Style the icon's color and background color in the 'Settings' tab
Forms Icono
Reference: Learn more about addons in the official Bootstrap docs.