PDA

View Full Version : Cannot call method write-to of null in ext-all-debug



cahello
21 Jun 2012, 9:13 AM
Hi All,

I get this error when I use "renderto: view1" where "view1" is a div ID in a jsp page. What might be the reason? :-?

Thanks!

scottmartin
21 Jun 2012, 9:44 AM
I have to ask if you are using proper case for
renderTo: 'view1'?

Is view1 available?

Scott.

cahello
21 Jun 2012, 11:02 AM
Yeah... all the cases are perfect.... I typed it wrong...sorry. But still the error persists.

scottmartin
21 Jun 2012, 11:06 AM
The error suggests that the div is not available. Has the page been served up by the time you are trying to access it with the control?

Scott.