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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 5.3.7
    • Fix Version/s: 5.4
    • Component/s: documentation
    • Labels:
      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

            • Assignee:
              hlship Howard M. Lewis Ship
              Reporter:
              cstachris Chris Mylonas
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: