Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 47625 invoked from network); 15 Sep 2006 11:14:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 15 Sep 2006 11:14:08 -0000 Received: (qmail 48992 invoked by uid 500); 15 Sep 2006 11:14:05 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 48940 invoked by uid 500); 15 Sep 2006 11:14:04 -0000 Mailing-List: contact users-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Discussion" Delivered-To: mailing list users@myfaces.apache.org Received: (qmail 48928 invoked by uid 99); 15 Sep 2006 11:14:04 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Sep 2006 04:14:04 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [195.238.4.128] (HELO outmx024.isp.belgacom.be) (195.238.4.128) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Sep 2006 04:13:54 -0700 Received: from outmx024.isp.belgacom.be (localhost [127.0.0.1]) by outmx024.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-OUT-2.22) with ESMTP id k8FBDPwe024432 for ; Fri, 15 Sep 2006 13:13:25 +0200 (envelope-from ) Received: from [192.168.0.100] (219.109-136-217.adsl-dyn.isp.belgacom.be [217.136.109.219]) by outmx024.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-OUT-2.22) with ESMTP id k8FBDNWp024408 for ; Fri, 15 Sep 2006 13:13:24 +0200 (envelope-from ) Message-ID: <450A8AD5.6010404@skynet.be> Date: Fri, 15 Sep 2006 13:13:25 +0200 From: Gert Vanthienen User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: MyFaces Discussion Subject: Re: CommandButton and styleClass References: <447D97F0.6060802@emn.fr> <6322192.post@talk.nabble.com> In-Reply-To: <6322192.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N L.S., I'm using MyFaces/Tomahawk myself (version 1.1.3) and I use the styleClass attribute for extensively: a submit button will automatically be triggered when enter is pressed in a form field, with styleClass we can make it look like every other action link on a page. e.g. renders as (omitting all other rendered output for brevity here...) Since the code that does this is shared between MyFaces code and Tomahawk's , could you try replacing with for testing? If it doesn't work, could you post a JSP snippet of your usage of and the output it renders, so I can try to replicate the problems you have on my installation here? Regards, Gert Vanthienen gert@anova.be andreygl wrote: > I'm using Tomahawk MyFaces control CommandButton attribute styleClass. It > doesn't rendered on output in html. > Even it isn't displayed if I set JSF control inside > CommandButton like . > > Does anybody solve this problem? > > > ould sid wrote: > >> Hello, >> I use MyFaces, I use styleClasse in CommandButton and it does not go, on >> the other hand it goes in CommandLink. >> please if you know the response, write me!! >> >> > >