Taglibs [message #69085] |
Thu, 27 January 2005 09:01  |
Eclipse User |
|
|
|
Hi,
I guess that the this should work, so could someone tell me what I am
doing wrong.
I have the following taglib directives:
<%@ taglib uri='/WEB-INF/jsp/ian.tld' prefix='ian' %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
Content assist works for the "ian" taglib, but not for the "c" one ?
I can use the "c" taglib in the jsp file, just by coding everything, and
it runs, but it would be nice to have content assist.
Cheers
Ian
|
|
|
|
|
|
|
|
|
|
|
|
Re: Taglibs [message #70175 is a reply to message #69492] |
Sun, 30 January 2005 12:53   |
Eclipse User |
|
|
|
Originally posted by: robwms63.yahoo.com
This:
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
is working for me. Bizarre. I drop it in, drop down into the page and type:
<c:
and I get a list of tags.
R
Ian wrote:
> On Thu, 27 Jan 2005 12:23:00 -0800, Rob Williams <robwms63@yahoo.com>
> wrote:
>
>> That URL is not going where you want it to. Click it, you just end up
>> on Sun's site.
>>
>> There was a bug in the first release of the webtools where the tld
>> had to be local. Since upgrading to M2, the URL approach has been
>> working for me.
>
>
> I agree that the address does not link to an exact page, but it is the
> address
> used in SUN's exmaples and it seems to work at runtime.
>
> It is also the address defined in the c.tld that is embedded in
> standard.jar
>
> How do you link to JSTL ?
> /Ian
>
>>
>> Nitin Dahyabhai wrote:
>>
>>> Ian wrote:
>>>
>>>> I guess that the this should work, so could someone tell me what I
>>>> am doing wrong.
>>>>
>>>> I have the following taglib directives:
>>>>
>>>> <%@ taglib uri='/WEB-INF/jsp/ian.tld' prefix='ian' %>
>>>> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
>>>>
>>>> Content assist works for the "ian" taglib, but not for the "c" one ?
>>>
>>> Where in the workspace are the standard.jar and your .jsp located
>>> (the full path)? The arrangement of files in your workspace can
>>> affect whether the taglib is visible to the editor or not. This is
>>> with WTP 1.0M2 or newer, right?
>>>
|
|
|
|
Re: Taglibs [message #76050 is a reply to message #70354] |
Tue, 22 February 2005 17:08  |
Eclipse User |
|
|
|
Ian wrote:
> I added a lib directory to my WEB-INF directory and placed standard.jar
> in here.
> This solved the problem. It seems strange though that the editor does
> not check the
> jar files in the installed tomcat runtime. I assume that this is
> something that will
> come in future releases ?
Yes. If you see it not working in our forthcoming 1.0M3, please
open a bug listing your WTP and Eclipse builds against the Web Tools
product's jst.jsp component and attach image showing your project's
layout and build path.
--
- Nitin
|
|
|
Powered by
FUDForum. Page generated in 0.05309 seconds