You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/11/19 19:59:22 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13826815#comment-13826815 ]
ASF subversion and git services commented on TAP5-2212:
-------------------------------------------------------
Commit 15d1a84022ffa65bca0f1bd132c5afab6e5fff16 in branch refs/heads/master from [~hlship]
[ https://git-wip-us.apache.org/repos/asf?p=tapestry-5.git;h=15d1a84 ]
TAP5-2212: Errors in the If documentation
> 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: Improvement
> Components: documentation
> Affects Versions: 5.3.7
> Reporter: Chris Mylonas
> Priority: Minor
> 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)