Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 329690

Summary: Buttons in 'Enterprise Application Import' wizard become hidden
Product: [WebTools] WTP Java EE Tools Reporter: Scott Huff <shuff>
Component: jst.j2eeAssignee: Scott Huff <shuff>
Status: RESOLVED FIXED QA Contact: Chuck Bridgham <cbridgha>
Severity: normal    
Priority: P3 CC: jsholl
Version: 3.2Flags: cbridgha: review+
Target Milestone: 3.2.3   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Screen Capture
none
Proposed Patch none

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