Skip to main content
Kinetic Community

Wrapper: Bundle

 

Wrappers are preinitialized Java objects that provide easy access to various settings within the bundle.  The Bundle wrapper contains methods to retrieve various path variables that can be used in any JSP page.

Methods

applicationPath()

Parameters:

Returns: String

Returns the URL path to the root of the web application.

Example

http://servername:port/kinetic/

bundlePath()

Parameters:

Returns: String

Returns the URL path to the root of the bundle.

Example

http://servername:port/kinetic/themes/BUNDLE_NAME/

packagePath()

Parameters:

Returns: String

Returns the URL path to the root of a package within the bundle.

Example

http://servername:port/kinetic/themes/BUNDLE_NAME/packages/PACKAGE_NAME/

relativeBundlePath()

Parameters:

Returns: String

Returns the relative URL path to the root of the bundle within the context of the web application.

Example

/kinetic/themes/BUNDLE_NAME/

 

relativePackagePath()

Parameters:

Returns: String

Returns the relative URL path to the root of the package within the context of the web application.

Example

/kinetic/themes/BUNDLE_NAME/packages/PACKAGE_NAME/