I'm sorry for maybe asking something obvious but I don't really understand
your suggestion (I am relatively new with Tapestry/Tacos) I don't need to
call any server side methods. I simply need to refresh page fragment from
javascript code (I would assume this is frequent requirement for Ajax like
web applications). For example:
<script type="text/javascript">
function doSomething(arr) {
javascript code.....
<span jwcid="@tacos:Refresh"
updateComponents="ognl:{'componentName'}" />
}
</script>
Documentation for Refresh component in Tacos 4.0 says: "Creates javascript
refresh requests, similar to
AjaxDirectLink<http://tacos.sourceforge.net/components/AjaxDirectLink.html>,
only this component creates the javascript without a link". Anyway, I am
currently looking into whether this can be done with Dojo or Prototype or
some other java script framework but I would like to avoid getting deeper
into those frameworks and that's why I was looking for Tapestry/Tacos
component to help me with this.
Thanks,
Vladimir
On 8/14/07, andyhot <[EMAIL PROTECTED]> wrote:
>
> Well, we'll probably port it...
>
> But till then, using a normal DirectLink
> http://tapestry.apache.org/tapestry4.1/components/link/directlink.html
> and the RawURLLinkRenderer
>
> http://tapestry.apache.org/tapestry4.1/tapestry-contrib/cobertura/org.apache.tapestry.contrib.link.RawURLLinkRenderer.html
> will probably get you working
>
>
> Vladimir Markovic wrote:
> > Hello,
> >
> > I was wondering if there are any plans to port Refresh component from
> > 4.0 to 4.1? Currently, it is missing from 4.1. If no, any suggestions
> > for alternative to that?
> >
> > Thanks,
> > Vladimir
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Tacos-devel mailing list
> > Tacos-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/tacos-devel
> >
> --
> Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr
> Tapestry / Tacos developer
> Open Source / JEE Consulting
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Tacos-devel mailing list
> Tacos-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tacos-devel
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Tacos-devel mailing list
Tacos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tacos-devel