Problems with JSF UI tags from Sun Studio Creator 2

I have a problem when I try to use Sun's JSF UI components from Sun
Studio Creator 2. The webui.jar (which also includes the tld file for
all UI components tags) is part of my web module, but IDEA can't figure
out the tags from the webui.jar.

Is this a bug in IDEA?

Code example:

// OK // OK // OK // OK // OK ]]> // OK

<ui:head> // error - can't resolve tag
]]> // OK
</ui:head> // error - can't resolve tag

// OK * // error - can't resolve tag // error - can't resolve tag // error - can't resolve tag // error - can't resolve tag* // OK // OK // OK ]]> // OK

7 comments

Hi,

Could you navigate to tld by control + click on http://www.sun.com/web/ui?

Kenneth Christensen wrote:

I have a problem when I try to use Sun's JSF UI components from Sun
Studio Creator 2. The webui.jar (which also includes the tld file for
all UI components tags) is part of my web module, but IDEA can't figure
out the tags from the webui.jar.

Is this a bug in IDEA?

Code example:

<%@ page contentType="text/html;charset=UTF-8" language="java" %> // OK

<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> // OK
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %> // OK
<%@ taglib uri="http://www.sun.com/web/ui" prefix="ui" %> // OK

<f:view> // OK
<html> // OK

<ui:head> // error - can't resolve tag
<link rel="stylesheet" type="text/css" href="../css/css_ns6up.css" /> // OK
</ui:head> // error - can't resolve tag

<body> // OK

<h:form id="testForm"> // OK
*<ui:tabSet id="tabSet1" selected="tab1"> // error - can't resolve tag
<ui:tab id="tab1" text="Test 1"/> // error - can't resolve tag
<ui:tab id="tab2" text="Test 2"/> // error - can't resolve tag
</ui:tabSet> // error - can't resolve tag*
</h:form> // OK

</body> // OK
</html> // OK
</f:view> // OK



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

Ok, any chance for little project with jsp and library to demonstrate
the problem?

Kenneth Christensen wrote:

Yes, it works fine.


--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

Can I send the file to you by email?

File size is approx. 2.9 MB

0

Hi,
Since it looks like a bug, please, submit jira item and attach the files
to it. Thank you!

Kenneth Christensen wrote:

Can I send the file to you by email?

File size is approx. 2.9 MB



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

Please sign in to leave a comment.