Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Problem using wizardPages extension point - custom page does not display
Problem using wizardPages extension point - custom page does not display [message #208405] Mon, 11 February 2008 14:44 Go to next message
Eclipse UserFriend
Originally posted by: david_whiteman.us.ibm.com

Hello,

I am trying to follow the steps outlined in this article to add a custom
wizard page to the project creation wizard. I copied the sections of
this article exactly as they are written here (the config-factory,
action, and wizard-pages parts in particular), and the custom wizard
page does not display at all. I did confirm via breakpoint that the
config-factory was invoked. Is there a bug, did I somehow make a
mistake, or is this article not up-to-date on the way to do this in 3.0 M4?

http://www.eclipse.org/articles/Article-BuildingProjectFacet s/tutorial.html

Thanks in advance,
David
Re: Problem using wizardPages extension point - custom page does not display [message #208422 is a reply to message #208405] Mon, 11 February 2008 15:08 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: kosta.bea.com

Have you looked in the error log? If there is a problem with your
extension point usage, you should see message(s) in the log.

Also make sure that the id of the INSTALL action matches the value of
the action attribute on your wizardPages extension.

- Konstantin
Re: Problem using wizardPages extension point - custom page does not display [message #208450 is a reply to message #208422] Mon, 11 February 2008 15:50 Go to previous message
Eclipse UserFriend
Originally posted by: david_whiteman.us.ibm.com

Konstantin Komissarchik wrote:
> Have you looked in the error log? If there is a problem with your
> extension point usage, you should see message(s) in the log.
>
> Also make sure that the id of the INSTALL action matches the value of
> the action attribute on your wizardPages extension.
>
> - Konstantin

Thanks for the quick reply, Konstantin.

I had a "failed to instantiate MyPage" message in the log. It took me
awhile to realize that for the example code I'd copied from your
article, somehow I'd made the wizard page constructor protected instead
of public.

In my own custom implementation, I had not implemented the no-arg
constructor, but instead the one that takes a page name argument.

Sorry about the newbie user error, and for failing to check the log.

Is there somewhere that stresses that there needs to be a public, no-arg
constructor on the implemented wizard page? In hindsight, it's clear
why that needs to be there, but the compiler didn't warn me that I was
missing anything.

Thanks again,
David
Previous Topic:Eclipse 3.3 with WAS CE 2.0: IWAB0523E Error moving resource: null
Next Topic:JSP validation foobar'd by my syntax
Goto Forum:
  


Current Time: Thu Apr 18 21:03:45 GMT 2024

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

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

Back to the top