Name | Bootstrap Plugin |
---|---|
Publisher | |
License | Open Source (ASL2) |
Version |
5. |
0.1 | |
Compatibility | Struts |
---|
6.1. |
0 + |
Homepage |
---|
Download |
---|
Showcase |
---|
https://struts.jgeppert.com/struts2-bootstrap-showcase/index.action |
...
Overview
A Plugin for simple Twitter Bootstrap integration into Struts2.
...
Copy the struts2-bootstrap-plugin.jar into your WEB-INF/lib path.
Maven
Code Block |
---|
<dependencies>
...
<dependency>
<groupId>com.jgeppert.struts2.bootstrap</groupId>
<artifactId>struts2-bootstrap-plugin</artifactId>
<version>1.6.1</version>
</dependency>
...
</dependencies>
|
Usage
Prepare your JSP
Include the Taglib and use the HeadTag to load necessary resources.
Code Block |
---|
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="sb" uri="/struts-bootstrap-tags" %>
<!DOCTYPE html>
<html lang="en">
<head>
...
<!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<sb:head/>
</head>
<body>
...
</body>
</html>
|
Use the Bootstrap Form Theme
...
Resources
Version History
Version | Date | Author | Notes |
---|---|---|---|
5.0.1 | Mar 21, 2023 | Version 5.0.1 | |
2.0.3 | Jul 17, 2015 | Version 2.0.3 | |
2.0.1 | Jan 22, 2015 | Version 2.0.1 | |
2.0.0 | Mai 20, 2014 | Version 2.0.0 | |
1.5.2 | Nov 10, 2012 |
Version 1.5.2 | |
1.5.1 | Sep 17, 2012 |
Version 1.5.1 | |
1.5.0 | Aug 23, 2012 |
Version 1.5.0 | |
1.4.3 | Mai 13, 2012 |
Version 1.4.3 | |
1.4.2 | Apr 2, 2012 |
Version 1.4.2 | |
1.4.1 | Mar 29, 2012 |
Version 1.4.1 | |
1.4.0 | Mar 26, 2012 |
Version 1.4.0 | |
1.3.0 | Feb 22, 2012 |
Version 1.3.0 | |
1.2.1 | Feb 17, 2012 |
Version 1.2.1 | |
1.2.0 | Feb 4, 2012 |
Version 1.2.0 |