1 Reply Latest reply on Sep 7, 2007 5:31 AM by Pete Muir

    Injected bean: java assist

    Miloslav Vlach Novice

      Hi all,

      I would like to know something:

      I create a pojo named CompanySearchParams. This is not entity. When I use this pojo in search action I got the javassist coded object. I would like to obtain object CompanySearchParams - not javassist.

      Know somebody solution ?

      When is the POJO marked as @Entity all works good....

      Thanks Mila

       <h:form>
       <fieldset> <legend>Vyhledávání spole?ností</legend>
       <table class="search_table full">
       <tr>
       <th>Název:</th>
       <th>M?sto:</th>
       </tr>
       <tr>
       <td>
       <h:inputText value="#{companySearchParams.name}" style="width:95%;" />
       </td>
       <td>
       <h:inputText value="#{companySearchParams.city}" style="width:95%;" />
       </td>
       </tr>
       <tr>
       <td colspan="4">
       <div style="text-align: right;">
       <h:commandButton value="Hledat" action="#{companyAction.find}"/>
       </div>
       </td>
       </tr>
       </table>
       </fieldset>
       </h:form>