Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (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.


Cheers

Jack
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


Ian Tewksbury
WTP JavaScript Tools
IBM Rational
-----
“When once you have tasted flight, you will forever walk the earth with your eyes turned skyward, for there you have been, and there you will always long to return.” ~Leonardo da Vinci
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


Cheers

Jack
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: Tue Dec 23 00:21:09 GMT 2014

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

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