[Seaside] Curious Javascript behavior

Avi Bryant avi.bryant at gmail.com
Thu Nov 24 08:12:23 CET 2005

On Nov 23, 2005, at 6:52 PM, Mike Hales wrote:

> I have a subclass of WAComponent that renders a form with  
> #inputWithType: and an #anchorWithScript:.  The script pops up a  
> calendar that then populates the text input with a date.  When I  
> #call: this component everything works correctly.  When I #render:  
> it from another component the anchor does not work.  If I reload  
> the page, it works correctly.  This is repeatable.  Does anyone  
> know why this is happening?

No, but if it's repeatable, I'd be interested in seeing the code (or  
a minimal version of it) so I can try to reproduce myself.
> Also, the anchor has an image in it.  A few times the image fails  
> to display and the alt text is displayed.  Once I had ten or so of  
> these components on the page and 9 showed the image and 1 showed  
> the alt text.  And even more strangely, once instead of showing my  
> image, it showed the wrench (spanner) from the halo that opens the  
> sytem browser.

It would be useful to find out what response (if any) you're getting  
instead of the image.  What happens if you try directly accessing the  
src URL of those images a few times from the browser?


More information about the Seaside mailing list