[mochikit] Re: function is not defined problem

2005-11-28 Thread ronant_uk

Hi Bob,

The symptom appears whatever name you give to that function.
Dieter Lunn suggested the following:

I have had this before with JSP.  You have to put your _javascript
into a different file.  I don't know why but it seems to work then.

and indeed this is a workaround to the problem.

Puzzling ...

Cheers
Ronan



[mochikit] Re: function is not defined problem

2005-11-28 Thread Bob Ippolito



On Nov 28, 2005, at 2:54 PM, ronant_uk wrote:


The symptom appears whatever name you give to that function.
Dieter Lunn suggested the following:

I have had this before with JSP.  You have to put your _javascript
into a different file.  I don't know why but it seems to work then.

and indeed this is a workaround to the problem.


Oh, I misread your code.  Well, what matters is the output HTML, not  
the input JSP.  You should paste the source that the browser sees,  
because that's all that matters in the context of JavaScript.  The  
fact that it's JSP is irrelevant (for this list, anyway).


I don't use JSP and I don't know what misfeatures it has, but as a  
general rule I prefer to use external scripts whenever possible anyway.


-bob