Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 2.69 KB

tag.client.md

File metadata and controls

25 lines (21 loc) · 2.69 KB

Client Tag

To develop with Efw, you need to import several .js and .css files into your JSP pages. The Client tag simplifies this process.

...
<%@ taglib prefix="efw" uri="efw" %>
<head>
...
<efw:Client baseurl="/appfolder" mode="jquery-ui" theme="base" lang="en" /> // efw:client or efw:CLIENT
...
</head>

Attributes

Name Required Default Description
baseurl No "." The web application base URL. This is required if your page is not in the base folder.
mode No "jquery-ui" Sets the UI framework to "jquery-ui" or "bootstrap".
theme No "base" Sets the theme for jQuery UI.
jQuery UI Themes:
base
Base Theme
black-tie
Black Tie Theme
blitzer
Blitzer Theme
cupertino
Cupertino Theme
dark-hive
Dark Hive Theme
dot-luv
Dot Luv Theme
eggplant
Eggplant Theme
excite-bike
Excite Bike Theme
flick
Flick Theme
hot-sneaks
Hot Sneaks Theme
humanity
Humanity Theme
le-frog
Le Frog Theme
mint-choc
Mint Choc Theme
overcast
Overcast Theme
pepper-grinder
Pepper Grinder Theme
redmond
Redmond Theme
smoothness
Smoothness Theme
south-street
South Street Theme
start
Start Theme
sunny
Sunny Theme
swanky-purse
Swanky Purse Theme
trontastic
Trontastic Theme
ui-darkness
UI Darkness Theme
ui-lightness
UI Lightness Theme
vader
Vader Theme
major No "4" Sets the major version for Bootstrap (2, 3, 4, or 5).
lang No "en" Sets the language. Language files should be located in the multi-language folder.
nopromise No "false" Set to "true" if your browser does not support JavaScript Promises.