[Seaside] Re: I reported an error in error list - it was incorrectly classified as 'ignored'

Fritz Schenk intrader.intrader at gmail.com
Sat Feb 12 18:48:52 UTC 2011


Thank you Bob and Avi,

Indeed an earlier version of the code had the '#' in '#external_links a'. I 
messed it up while trying various things.
The code
<code>
renderContentOn: html
	1 to: 5 do: [ :x | 
		(html div)
			id: 'external_links';
			with: [ 
						(html anchor)
							callback: [ x inspect ];
							with: x ] ].
	1 to: 5 do: [ :x | 
		(html div)
			id: '\"external_links\"';
			with: 'just some content' ].
	(html button)
		onClick:
		   ((html jQuery expression: '#external_links a') onClick: 'return 
confirm("You are going to visit: "+ this.href)');
		with: 'Attach Click'
</code>
does not work on account of something wrong with the handling of quotes. When I 
click on one of the link, the Inspector pops up immediately - the confirm 
should trigger first.





More information about the seaside mailing list