2 Replies Latest reply on Oct 29, 2008 7:21 AM by coolstone

    Seam get request error

    coolstone

      Seam2.0.0.GA and JBoss4.2
      pages.xml


      <page view-id="/dataList.xhtml">
                <param name="id" value="#{dataList.id}" />     
      </page>
      



      Action Bean:


      @Scope(PAGE)
      @Name("dataList")
      public class SubjectDataList implements Serializable
      {
           private static final long serialVersionUID = -1L;
      
           @Logger
           private Log log;
      
           private String id;
          
          public String getId()
          {
               return this.id;
          }
        
          public void setId(String id)
          {
               this.id = id;
                log.debug("setId:" + this.id);
          }
      }
      



      Test Page


      
      <table>          
       <tr>
        <td>
         <iframe src="http://172.16.8.169:8080/dataList.seam?id=123"></iframe>
        </td>
       <td>
        <iframe     src="http://172.16.8.169:8080/dataList.seam?id=123"></iframe>
        </td>
       </tr>
      </table>
      
      





      Access the test page.
      The console output does not always display twice setId:123.
      Something once, even none.
      Why? is it seam's buy, or do i make a mistake?