PDA

View Full Version : How can you set the id of a BaseTreeModel



sape
1 Jul 2010, 12:55 AM
We want to use Selenium to do automated GUI testing but that requires unique id's to be specified in HTML. For other components in GWT-EXT it's straight forward since there is a setId() method which results into specifying the id in the generated HTML. For the BaseTreeModel I can't figure out how to give it a custom unique id so automated testing can be done. Does anybody know how you can achieve this?

jay@moduscreate.com
4 Jul 2010, 9:09 AM
Moved to GXT help

sven
5 Jul 2010, 9:59 AM
http://www.sencha.com/forum/showthread.php?76086-2.0.1-TreePanel-can-t-set-html-id-on-nodes&highlight=ModelKeyProvider