Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Location of validation method for Context Root
Location of validation method for Context Root [message #219170] Tue, 12 August 2008 11:25 Go to next message
Iain Duncan is currently offline Iain DuncanFriend
Messages: 3
Registered: July 2009
Junior Member
Hello All,

I am developing a plug-in that has a wizard which has an input for
specifying a context root for a web application. I would like to run it
through the same validation method that gets run on the context root
field on the last page of the new Dynamic Web Project wizard but I
cannot find any documentation that which class does this validation
procedure. Could someone point me in the right direction please?

Kind regards,

Iain
Re: Location of validation method for Context Root [message #219284 is a reply to message #219170] Thu, 14 August 2008 12:07 Go to previous messageGo to next message
Iain Duncan is currently offline Iain DuncanFriend
Messages: 3
Registered: July 2009
Junior Member
Hello again,

I had a more intensive dig around and found the method:

org.eclipse.wst.web.internal.WebPropertiesUtil#validateConte xtRoot

My next question is, is there any chance that this method be made
non-internal (in the same way that validators such as JavaConventions are).

Kind regards,

Iain


Iain Duncan wrote:
> Hello All,
>
> I am developing a plug-in that has a wizard which has an input for
> specifying a context root for a web application. I would like to run it
> through the same validation method that gets run on the context root
> field on the last page of the new Dynamic Web Project wizard but I
> cannot find any documentation that which class does this validation
> procedure. Could someone point me in the right direction please?
>
> Kind regards,
>
> Iain
Re: Location of validation method for Context Root [message #219292 is a reply to message #219284] Thu, 14 August 2008 13:23 Go to previous message
Eclipse UserFriend
Originally posted by: dcarver.starstandard.org

Iain Duncan wrote:
> Hello again,
>
> I had a more intensive dig around and found the method:
>
> org.eclipse.wst.web.internal.WebPropertiesUtil#validateConte xtRoot
>
> My next question is, is there any chance that this method be made
> non-internal (in the same way that validators such as JavaConventions are).


Open a bug request to have it made API or at least provisional. That
is the only way the committers will know their is interest in reusing
that class.

Dave



>
> Kind regards,
>
> Iain
>
>
> Iain Duncan wrote:
>> Hello All,
>>
>> I am developing a plug-in that has a wizard which has an input for
>> specifying a context root for a web application. I would like to run
>> it through the same validation method that gets run on the context
>> root field on the last page of the new Dynamic Web Project wizard but
>> I cannot find any documentation that which class does this validation
>> procedure. Could someone point me in the right direction please?
>>
>> Kind regards,
>>
>> Iain
Previous Topic:Web App Context
Next Topic:TODO task tags in JS files
Goto Forum:
  


Current Time: Sat Dec 20 20:22:24 GMT 2014

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

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