You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Andrew Robinson <an...@gmail.com> on 2007/08/22 22:33:12 UTC

[Trinidad] tr:icon missing properties?

I am trying to use tr:icon. The tag documentation shows support for
events like onclick and properties like inlineStyle. I have created
the icon in my skin:

.AFExpandPanelIcon:alias {
  content: url(/skins/standard/images/icon_expand.png);
}

And then referred to it:

<tr:icon
id="messageHeaderToggleIconExpand"
name="expandPanel"
onclick="expandMessages();"
inlineStyle="display: none;" />

But this is what gets rendered:

<img border="0" src="/context/skins/standard/images/icon_expand.png"
id="messageHeaderToggleIconExpand"/>

This looks like a bug, but before reporting it, wanted to check

Version 1.0.2

-Andrew

Re: [Trinidad] tr:icon missing properties?

Posted by Andrew Robinson <an...@gmail.com>.
Okay:

https://issues.apache.org/jira/browse/TRINIDAD-644

On 8/23/07, Adam Winer <aw...@gmail.com> wrote:
> Yep, looks like a bug.
>
> -- Adam
>
>
> On 8/22/07, Andrew Robinson <an...@gmail.com> wrote:
> > I am trying to use tr:icon. The tag documentation shows support for
> > events like onclick and properties like inlineStyle. I have created
> > the icon in my skin:
> >
> > .AFExpandPanelIcon:alias {
> >   content: url(/skins/standard/images/icon_expand.png);
> > }
> >
> > And then referred to it:
> >
> > <tr:icon
> > id="messageHeaderToggleIconExpand"
> > name="expandPanel"
> > onclick="expandMessages();"
> > inlineStyle="display: none;" />
> >
> > But this is what gets rendered:
> >
> > <img border="0" src="/context/skins/standard/images/icon_expand.png"
> > id="messageHeaderToggleIconExpand"/>
> >
> > This looks like a bug, but before reporting it, wanted to check
> >
> > Version 1.0.2
> >
> > -Andrew
> >
>

Re: [Trinidad] tr:icon missing properties?

Posted by Adam Winer <aw...@gmail.com>.
Yep, looks like a bug.

-- Adam


On 8/22/07, Andrew Robinson <an...@gmail.com> wrote:
> I am trying to use tr:icon. The tag documentation shows support for
> events like onclick and properties like inlineStyle. I have created
> the icon in my skin:
>
> .AFExpandPanelIcon:alias {
>   content: url(/skins/standard/images/icon_expand.png);
> }
>
> And then referred to it:
>
> <tr:icon
> id="messageHeaderToggleIconExpand"
> name="expandPanel"
> onclick="expandMessages();"
> inlineStyle="display: none;" />
>
> But this is what gets rendered:
>
> <img border="0" src="/context/skins/standard/images/icon_expand.png"
> id="messageHeaderToggleIconExpand"/>
>
> This looks like a bug, but before reporting it, wanted to check
>
> Version 1.0.2
>
> -Andrew
>