Installation
Eclipse Marketplace button (recommended)
Install StrutsClipse via Eclipse Marketplace button:
Drag and drop the button into a running Eclipse instance and follow the Eclipse Marketplace Client installation wizard.
Eclipse Marketplace Client
Install StrutsClipse via Eclipse Marketplace Client:
- In the Eclipse click
Help
->Eclipse Marketplace...
- Search for
StrutsClipse
. - Click Install button and follow the installation wizard.
Update Site
Install StrutsClipse from the update site:
- In the Eclipse click
Help
->Install New Software...
-
In the installation dialog type the following url into
Work with
field and hit enter.https://aleksandr-m.github.io/strutsclipse/update/
- Check the latest version of StrutsClipse and follow the installation wizard.
Manual Installation
Download
feature
and plugin
jars and put them in Eclipse features
and plugins
folders respectively.
For Apache Tiles support
Download additional
feature
and plugin
jars and put them in Eclipse features
and plugins
folders respectively.
Overview
StrutsClipse provides Eclipse IDE integration for developing Apache Struts2 based applications.
Struts XML
-
Content assist
- Package extends content assist
- Constant name content assist
- Bean class content assist
- Bean scope content assist
- Action name and method content assist
- Action class content assist
- Result type content assist
- Result name content assist
- Result body content assist
- Interceptor-ref content assist
- Default-interceptor-ref content assist
- Default-action-ref content assist
- Include tag file attribute content assist
-
Hyperlinks
- Package extends hyperlink
- Action method hyperlink
- Result body hyperlink
- Default-action-ref tag name attribute hyperlink
- Result tag type attribute hyperlink
- Default-interceptor-ref tag name attribute hyperlink
- Interceptor-ref tag name attribute hyperlink
- Action tag name attribute hyperlinks which lead to action validation XML-s or action validate methods
- Validation
- Quick Outline
Struts Validation XML
-
Content assist
- Validator tag type attribute content assist
- Field-validator tag type attribute content assist
Struts Tags
-
Content assist
- Form tag action attribute content assist
- Form tag namespace attribute content assist
- Url tag action attribute content assist
- Url tag namespace attribute content assist
- Link tag action attribute content assist
- Link tag namespace attribute content assist
- Action tag name attribute content assist
- Action tag namespace attribute content assist
- Submit tag action attribute content assist
- Include tag value attribute content assist
- Text tag name attribute content assist
- Theme attribute content assist
- getText content assist
-
Hyperlinks
- Form tag action attribute hyperlink
- Url tag action attribute hyperlink
- Link tag action attribute hyperlink
- Action tag name attribute hyperlink
- Submit tag action attribute hyperlink
- Text tag name attribute hyperlink
- getText hyperlink
Tiles XML
-
Content assist
- Definition tag template attribute content assist
- Definition tag extends attribute content assist
- Put-attribute tag value attribute content assist
-
Hyperlinks
- Definition tag extends attribute hyperlink
-
Validation
- Definition name validation
-
Quick Outline
- Improved Quick Outline
Struts XML
Content assist
Package tag extends attribute content assist
The list of proposals will show Struts2 standard packages names along with local package names.
Constant tag name attribute content assist
The list of proposals will show Struts2 default constants.
Bean tag class attribute content assist
The list of proposals will show java classes.
Bean tag scope attribute content assist
The list of proposals will show Struts2 bean scopes.
Action tag name and method attributes content assist
The list of proposals will show class methods suitable for action name/method.
Action tag class attribute content assist
The list of proposals will show java classes.
Result tag type attribute content assist
The list of proposals will show Struts2 result types.
Result tag name attribute content assist
The list of proposals will show Struts2 standard results names.
Result tag body content assist
Depending on the value of the result type attribute, the list of proposals will show different results.
Apache Tiles definitions from the tiles configuration files located in the project.
JSP and HTML files in the web directory.
FreeMarker ftl files in the web directory.
Actions in struts.xml.
Result tag body content assist will also work in the location param tag.
Hyperlinks
Package tag extends attribute hyperlink
Hyperlink to the Struts2 package declaration.
Action tag method attribute hyperlink
Hyperlink to the action class method declaration.
Result tag body hyperlink
Depending on the result type hyperlink to the Tiles definition or JSP, HTML, FreeMarker file or action.
Validation
Package name validation
Package tag names will be validated for duplicates.
Constant name validation
Constant tag names will be validated for duplicates.
Action name validation
Action tag names will be validated for duplicates.
Action method validation
Action tag method will be checked for existence.
Quick Outline
Improved Quick Outline
Improved Quick Outline with the search by the action tag name.