Re: T5 id component render in version 5.0.15

2008-10-31 Thread Howard Lewis Ship
Its now done on demand, so no id attribute is rendered unless you
invoke getClientId() on the component.

On Fri, Oct 31, 2008 at 2:01 AM, Riccardo Ruffilli
<[EMAIL PROTECTED]> wrote:
>
> Hi everybody, I've worked with the 5.0.11 version of tapestry creating
> js code that works looking for anchor id. After installing the latest t5
> lib, I've noticed
> that all my action link rendered anchor don't have any id.
>
> I've a look at the new AbstractLink class and the older
>
> Element e = writer.element("a", "href", buildHref(link), "id", clientId);
>
> has been modified with
>
> element = writer.element("a", "href", buildHref(link));
>
> In the same way for the relative caller class
>
> AbstractComponentEvent where the new code
>
> writeLink(writer, link);
>
> instead of
>
> writeLink(writer, clientId, link);
>
> can anyone explain me why ? is there a new way to generate che component id
> render that I probably miss?
>
> thanks in advance
>
> Riccardo
> --
> View this message in context: 
> http://www.nabble.com/T5-id-component-render-in-version-5.0.15-tp20262130p20262130.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]
>
>



-- 
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

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



T5 id component render in version 5.0.15

2008-10-31 Thread Riccardo Ruffilli

Hi everybody, I've worked with the 5.0.11 version of tapestry creating 
js code that works looking for anchor id. After installing the latest t5
lib, I've noticed
that all my action link rendered anchor don't have any id.

I've a look at the new AbstractLink class and the older

Element e = writer.element("a", "href", buildHref(link), "id", clientId);

has been modified with

element = writer.element("a", "href", buildHref(link));

In the same way for the relative caller class

AbstractComponentEvent where the new code

writeLink(writer, link);

instead of

writeLink(writer, clientId, link);

can anyone explain me why ? is there a new way to generate che component id
render that I probably miss?

thanks in advance

Riccardo
-- 
View this message in context: 
http://www.nabble.com/T5-id-component-render-in-version-5.0.15-tp20262130p20262130.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]