After fiddling with protoype the $$ coupled with the !^ selector seems to
work.  I'm including some custom helper code to accomplish getting an
element by id without regard to the tapestry id namespace.  If this is/was
obvious or there is better solution, I apologize but hopefully this will be
helpful to others.

// gets the first element where the id begins with the 'id_starts_with'
argument.
function $G(id_starts_with)
{
        return( $G_(id_starts_with)[0] );
}

// gets all elements where their id's begin with the 'id_starts_with'
argument.
function $G_(id_starts_with)
{
        return( $$("[id^='"+id_starts_with+"']") );
}


to get access to this T5 namespaced node : 
   <form id="foo:1234" />
call
    $G('foo')


cheers,
B
-- 
View this message in context: 
http://www.nabble.com/T5%3A-ajax-component-ids-with-namespaces-tp16826268p16908236.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to