You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Julien Martin <ba...@gmail.com> on 2012/05/04 14:36:40 UTC
Is is possible to specify an HREFLANG attribute for an ActionLink?
Hello,
I need to be able to specify the anchor's hreflang attribute for a
ActionLink. There does not seem to be any such attribute for the tapestry
action link.
Is there a workaround?
Regards,
Julien.
Re: Is is possible to specify an HREFLANG attribute for an ActionLink?
Posted by Bob Harner <bo...@gmail.com>.
Nevermind, I see Robert.Zeigler asked the same question a few hours
ago in a different thread.
On Fri, May 4, 2012 at 7:55 PM, Bob Harner <bo...@gmail.com> wrote:
> Maybe I'm misunderstanding the question, but since all Tapestry link
> components support informal parameters, why can't you just add it
> directly:
>
> <t:actionlink t:id="foo" hreflang="bar">
>
> On Fri, May 4, 2012 at 9:04 AM, Julien Martin <ba...@gmail.com> wrote:
>> Hello Thiago!
>> Thanks. I am going to look for relevant documentation (about mixins) and do
>> as you advised.
>> Regards,
>> Julien.
>>
>> 2012/5/4 Thiago H. de Paula Figueiredo <th...@gmail.com>
>>
>>> On Fri, 04 May 2012 09:36:40 -0300, Julien Martin <ba...@gmail.com>
>>> wrote:
>>>
>>> Hello,
>>>>
>>>
>>> Hi!
>>>
>>>
>>> I need to be able to specify the anchor's hreflang attribute for a
>>>> ActionLink. There does not seem to be any such attribute for the tapestry
>>>> action link. Is there a workaround?
>>>>
>>>
>>> You can write a mixin that adds this attribute after the ActionLink
>>> renders the <a> element into the Tapestry DOM and apply it to your
>>> ActionLinks.
>>>
>>> --
>>> Thiago H. de Paula Figueiredo
>>> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
>>> and instructor
>>> Owner, Ars Machina Tecnologia da Informação Ltda.
>>> http://www.arsmachina.com.br
>>>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Is is possible to specify an HREFLANG attribute for an ActionLink?
Posted by Bob Harner <bo...@gmail.com>.
Maybe I'm misunderstanding the question, but since all Tapestry link
components support informal parameters, why can't you just add it
directly:
<t:actionlink t:id="foo" hreflang="bar">
On Fri, May 4, 2012 at 9:04 AM, Julien Martin <ba...@gmail.com> wrote:
> Hello Thiago!
> Thanks. I am going to look for relevant documentation (about mixins) and do
> as you advised.
> Regards,
> Julien.
>
> 2012/5/4 Thiago H. de Paula Figueiredo <th...@gmail.com>
>
>> On Fri, 04 May 2012 09:36:40 -0300, Julien Martin <ba...@gmail.com>
>> wrote:
>>
>> Hello,
>>>
>>
>> Hi!
>>
>>
>> I need to be able to specify the anchor's hreflang attribute for a
>>> ActionLink. There does not seem to be any such attribute for the tapestry
>>> action link. Is there a workaround?
>>>
>>
>> You can write a mixin that adds this attribute after the ActionLink
>> renders the <a> element into the Tapestry DOM and apply it to your
>> ActionLinks.
>>
>> --
>> Thiago H. de Paula Figueiredo
>> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
>> and instructor
>> Owner, Ars Machina Tecnologia da Informação Ltda.
>> http://www.arsmachina.com.br
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Is is possible to specify an HREFLANG attribute for an ActionLink?
Posted by Julien Martin <ba...@gmail.com>.
Hello Thiago!
Thanks. I am going to look for relevant documentation (about mixins) and do
as you advised.
Regards,
Julien.
2012/5/4 Thiago H. de Paula Figueiredo <th...@gmail.com>
> On Fri, 04 May 2012 09:36:40 -0300, Julien Martin <ba...@gmail.com>
> wrote:
>
> Hello,
>>
>
> Hi!
>
>
> I need to be able to specify the anchor's hreflang attribute for a
>> ActionLink. There does not seem to be any such attribute for the tapestry
>> action link. Is there a workaround?
>>
>
> You can write a mixin that adds this attribute after the ActionLink
> renders the <a> element into the Tapestry DOM and apply it to your
> ActionLinks.
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
> and instructor
> Owner, Ars Machina Tecnologia da Informação Ltda.
> http://www.arsmachina.com.br
>
Re: Is is possible to specify an HREFLANG attribute for an
ActionLink?
Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
On Fri, 04 May 2012 09:36:40 -0300, Julien Martin <ba...@gmail.com> wrote:
> Hello,
Hi!
> I need to be able to specify the anchor's hreflang attribute for a
> ActionLink. There does not seem to be any such attribute for the tapestry
> action link. Is there a workaround?
You can write a mixin that adds this attribute after the ActionLink
renders the <a> element into the Tapestry DOM and apply it to your
ActionLinks.
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org