You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Chris Mylonas (JIRA)" <ji...@apache.org> on 2013/10/30 07:03:25 UTC
[jira] [Created] (TAP5-2212) If component example contains a
pagelink with wrong parameter name/type
Chris Mylonas created TAP5-2212:
-----------------------------------
Summary: 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
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)