[Seaside] Strategies for bulky renders/updates

Milan Mimica milan.mimica at gmail.com
Sun Mar 13 17:26:25 UTC 2011


Johan Brichau wrote:
> 
> * Register the click events on each applicable html element such that they call the previously defined javascript function:
> 
> 	html listItem 
> 		onClick: (JSStream on: 'clickAction($(this).id)');
> 		with: [ ... ]
> 

A was thinking about the same problem just today. A potential problem is that it 
leaks IDs into HTML. One could easily guess a valid ID which maps to a database 
object which he normally wouldn't have access to. Hm... unless you take special 
care to obfuscate the ID.



-- 
Milan Mimica
http://sparklet.sf.net


More information about the seaside mailing list