Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » jsp taglib completion in I20051116
jsp taglib completion in I20051116 [message #147822] Sat, 19 November 2005 17:11 Go to next message
Mario Ivankovits is currently offline Mario IvankovitsFriend
Messages: 23
Registered: July 2009
Junior Member
Hi!

It looks like the taglib completion is somehow broken in this build.

With this jsp (and myfaces taglibs):

<%@page pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<f:view>
<!-- taglib completion do not work inside this tag -->
<f:form>
<h:outputText /> <!-- attribute available -->
</f:form>
</f:view>
<!-- taglib completion works again -->


During typing the "<f:view>" all taglibs are listed and available for
completion. This is still the case outside the <f:view>, but inside the
<f:view> pair only html tags are available, but none of the included
taglibs.

If you "manage" to enter the tag blind ;-) e.g. outputText the
attributes are available for completion.

---
Mario
Re: jsp taglib completion in I20051116 [message #147854 is a reply to message #147822] Sat, 19 November 2005 22:39 Go to previous messageGo to next message
David Williams is currently offline David WilliamsFriend
Messages: 722
Registered: July 2009
Senior Member
On Sat, 19 Nov 2005 12:11:37 -0500, Mario Ivankovits <mario@ops.co.at> w=
rote:

> It looks like the taglib completion is somehow broken in this build.
>

We'll investigate. But ... (I'm guessing here) ... this might be related=
to
a recent change that was made for "strict" vs. "lax" content assist.
There's a preference under "xml files"; "source" ... that controls this
behavior. You might experiment and see if it effects this behavior.
(Even if it does, that still doesn't mean its not a bug :) ... I'm just
wondering if you could try a quick test).
Re: jsp taglib completion in I20051116 [message #147877 is a reply to message #147854] Sun, 20 November 2005 07:05 Go to previous message
Mario Ivankovits is currently offline Mario IvankovitsFriend
Messages: 23
Registered: July 2009
Junior Member
David Williams wrote:

>> It looks like the taglib completion is somehow broken in this build.
> (I'm guessing here) ... this might be related to
> a recent change that was made for "strict" vs. "lax" content assist.

The default seems to be "lax", anyway I tried option "strict" and then
"lax" again, no difference.

Even in html the content assist only shows valid sub tags, so it looks
like its always "strict" - if this is the meaning of this options.

Thanks!
Mario
Previous Topic:Tabbed Property View
Next Topic:An old doubt about .deployables
Goto Forum:
  


Current Time: Fri Apr 26 19:05:58 GMT 2024

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

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

Back to the top