Ajax framework questions are better posted on the wonder-disc list. I don't really use the accordion component, and it's not really even "ajax" actually. It's just DHTML. So it really depends on what exactly you mean and what exactly you want to do when you say you want "WO to start a function". Does that mean you want to just call a component action in the background when the tab opens? If so, you can create an AjaxUpdateLink with an action but without an updateContainerID and it will turn into a background component action request (you would then call the javascript function that this creates in the onShowTab). If you want to refresh the tab contents when the tab opens, you could try something similar, except also wrap your tab contents in an AjaxUpdateContainer (and the same deal -- call the AjaxUpdateContainer's update javascript function in onShowTab). Like I said, though, I don't use Accordion, so I'm not sure what the ajax update semantics are in relation to how the accordion refreshes.

ms

On Dec 26, 2006, at 8:39 AM, Frank Stock wrote:

Hi,

I think this is a very easy question, but I can't figury out how it works. I try to use Ajaxaccordion from Project Wonder. When a user clicks on a AjaxAccordionTab, I want WO to start a funtion. Where can I find documentation. I can see that there is a 'onShowTab' and that should be a script. What has to go in 'onShowTab' to update my page.

Thanks,
Frank Stock
Belgium
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/mschrag% 40mdimension.com

This email sent to [EMAIL PROTECTED]


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to