2 Replies Latest reply on Jul 25, 2007 2:41 PM by kimlord

    selectitems and convertEntity

    kimlord

      I am trying to use selectitems but am getting the following error:

      <s:convertEntity> Tag Library supports namespace: http://jboss.com/products/seam/taglib, but no tag was defined for name: convertEntity

      I am using version 1.2.1 of Seam but am not sure how to set up the convertEntity. This is what I have:

      <h:selectOneMenu id="inputMethods" value="#{dataEntryHome.instance.inputMethodType}" required="true">
       <s:selectItems value="#{enumeratedTypesList.resultList}" var="enumeratedTypes"
       label="#{enumeratedTypes.name}"
       noSelectionLabel="Select an InputMethodType..."/>
       <s:convertEntity />
       </h:selectOneMenu>
      

      Am I missing a jar file?
      Thanks,
      Kim

        • 1. Re: selectitems and convertEntity
          dhinojosa

          For some reason the developers don't have convertEntity in the tld in seam 1.2.1. It is available for facelets developers. Under 2.0.0 Beta it is available for both but only works in facelets.

          Hopefully, one of the devs will come over and fill you in.

          • 2. Re: selectitems and convertEntity
            kimlord

            Is this something I can manually configure or should I create a custom converter? I am new to seam but it seems this is something pretty common that I am trying to do.

            Thanks for any help,
            Kim