History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-21164
Type: Usability Problem Usability Problem
Status: Open Open
Priority: Normal Normal
Assignee: Alexey Pegov
Reporter: Etienne Studer
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

Jsp file - cannot extract css/javascript to .css/.js file

Created: 10 Sep 07 04:15   Updated: 17 Sep 07 13:52
Component/s: J2EE.Web
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 7,126
Severity: High


 Description  « Hide
When trying to extract the content of a script or style tag into a separate file using Refactor -> Extract Include File, it's always done as a jsp include (.jspf). A .js or .css is what I would expect and need (at least to have the option). It works fine when working in .html files but not for .jsp files.

Put the content below in a .jsp file to reproduce the issue:

<html>
<head><title>Foo</title>
<style type="text/css">
div#bli {
color: crimson;
background-color: gray;
font-weight: bold;
}
</style>
</head>
<body>
<div id="bli">Hello</div>
</body>
</html>



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.