Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » JSP EL can not be parsed correctly during editing in JSP editor(JSP EL can not be parsed correctly.)
icon7.gif  JSP EL can not be parsed correctly during editing in JSP editor [message #548862] Fri, 23 July 2010 10:41 Go to next message
Jack, Liu is currently offline Jack, LiuFriend
Messages: 8
Registered: July 2010
Location: China
Junior Member
Code like:
<button>
${<cursor position>} //EL region
</button>
In this way, the region type is JSP EL

Then follow this way:
1. Remove the "}"
It is not a valid EL region.
the type would be xml_content

2. Add the "}" again
It is a valid EL region.
but the type would still be xml_content, instead of JSP EL

It will cause the different proposals for same jsp content.

The reason is that parser will only update the xml Content region's start and length, instead of creating a new JSP EL region.
Re: JSP EL can not be parsed correctly during editing in JSP editor [message #548895 is a reply to message #548862] Fri, 23 July 2010 12:25 Go to previous messageGo to next message
Ian Tewksbury is currently offline Ian TewksburyFriend
Messages: 48
Registered: July 2009
Location: RTP, NC, USA
Member
I can reproduce this as well. Can you please open a bug and report that bug number back here for tracking purposes.

Thank You,

~Ian
Re: JSP EL can not be parsed correctly during editing in JSP editor [message #549199 is a reply to message #548895] Mon, 26 July 2010 05:10 Go to previous message
Jack, Liu is currently offline Jack, LiuFriend
Messages: 8
Registered: July 2010
Location: China
Junior Member
Thanks for your quick response.

Has reported a bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=320861
Previous Topic:deploy a dynamic webproject headless
Next Topic:JspEditor: Code completion can not work for "${" when "${" is at the end of a f
Goto Forum:
  


Current Time: Thu Sep 29 06:49:13 GMT 2016

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

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