2 Replies Latest reply on Sep 18, 2010 10:58 PM by zxfflying

    in portlet bridge,can't use seam's page parameter

    zxfflying
      hi,
      I'm a new user of portlet bridge. now i'm trying to use seam with the bridge to develop portlet.
      but when i try using page parameter,like this
      <param name="firstResult" value="#{XXX}"/>
      it always give the error report
      java.lang.IllegalStateException: No phase id bound to current thread (make sure you do not have
      two SeamPhaseListener instances installed)
      at org.jboss.seam.contexts.PageContext.getPhaseId(PageContext.java:163)
      if just use parameter and do not set value,like <param name="firstResult"/>, it works ok.
      i guess during the render phase, the system can't get the page parameter.
      now i use f:param (or h:inputHidden)and FacesContext.getCurrentInstance().getExternalContext
      ().getRequestMap().get("XXX") to skip the page parameter's problem.
      but i want to know: it's bridge's bug or i had missed some config information?
      anyone can help?thanks
      ps:
      the project was generated by maven's archetype:
      mvn archetype:generate
         -DarchetypeGroupId=org.jboss.portletbridge.archetypes
         -DarchetypeArtifactId=seam-basic
         -DarchetypeVersion=2.0.0.FINAL
         -DgroupId=org.whatever.project
         -DartifactId=seamproject