On Mar 27, 2009, at 11:02 AM, Chuck Hill wrote:
One other thing is when you reopen the AMD a second time (without doing a page refresh) the css will be lost. To fix it I adding the css in the appendToResponse of the AMD with ERXResponseRewriter, just like your note about putting the javascript in there. Now it looks like its working.

I don't see this problem. Is this only after using the close link? If I close it using my controls, and open it again, it looks as it did the first time.


First of all, thanks Chuck for wiring this up!

I was able to reproduce this issue by using AjaxDatePicker in a form on an AjaxTabbedPanel. If the AjaxDatePicker is not on the initially selected tab, and is updated via Ajax (for example, an ajax form submit) the next time the calendar is activated it has lost its css.

Not sure *why* this happens yet, but was able to work around it by using ERXResponseRewriter to add the calendar's css in the page component containing the AjaxTabbedPanel.

tb

_______________________________________________
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