Editing Struts resources from the Web diagram editor
In the Web diagram editor you can open editors on the underlying resources represented by the nodes on the free-form surface.
- To start an editor for a particular resource, double-click on the node for that resource. For example, if you double-click on a node that represents an action mapping, the Struts configuration file editor opens and the correct action mapping is given focus.
- To edit a connection resource, double-click the connection. If the connection represents a forward from an action mapping, the Struts configuration file editor opens and gives focus to the correct forward. If the connection represents a link from a Web page, one of two things may take place:
- If the connection represents a single link between the Web page and the target, Struts opens the default editor for that file and places the cursor on the line on which the link is defined.
- If the connection represents multiple links, a dialog pops up that lists all the links that the connection represents. When you select a link, the JSP editor opens and the cursor is placed on the line on which the selected link is defined.
- If you double-click an unrealized node, the node is either automatically created, as is the case for an unrealized forward, or a wizard is invoked to create the node. For more information about realizing unrealized node, see Realizing nodes in Web diagrams.
Related concepts
Struts and model-view-controller design pattern
Web diagram nodes
Related tasks
Creating Web application diagrams
Editing Web application diagrams - overview
Realizing nodes in Web diagrams
Editing Struts resources - overview
Related reference
Feedback
Web diagram editor: pop-up menu