Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-2212

If component example contains a pagelink with wrong parameter name/type

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 5.3.7
    • 5.4
    • documentation
    • None

    Description

      http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/components/If.html

      Example .tml for this component (If) throws an exception

      Parameter(s) 'page' are required for org.apache.tapestry5.corelib.components.PageLink, but have not been bound.

      <t:if test="user">
      Welcome back, ${user.firstName}
      <p:else>
      <t:pagelink name="login">Login</t:pagelink> /
      <t:pagelink name="register">Register</t:pagelink>
      </p:else>
      </t:if>

      Simple fix 's/name/page/g' in that example.

      Attachments

        Activity

          People

            hlship Howard Lewis Ship
            cstachris Chris Mylonas
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: