Seam Taglib not recognized

Hello

I'm using Idea 6.0.1 in evaluation (so far ;)) and tried to use it for Seam booking example. This example uses XHTML pages with this at the start:

While I can set up libraries for JSF (and h and f namespaces starts to work), facelets is even in resource.jar with Idea - I can't set up seam/taglib properly. seam.taglib.xml: http://jboss.com/products/seam/taglib]]>
...

is contained in jboss-seam-ui.jar and this jar is in libraries just as JSF libs are. I even extracted this xml out of the jar and set the resource manually - along with nested facelet-taglib_1_0.dtd resource. But it didn't help. Where is the difference between this URL and JSF ones?

Thanks
Virgo47

5 comments

Bah... I post after hours of wandering... and in the next minute I tried just extract NOT XML, but taglib.tld from jboss-seam-ui.jar and map this one in Resources Settings. After Idea restart (yes, sometimes restart is best to "lose" red lines on the right bar ;)) it's fine.

Still not sure why it wasn't found in JAR automagicly. ;) However - not stopper for me now.

0

Seam actually uses Facelets taglib definition that is not correctly
picked up by IDEA 6.0.1, IDEA 6.0.2 EAP has this issue fixed and overall
better knowledge about Seam.

Richard Richter wrote:

Hello

I'm using Idea 6.0.1 in evaluation (so far ;)) and tried to use it for Seam booking example. This example uses XHTML pages with this at the start:

<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:s="http://jboss.com/products/seam/taglib"
template="template.xhtml">

While I can set up libraries for JSF (and h and f namespaces starts to work), facelets is even in resource.jar with Idea - I can't set up seam/taglib properly.

seam.taglib.xml:
<?xml version="1.0"?>
<!DOCTYPE facelet-taglib PUBLIC
"-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN"
"facelet-taglib_1_0.dtd">
<facelet-taglib>
<namespace>http://jboss.com/products/seam/taglib</namespace>
..

is contained in jboss-seam-ui.jar and this jar is in libraries just as JSF libs are. I even extracted this xml out of the jar and set the resource manually - along with nested facelet-taglib_1_0.dtd resource. But it didn't help. Where is the difference between this URL and JSF ones?

Thanks
Virgo47



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

0

Well, sounds great. But where can I get the 6.0.2 EAP. When I try to get to the eap download page, I'll be redirected to the normal download page...

Thanks,

Tino Nitze
SWB Consulting
San Francisco, CA

0

Hello tino,

t> Well, sounds great. But where can I get the 6.0.2 EAP. When I try to
t> get to the eap download page, I'll be redirected to the normal
t> download page...

http://www.jetbrains.net/confluence/display/IDEADEV/6.0.2+EAP

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Please sign in to leave a comment.