1 Reply Latest reply on Apr 10, 2013 3:56 AM by Randy Mac

    Can we make a call to seam component(only java bean) from java script

    Randy Mac Newbie

      I have a java bean extends EntityQuery.

       

      @Name("fileList")
      public class FileListBean extends EntityQuery<FileMetaInfo> implements FileList,Serializable
      {
      }
      
      

       

      I cant make it stateless as we get below exception(Refer https://community.jboss.org/thread/186282)

       

      Only JavaBeans and stateful session beans support @Create methods
      

       

      When i call some method of 'fileList' from java script, the method is not getting invoked(@WebRemote annotation is used properly)

      though bindings of the bean are working from XHTML,like below
       <f:param name="firstResult" value="#{fileList.previousFirstResult}"/>
      

       

      any clue?

      Randy