You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Alfie Kirkpatrick <Al...@ioko.com> on 2009/11/09 13:28:20 UTC
Problem with ComponentResources.getElementName()?
This call appears to remove any namespace information, so the following
are not equivalent:
<t:mycomponent element="ns:something"/>
<ns:something t:type="mycomponent"/>
In the first case the element parameter is "ns:something". In the second
case calling getElementName() returns 'something' without the namespace.
Is this intentional?
Thanks, Alfie.
Re: Problem with ComponentResources.getElementName()?
Posted by Howard Lewis Ship <hl...@gmail.com>.
Looks like a bug .... with a tricky fix.
On Mon, Nov 9, 2009 at 4:28 AM, Alfie Kirkpatrick
<Al...@ioko.com> wrote:
> This call appears to remove any namespace information, so the following
> are not equivalent:
>
>
>
> <t:mycomponent element="ns:something"/>
>
> <ns:something t:type="mycomponent"/>
>
>
>
> In the first case the element parameter is "ns:something". In the second
> case calling getElementName() returns 'something' without the namespace.
>
>
>
> Is this intentional?
>
>
>
> Thanks, Alfie.
>
>
>
>
>
>
--
Howard M. Lewis Ship
Creator of Apache Tapestry
The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!
(971) 678-5210
http://howardlewisship.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org