Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Is order of validation builders important?
Is order of validation builders important? [message #485050] Thu, 10 September 2009 11:34 Go to next message
Bert  is currently offline Bert Friend
Messages: 18
Registered: August 2009
Junior Member
I use WTP and PHP, and I have found that the order of the validation builders is important for javascript warnings and tags to show up.
The correct order must be:

Validator
Script builder
Javascript validator

Is this intended behaviour or is this a bug?
Re: Is order of validation builders important? [message #485202 is a reply to message #485050] Thu, 10 September 2009 19:13 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4435
Registered: July 2009
Senior Member

Bert wrote:
> I use WTP and PHP, and I have found that the order of the validation
> builders is important for javascript warnings and tags to show up.
> The correct order must be:
>
> Validator
> Script builder
> Javascript validator
>
> Is this intended behaviour or is this a bug?

I can't think of any reason that the order should matter. What kind
of project are you working in? Does disabling the "Script builder"
let you organize them in any way you want? Is this happening for
standalone .js files (they use the "Javascript validator" builder)
or within HTML pages (the "Validation" builder)?

--
---
Nitin Dahyabhai
Eclipse WTP Source Editing
IBM Rational


_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Is order of validation builders important? [message #485211 is a reply to message #485202] Thu, 10 September 2009 19:42 Go to previous messageGo to next message
Bert  is currently offline Bert Friend
Messages: 18
Registered: August 2009
Junior Member
All my projects are more or less the same; websites with mianly HTML and CSS files with some php and js. All my javascript is external.
I did some more testing and found that when the "javascript validator" comes first in the list, the errors, tasks and warnings do show up in the task-list, but only briefly. As if one of the other builders overwrites them?
If I make sure the javascript validator is last, they remain visible.
Re: Is order of validation builders important? [message #485221 is a reply to message #485211] Thu, 10 September 2009 20:13 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4435
Registered: July 2009
Senior Member

Bert wrote:
> All my projects are more or less the same; websites with mianly HTML and
> CSS files with some php and js. All my javascript is external.
> I did some more testing and found that when the "javascript validator"
> comes first in the list, the errors, tasks and warnings do show up in
> the task-list, but only briefly. As if one of the other builders
> overwrites them?
> If I make sure the javascript validator is last, they remain visible.

It sounds like one of the other builders is doing something that
removes the JavaScript problem markers. With the JavaScript
Validator builder enabled and in the front of the list, try
selectively disabling others and see if the markers are no longer
deleted.

--
---
Nitin Dahyabhai
Eclipse WTP Source Editing
IBM Rational


_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Is order of validation builders important? [message #487881 is a reply to message #485221] Thu, 24 September 2009 16:38 Go to previous message
Bert  is currently offline Bert Friend
Messages: 18
Registered: August 2009
Junior Member
Sorry for the late reaction, I was on holiday.

I tried all possible combinations and it happens (the disapearing errors etc.) when the validator comes after the js-builder.
Previous Topic:Show senders of methods / functions
Next Topic:J2EE module dependencies
Goto Forum:
  


Current Time: Thu Apr 25 16:12:49 GMT 2024

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

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

Back to the top