You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-user@incubator.apache.org by "Meyer, Stefan" <S....@S2neueinformatik.de> on 2007/01/17 18:21:57 UTC
Image button
I cannot get the image button (made from 4 images defined in the skin
css) to work. The Button is rendered by the core renderer. I use the
faces-config.xml from the archetype.
...
<application>
<!-- Use the Trinidad RenderKit -->
...
<default-render-kit-id>
org.apache.myfaces.trinidad.core
</default-render-kit-id>
<message-bundle>resources</message-bundle>
</application>
...
Re: Image button
Posted by Matthias Wessendorf <ma...@apache.org>.
âh,
you mean the
.AFButtonStartIcon:alias,... stuff
seeing the same issue
-M
On 1/17/07, Matthias Wessendorf <ma...@apache.org> wrote:
> are talking about the icon attribute?
>
> <tr:commandButton action="#{bean.method}" icon="/images/search.gif" />
>
> icon takes an url to an image
>
> or did I got u wrong?
>
> thx,
> Matthias
>
> On 1/17/07, Meyer, Stefan <S....@s2neueinformatik.de> wrote:
> > I cannot get the image button (made from 4 images defined in the skin
> > css) to work. The Button is rendered by the core renderer. I use the
> > faces-config.xml from the archetype.
> >
> >
> > ...
> > <application>
> > <!-- Use the Trinidad RenderKit -->
> > ...
> > <default-render-kit-id>
> > org.apache.myfaces.trinidad.core
> > </default-render-kit-id>
> > <message-bundle>resources</message-bundle>
> > </application>
> > ...
> >
>
>
> --
> Matthias Wessendorf
> http://tinyurl.com/fmywh
>
> further stuff:
> blog: http://jroller.com/page/mwessendorf
> mail: mwessendorf-at-gmail-dot-com
>
--
Matthias Wessendorf
http://tinyurl.com/fmywh
further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com
Re: Image button
Posted by Matthias Wessendorf <ma...@apache.org>.
are talking about the icon attribute?
<tr:commandButton action="#{bean.method}" icon="/images/search.gif" />
icon takes an url to an image
or did I got u wrong?
thx,
Matthias
On 1/17/07, Meyer, Stefan <S....@s2neueinformatik.de> wrote:
> I cannot get the image button (made from 4 images defined in the skin
> css) to work. The Button is rendered by the core renderer. I use the
> faces-config.xml from the archetype.
>
>
> ...
> <application>
> <!-- Use the Trinidad RenderKit -->
> ...
> <default-render-kit-id>
> org.apache.myfaces.trinidad.core
> </default-render-kit-id>
> <message-bundle>resources</message-bundle>
> </application>
> ...
>
--
Matthias Wessendorf
http://tinyurl.com/fmywh
further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com