• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Adding multiple pages to wizard

 
Manikandan Swaminathan
Ranch Hand
Posts: 117
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am trying to add a new page to an already existing wizard. I have also added some controls to that page. But the problem is the page is getting displayed BLANK and the controls are getting displayed in
the next page. I have overridden the createBeginningPages() method.It didnt work. Then tried overriding addPages() method also. Again it didnt work. I am confused..

protected IWizardPage[] createBeginingPages() {
IWizardPage[]iPages = new IWizardPage[2];
iPages[0] = createFirstPage();
iPages[1] = createSecondPage();
return iPages;
}

When i check in debug mode, the control is going properly as expected in creating the second page and also creating the controls in that page.But.. in the output its missing..
Can someone please help in this?

Thanks
 
Rob Spoor
Sheriff
Pie
Posts: 20545
56
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What library are you using?
 
Manikandan Swaminathan
Ranch Hand
Posts: 117
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am sorry, can you please be more clear - There are many JAR files we are using currently.Which one are you referring?

Thanks
 
Rob Spoor
Sheriff
Pie
Posts: 20545
56
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What JAR file does class IWizardPage come from?
 
Kemal Sokolovic
Bartender
Posts: 825
5
Java Python Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Raghuraman Guruswamy wrote:
...
I have overridden the createBeginningPages() method.It didnt work. Then tried overriding addPages() method also. Again it didnt work. I am confused..

protected IWizardPage[] createBeginingPages() {
IWizardPage[]iPages = new IWizardPage[2];
iPages[0] = createFirstPage();
iPages[1] = createSecondPage();
return iPages;
}

...


If it's JFace IWizardPage I don't think there is a createBeginningPages() to override. And if it's WebProjectWizard class you're overriding, I think this is not a place for this topic.
 
Manikandan Swaminathan
Ranch Hand
Posts: 117
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The class extends WebProjectWizard which inturn extends the NewProjectDataModelFacetWizard where the method createBeginingPages has been defined.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic