hi
   i write a simple minixs call remotelink, it look like grails's
remotelink.
   maybe minixs greate!

you can simple use

<a href="#" t:id="showme"
        t:type="actionlink" t:update="result"
t:mixins="remotelink">action</a>
<a href="#" t:page="index"
        t:type="pagelink" t:update="result" t:mixins="remotelink">page</a>
<div id="result">result will show here.</div>

   but i confused by the return.
   My first question is : what should ajax action return? json? html
fragment? xml?

   One of t5's benefit is "you can use dreamweaver edit the tml”.
    In example code, "pagelink" work fine. because it return "html". but
actionlink is not perfect.
    My seconde question is : how to return  html fragment in action.



Nile Black
-----------------
每天一个小时debian.

Attachment: remotelink.js
Description: JavaScript source

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to