That worked and solved the component not yet rendered problem so

<t:any t:id="first" >${selector:this} ${selector:test}</t:any>
<t:any >${selector:this}</t:any>
<t:any >${selector:this}</t:any>
<t:any t:id="test">${selector:this} ${selector:first}</t:any>

outputs

jQuery('#first') jQuery(selector['test'])
jQuery('#any')
jQuery('#any_0')
jQuery('#test') jQuery('#first')

var $ = jQuery; Tapestry.DEBUG_ENABLED = true; var selector = new Array();
Tapestry.onDOMLoaded(function() {
selector['test'] = '#test';});

Thanks
Barry

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to