Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-3609

Performance problem: when using <s:link> or <s:button> with page.xml

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: 2.0.2.SP1, 2.0.3.CR1
    • Fix Version/s: 2.1.1.CR1
    • Component/s: None
    • Labels:
    • Environment:

      JDK 1.5.0_14, jboss-4.2.3.GA

      Description

      <s:link> or <s:button> will automatically check the View_id's page.xml, and temporary construct the seam components in the page.xml, then call component's @Create and @Destroy method.

      For example:

      There is a <s:link> at the menu.xhtml:

      <s:link view="/login.xhtml" value="Login"/>

      If login.page.xhtml like this:
      <param name="order" value="#

      {deptList.order}

      "/>

      seam will automatically construct the deptList component, and call it's @Create and @Destroy method.

      I find the issue at Seam 2.0.2.SP1 and 2.0.3.CR1.
      It's a big performance problem, please resolve it ASAP.

      Thanks a lot and sorry for my bad english.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  shane.bryzak Shane Bryzak
                  Reporter:
                  kun2000 Kun Zhang
                • Votes:
                  6 Vote for this issue
                  Watchers:
                  9 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: