Example in Basic Ajax documentaion cannot work.
------------------------------------------------
Key: TAPESTRY-2210
URL: https://issues.apache.org/jira/browse/TAPESTRY-2210
Project: Tapestry
Issue Type: Improvement
Components: Documentation
Affects Versions: 4.1.5
Reporter: John Pai
Priority: Minor
Fix For: 4.1.6
The example in http://tapestry.apache.org/tapestry4.1/ajax/basics.html can not
be run correctly
A possible correction is
.html
<p>Basic javascript inclusion sample.</p>
<p>
<a jwcid="@DirectLink" listener="listener:refreshTime"
updateComponents="timeBlock">Refresh time</a>.
</p>
<span jwcid="[EMAIL PROTECTED]">
<div jwcid="[EMAIL PROTECTED]" value="ognl:time" renderTag="true" />
</sapn>
.java
public abstract BasicAjax extends BasePage {
public abstract void setTime(Date time);
public void refreshTime()
{
setTime(new java.util.Date());
}
}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]