2 Replies Latest reply on May 29, 2008 5:21 PM by Jens Saathoff

    Newbie question regarding xhtml and seam components...

    Jens Saathoff Newbie

      Hi.


      I am new to Java Web Development and got a problem. My XHTML-File contains the following...


      <tr:spacer height="5"/> 
                                                                            
                                          <!-- /*<tr:table id="companiesTable" value="#{companySearchSB.resultSet}" var="row" rows="5"
                                              sortListener="#{companySearchSB.sortListener}"  
                                              partialTriggers="searchNameId companiesTable:markCompanyForDeletionCommand"
                                              emptyText="#{messages['dialog.general.noData']}">*/ -->
                                          
                                          <tr:table id="companiesTable" value="#{companyMainControler.resultSet}" 
                                              var="row" 
                                              rows="5"
                                              partialTriggers="searchNameId 
                                              searchCompanyCommand
                                              companiesTable:markCompanyForDeletionCommand"
                                              emptyText="#{messages['dialog.general.noData']}">





      Please take a closer look at the property sortListener...yes...my companySearchSB has no function sortListener....so it' not neccessary and commended out (like you can see above)


      If I fire up the website i get the following error:




      "An Error Occurred:
      Property 'sortListener' not found on type phoenixx.search.CompanySearch_$$_javassist_6
      +- Stack Trace"




      But why?


      If i remove the lines completly from the file it works and the sortlistener is not recognized anymore.


      What's the reason?


      Thank you very much!