Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 329690 - Buttons in 'Enterprise Application Import' wizard become hidden
Summary: Buttons in 'Enterprise Application Import' wizard become hidden
Status: RESOLVED FIXED
Alias: None
Product: WTP Java EE Tools
Classification: WebTools
Component: jst.j2ee (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2.3   Edit
Assignee: Scott Huff CLA
QA Contact: Chuck Bridgham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-08 11:52 EST by Scott Huff CLA
Modified: 2010-11-10 12:00 EST (History)
1 user (show)

See Also:
cbridgha: review+


Attachments
Screen Capture (35.62 KB, image/gif)
2010-11-08 11:54 EST, Scott Huff CLA
no flags Details
Proposed Patch (1.01 KB, patch)
2010-11-08 11:59 EST, Scott Huff CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Huff CLA 2010-11-08 11:52:39 EST
In the 'Enterprise Application Import' wizard, the buttons get hidden (disappear unless window is expanded) after going to the next page, then returning with the back button if the 'EAR file' field is too long. (See screen capture)

Steps to reproduce:
1) Create an EAR with a long name (i.e. your desktop)
2) Save, then Import the attached EAR using the 'Enterprise Application Import' wizard. (File -> Import -> Java EE -> EAR file)
3) Click on the "Browse..." button of the "EAR file" field and select the EAR.
4) Click the "Next" button.
5) Click the "Back" button (should return you to the first page of the 'Enterprise Application Import' wizard; notice that the "Browse.." and "New..." buttons can no longer be seen unless the window is expanded)
Comment 1 Scott Huff CLA 2010-11-08 11:54:23 EST
Created attachment 182637 [details]
Screen Capture
Comment 2 Scott Huff CLA 2010-11-08 11:59:25 EST
Created attachment 182638 [details]
Proposed Patch

Proposed Patch:
  Change the browse button layout from FILL_HORIZONTAL to HORIZONTAL_ALIGN_END to keep space allocated for the buttons when the name is very long.
Comment 3 Chuck Bridgham CLA 2010-11-10 10:13:45 EST
approve
Comment 4 Jason Sholl CLA 2010-11-10 12:00:50 EST
Code checked into both 32M and HEAD for WTP 3.2.3 and 3.3