My use-case is like that:
I need to render a page that has a map on it, which I want to render only once and not refresh. The user can start a process which takes a few parameters. After the process is started I need to show its status. What I was thinking to do is to start a timer when the user clicks on the process initiation command (button or link) and refresh only a label that shows the status.
I looked into the timer behavior that comes with Wicket, but it seems to me that the timer event is started when the page is loaded, which is not going to work.
Yuri
On 6/15/06,
Igor Vaynberg <[EMAIL PROTECTED]> wrote:
without a specific usecase its prett difficult to help you. take a look at the ajax behaviors and how they generate callbacks - getCallbackScript() and getCallbackUrl() maybe you can write out to head what you need, something like
<head>
<script>
function callback(param1, param2) { wicketAjaxGet(......+'¶m1='+param1...)
</script>
have the above produced by an ajax behavior you added to the component that needs to receive the event and then in your _javascript_ call the callback() func with your parameters.
-IgorOn 6/15/06, Yuri Magrisso < [EMAIL PROTECTED]> wrote:Hi,
I have a page with behaviors that is easier for me to code directly in _javascript_. I would like to render a page, let the user input data, then send this data to the page and rerender the components that need refreshing. Basically what I need is to either send a form or just append parameters to a link and refresh various components on the page, not belonging to the form.
How should I do that?
Thanks,Yuri
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user
_______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
