2 Replies Latest reply on Jun 20, 2008 12:19 AM by Francisco Jose Peredo Noguez

    Performance: Unrelated page parameters call unrelated component

    Francisco Jose Peredo Noguez Master

      Hi!


      Something strange is happening (with Seam 2.0.1.GA) and *.page.xml parameters, if for example, you have a SomeEntityList.page.xml with this:


      <param name="someParameter" value="#{otherEntityHome.otherId}"/>
      



      and then, instead of visiting SomeEntityList.seam, you visit AThirdUnrelatedEntityList.seam... then getOtherId() in OtherEntityHome get called...


      It seems that any <param> on any SomeEntityList.page.xml gets called automatically... always... it doesn't matter if I am visiting AThirdUnrelatedEntityList.seam or the corresponding SomeEntityList.seam


      Is this the expected behavior? is this perhaps fixed in 2.0.2?


      Thanks,


      Regards,