Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » JSP fragments
JSP fragments [message #204108] Fri, 09 November 2007 18:27 Go to next message
Eclipse UserFriend
Originally posted by: paul_r_jacobs.yahoo.com

If I include a JSP fragment inside a master JSP file, how can I get
Eclipse to not complain about, for instance, variables defined in the
master that are referenced in the include? I've played with the 'Validate
JSP fragments' thing with no success...
Re: JSP fragments [message #204251 is a reply to message #204108] Mon, 12 November 2007 12:46 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wknauf_NO_._INSIDE_hg-online.de

Hi Paul,

currently, you cannot do anything about it.

Here is the enhancement request, vote for it ;-) !
https://bugs.eclipse.org/bugs/show_bug.cgi?id=155664

Best regards

Wolfgang

Paul wrote:
> If I include a JSP fragment inside a master JSP file, how can I get
> Eclipse to not complain about, for instance, variables defined in the
> master that are referenced in the include? I've played with the
> 'Validate JSP fragments' thing with no success...
>
>
Re: JSP fragments [message #204467 is a reply to message #204108] Thu, 15 November 2007 17:05 Go to previous message
Eclipse UserFriend
Originally posted by: wuamy.ca.ibm.com

Paul wrote:

> If I include a JSP fragment inside a master JSP file, how can I get
> Eclipse to not complain about, for instance, variables defined in the
> master that are referenced in the include? I've played with the 'Validate
> JSP fragments' thing with no success...

Where did you play with the "Validate JSP Fragments" option? What is the
extension of your fragment file? jsp or jspf? I don't believe your
fragment file is really considered a fragment (in WTP/Eclipse's eyes) if
it's .jsp which would be why the "Validate JSP Fragments" option does not
look like it's working.

If your fragment file is .jsp, you can work around this problem by going
to Preferences->General->Content Types->Text->JSP->JSP Fragment and
specifically adding your fragment file name to the list of file
associations.
Previous Topic:Dependent project setup
Next Topic:application server integration
Goto Forum:
  


Current Time: Thu Nov 27 09:55:43 GMT 2014

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

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