Content Assist supported for Expression Language in JSP? [message #194791] |
Thu, 21 June 2007 16:56  |
Eclipse User |
|
|
|
Originally posted by: erickson_d.yahoo.removethis.com
I would swear that at one time, WTP supported content assist in JSP
expression language. But, if I start an expression--"${"--all it does
for me is add " }" (and I don't really want that extra space).
No amount of Ctrl-Space gives me anything more than a message in the
status bar: "Content Assist not available at the current location". No
implicit objects are available to start the expression, and even if I
type a variable (introduced through a jsp:useBean action) myself, the
content assist refuses to offer completions for it's properties.
Is content assist available for JSP EL in WTP 1.5.4/Eclipse 3.2.2? If
so, any suggestions for getting it working?
|
|
|
Re: Content Assist supported for Expression Language in JSP? [message #194813 is a reply to message #194791] |
Thu, 21 June 2007 22:03   |
Eclipse User |
|
|
|
Doug Erickson wrote:
> I would swear that at one time, WTP supported content assist in JSP
> expression language. But, if I start an expression--"${"--all it does
> for me is add " }" (and I don't really want that extra space).
>
> No amount of Ctrl-Space gives me anything more than a message in the
> status bar: "Content Assist not available at the current location". No
> implicit objects are available to start the expression, and even if I
> type a variable (introduced through a jsp:useBean action) myself, the
> content assist refuses to offer completions for it's properties.
>
> Is content assist available for JSP EL in WTP 1.5.4/Eclipse 3.2.2? If
> so, any suggestions for getting it working?
Are you within a Dynamic Web Project, or at least a Java project
that has the servlet jars on its build path?
--
Nitin Dahyabhai
Structured Source Editor
|
|
|
Re: Content Assist supported for Expression Language in JSP? [message #194821 is a reply to message #194813] |
Fri, 22 June 2007 00:01   |
Eclipse User |
|
|
|
Originally posted by: erickson_d.yahoo.removethis.com
Yes, in this simple test, it's a dynamic web application. It doesn't
work in a Java project with servlet jars either. The target runtime is
Tomcat 5.0, with a 1.4.2 JDK as the "JRE".
I thought, even though my app is set up with a Servlet 2.4 web.xml, that
maybe it was ignoring the EL. I tried to get auto-completion to add the
isELIgnored attribute to the page directive, but the available "isXXX"
attributes were only isErrorPage and isThreadSafe -- no isELIgnored.
When I added the attribute by hand, no problems were reported, but it
didn't help with the EL content assist either.
Nitin Dahyabhai wrote:
> Doug Erickson wrote:
>> I would swear that at one time, WTP supported content assist in JSP
>> expression language. But, if I start an expression--"${"--all it does
>> for me is add " }" (and I don't really want that extra space).
>>
>> No amount of Ctrl-Space gives me anything more than a message in the
>> status bar: "Content Assist not available at the current location". No
>> implicit objects are available to start the expression, and even if I
>> type a variable (introduced through a jsp:useBean action) myself, the
>> content assist refuses to offer completions for it's properties.
>>
>> Is content assist available for JSP EL in WTP 1.5.4/Eclipse 3.2.2? If
>> so, any suggestions for getting it working?
>
> Are you within a Dynamic Web Project, or at least a Java project that
> has the servlet jars on its build path?
>
> --
> Nitin Dahyabhai
> Structured Source Editor
|
|
|
Re: Content Assist supported for Expression Language in JSP? [message #194938 is a reply to message #194791] |
Mon, 25 June 2007 21:51  |
Eclipse User |
|
|
|
Originally posted by: erickson_d.yahoo.removethis.com
Any other suggestions about what to look for here?
If I start a scriptlet, content assist works fine, but if I start JSP
EL, I get nothing.
I've tried changing the JRE System Library as well as Eclipse's -vm
option, but that didn't make any difference. Currently, I have it
pointed at a 1.5 JDK installation.
Doug Erickson wrote:
> I would swear that at one time, WTP supported content assist in JSP
> expression language. But, if I start an expression--"${"--all it does
> for me is add " }" (and I don't really want that extra space).
>
> No amount of Ctrl-Space gives me anything more than a message in the
> status bar: "Content Assist not available at the current location". No
> implicit objects are available to start the expression, and even if I
> type a variable (introduced through a jsp:useBean action) myself, the
> content assist refuses to offer completions for it's properties.
>
> Is content assist available for JSP EL in WTP 1.5.4/Eclipse 3.2.2? If
> so, any suggestions for getting it working?
|
|
|
Powered by
FUDForum. Page generated in 0.03680 seconds