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

Andreas Andreou resolved TAPESTRY-2210.
---------------------------------------

    Resolution: Fixed
      Assignee: Andreas Andreou

thx - actually the problem was that the initial value was null, 
so no html was rendering on page load.

> 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
>            Assignee: Andreas Andreou
>            Priority: Minor
>             Fix For: 4.1.6
>
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> 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]

Reply via email to