Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Wizard Second Page Not Displaying
Wizard Second Page Not Displaying [message #249873] Sat, 05 June 2004 17:48 Go to next message
Eclipse UserFriend
Originally posted by: ram.novedea.com

Hi,

I am developing Wizard pages. I have two pages that are needed on the
wizard. I tested each page individually and they show up properly. But
when I activate them both and click next on the first page, the second
page is blank. I am puzzled with this behaviour. Why the second page is
not getting displayed when it works fine individually. Am I missing
something?

I would appreciate your help.
Re: Wizard Second Page Not Displaying [message #249888 is a reply to message #249873] Sat, 05 June 2004 18:37 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ram.novedea.com

Sorry, it was a code issue and now solved.

Ramdhan Yadav Kotamaraja wrote:

> Hi,

> I am developing Wizard pages. I have two pages that are needed on the
> wizard. I tested each page individually and they show up properly. But
> when I activate them both and click next on the first page, the second
> page is blank. I am puzzled with this behaviour. Why the second page is
> not getting displayed when it works fine individually. Am I missing
> something?

> I would appreciate your help.
Re: Wizard Second Page Not Displaying [message #333412 is a reply to message #249888] Wed, 10 December 2008 00:07 Go to previous message
Dominik Rost is currently offline Dominik RostFriend
Messages: 5
Registered: July 2009
Junior Member
Hi,

it would have been helpful if you had posted the solution to your
problem, although it might have been a stupid error, because it would
have saved me a whole day of debugging and searching.

Anyway, I know this is a very old message but for everyone who runs into
the same problem, I hope I can give you a pointer in the right direction.

The reason for that behavior was a small mistake in the
WizardPage#createControl(Composite) method. My method looked like this:

@Override
public void createControl(Composite parent) {
Composite baseComposite = new Composite(parent,SWT.NULL);

//...
setPageComplete(false);
setControl(parent);
}

The error is passing "parent" as an argument to the setControl method
which should be the "baseComposite" in my case. Stupid error but hard to
find.

I hope this will help anyone experiencing the same behavior.

Cheers,
Dominik



On 05.06.2004 14:37, Ramdhan Yadav Kotamaraja wrote:
> Sorry, it was a code issue and now solved.
>
> Ramdhan Yadav Kotamaraja wrote:
>
>> Hi,
>
>> I am developing Wizard pages. I have two pages that are needed on the
>> wizard. I tested each page individually and they show up properly. But
>> when I activate them both and click next on the first page, the second
>> page is blank. I am puzzled with this behaviour. Why the second page is
>> not getting displayed when it works fine individually. Am I missing
>> something?
>
>> I would appreciate your help.
>
>
Previous Topic:Managing fonts
Next Topic:Sporadic NullPointerException during disposing of columns (getData by ColumnViewer in TableViewer)
Goto Forum:
  


Current Time: Fri Apr 26 02:54:35 GMT 2024

Powered by FUDForum. Page generated in 0.03110 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top