1 Reply Latest reply on Aug 8, 2007 12:31 PM by pmuir

    using a custom jsf component in seam

    rdlkino

      Hi everybody,

      I created a table component with some new functionalities and I'm using it with no problems in a web application deployed in JBoss 4.0.5 using jsf-api1.2 and jsf-impl1.2.

      I'd like to use it with Seam, but I'm not very familiar with it.

      My first problem is: can I use the table with Seam?(Cause in the docs the suggestion is to use Ajax4jsf, Trinidad and Richfaces)

      My second problem is(well... if the answer to the first problem is yes :D): how can I pass values (items) to my table?

      Unluckily I'm using a datamodel that is NOT extending javax.faces.model.DataModel so I can't use @DataModel annotation in conjunction with the @Factory annotation as described in Seam Doc Chapter 1.

      Thanks in advance



        • 1. Re: using a custom jsf component in seam
          pmuir

          Yes, you can use any JSF component with Seam (assuming it is sensibly designed). You would use the component just as you would in plain JSF - put an attribute on a bean to expose the data, and read it into the component using EL.