5 Replies Latest reply on May 23, 2006 4:36 PM by tiidaa

    s:link not supported for JSP?

    tiidaa

      I've been trying out Seam, but haven't been able to get <s:link> to work, getting the exception message No tag "link" defined in tag library imported with prefix "s", when I try to load a page that uses this tag. Looking on fisheye at http://fisheye.labs.jboss.com/viewrep/JBoss/jboss-seam/src/ui/META-INF, I notice that the "link" tag seems to be defined in seam.taglib.xml for facelets, but is not present in taglib.tld. Is this the source of the problem?

        • 1. Re: s:link not supported for JSP?
          pmuir

          AFAIK the seam tags only work with Facelets as the view handler and not with JSP. There are no Tag files atm. If you aren't using facelets and starting afresh you should definitely consider using it.

          • 2. Re: s:link not supported for JSP?
            tiidaa

             

            "petemuir" wrote:
            AFAIK the seam tags only work with Facelets as the view handler and not with JSP. There are no Tag files atm. If you aren't using facelets and starting afresh you should definitely consider using it.

            Do you think you could point me to where this information could be found? I've been looking at the online wiki, FAQ, and the PDF reference document on Seam, and I hadn't seen any place where it said that Facelets was required to use Seam's tags (the Seam reference is careful to say "JSP or Facelets" when making references to the view), so I may be missing a valuable source of information.

            I am working on a large existing application that uses JSP and MyFaces, and I was hoping that I could use some of Seam's features here and there like the <s:link> tag and support for conversation state. We're not currently planning on using Facelets. Does <s:link> seem likely to be be added to the tld file in the future?

            • 3. Re: s:link not supported for JSP?
              gavin.king

              I need to somehow find the time to implement a JSP taglib for the Seam controls. Unfortunately I am super-busy right now.

              • 4. Re: s:link not supported for JSP?
                gavin.king

                (Would be great if someone could contribute this - I need it for Seam 1.0 GA....)

                • 5. Re: s:link not supported for JSP?
                  tiidaa

                  I really appreciate the information from everyone. If the tag libraries are structured such that you have to duplicate effort to support both JSP and Facelets, I can understand how one may happen to get written before the other.