JSP fragments [message #204108] |
Fri, 09 November 2007 18:27 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.02365 seconds