I'm not sure... You can use some fancy client side libraries but there is
also the easier to implement:
var flag = setInterval(function(){
// do stuff here, like call javascript functions...maybe something like
tapestry.bind("generated url");
}, 1000);
setInterval is like setTimeout except that setInterval will keep polling
forever until you call clearInterval(flag) - with flag being the return
value of setInterval() .
I should probably add some kind of @Timer component(annotation?) to handle
the url generation stuff for you....but there is a sort of secret trick you
can use to do this. Define a DirectLink in a .page or .jwc spec somewhere.
(ie don't render it but define it).... Then you can do something like this
(it's a dirty trick mind you, if you want to know how to do it properly
look at the DirectLink source ....though that is a little more complicated
than you likely need if you don't particularly want to invoke a method):
tapestry.bind("<span jwcid="@Insert" value="ognl:
components.yourDirectLink.getLink(requestCycle).getURL()"/>");
On 6/28/07, craigham <[EMAIL PROTECTED]> wrote:
that is what I tried to do with the annotation isn't it?
i can't find the documentation or an example to explain it.
Paulo Ramos wrote:
>
> Hi,
>
> Why you dont use ajax to do this?
>
> Paulo Ramos
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/upgrade-to-4.1.1-tf3983447.html#a11347587
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Jesse Kuhnert
Tapestry/Dojo team member/developer
Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com