You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org> on 2013/11/19 19:59:23 UTC

[jira] [Closed] (TAP5-2212) If component example contains a pagelink with wrong parameter name/type

     [ https://issues.apache.org/jira/browse/TAP5-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship closed TAP5-2212.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: 5.4
         Assignee: Howard M. Lewis Ship

> If component example contains a pagelink with wrong parameter name/type
> -----------------------------------------------------------------------
>
>                 Key: TAP5-2212
>                 URL: https://issues.apache.org/jira/browse/TAP5-2212
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 5.3.7
>            Reporter: Chris Mylonas
>            Assignee: Howard M. Lewis Ship
>            Priority: Trivial
>             Fix For: 5.4
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.1#6144)