FeaturesPluginsDocs & SupportCommunityPartners

Framework Support in Web Project

UI Specification


Creating New Web Project

Web Application

In the new project wizard, the third wizard panel offers all registered frameworks in the IDE. User can select more than one framework.

The frameworks can provide their own setup panels, so if user is selecting a framework with configuration panel, then the panel is displaed under the table with frameworks. See the next picture, where Struts 1.2.7 is selected and its configuration panel is displayed.

By default no framework is selected and the wizard can be finished in the second step - Name and Location.

If there are no registered framework, then the Frameworks step is not offered.



Web Application with Existing Sources


Wizard is not influenced. User is able to add a framework through the customizer.


Web Application with Existing Ant Script

User is not able to create new free form project with framework support and is not able add a framework through the customizer as well.


Customizing projects

Web Application

There is new node Frameworks in the Web Application customizer. When user selects this category, then on the right side already used frameworks are displayed in the list box. The height is for four rows (we don't expect, that user will used plenty of extensions in one project).

When user select an used extension, then it's configuration panel is displayed under the list box. When the extension doesn't provide any customize panel, then the area is blank.

The figure next shows, that Struts is always part of the web project. Because the Struts is selected, the Struts configuration panel is displayed.

User can add new framework thought the button Add ... .



Adding an extension to already existing web application

After pressing Add... button (see the picture above), the dialog for adding frameworks is displayed.  User can select more than one frameworks.

If the added framework has configuration panel, then the panel is accessible in the customizer.

The dialog displays only extensions, which are not added yet.





Web Application with Existing Sources

The customizer has also category Frameworks and the panel is exactly the same as customizer has for Web Application.



Web Application with Existing Ant Script

There is no customizer for this kind of project.

New Jsp Wizard

Change in new JSP wizard

In the new jsp file wizard is added the third step - Library Import. There are displayed all tag libraries, which are on the web project class path. User mark the check box (one or more) and after pressing finish button the appropriate imports are in the result page.

User can also change the prefix text here.

At firs time for every project, when the wizard displayed this step, no import is select and default prefixes are offered. The wizard remembers, which  imports were selected and which prefixes was changed in the last time and uses this value.





Companion
Projects:
MySQL Database Server   Open JDK: an Open SourceJDK   GlassFish Community: an Open Source Application Server    Mobile & Embedded Community    Open Solaris   java.net - The Source for Java Technology Collaboration   Virtual Box - full virtualizer  Open ESB - The Open Enterprise Service Bus Powered by