Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 85045 invoked from network); 5 Apr 2006 11:53:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Apr 2006 11:53:25 -0000 Received: (qmail 31285 invoked by uid 500); 5 Apr 2006 11:53:20 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 31250 invoked by uid 500); 5 Apr 2006 11:53:19 -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 31235 invoked by uid 99); 5 Apr 2006 11:53:19 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Apr 2006 04:53:19 -0700 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=RCVD_IN_BL_SPAMCOP_NET,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of bierbrauen@gmail.com designates 64.233.182.185 as permitted sender) Received: from [64.233.182.185] (HELO nproxy.gmail.com) (64.233.182.185) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Apr 2006 04:53:18 -0700 Received: by nproxy.gmail.com with SMTP id n29so1419745nfc for ; Wed, 05 Apr 2006 04:52:57 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ENCvDQ8yfOhldqr1ZE58mHdWvoJGJ41ZL3jssOE/e/rpPRW9ae5PwqVjXrDMeMK2n1luibQK9ELeXrJALfHlCoCxBOYDYvwVijbcTNrkCUq4Rk3mL+lJAMXYQoVJBzwIwMx+rT5avf7pNOLjA9XbgTw4AVBYa8vPEOYizXz2QAM= Received: by 10.48.203.6 with SMTP id a6mr1242834nfg; Wed, 05 Apr 2006 04:52:56 -0700 (PDT) Received: by 10.49.11.3 with HTTP; Wed, 5 Apr 2006 04:52:56 -0700 (PDT) Message-ID: <311295120604050452l369d1222s3951d339cda0375f@mail.gmail.com> Date: Wed, 5 Apr 2006 13:52:56 +0200 From: "=?ISO-8859-1?Q?Gerald_M=FCllan?=" To: "MyFaces Discussion" Subject: Re: Re: problem with panelTabbedPane on winXP and IE6 In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <311295120604050421u5b1f88acjc4558544f5532bd4@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N The css styles are only to differentiate between an active and an inactive = tab. The button stuff should not be displayed normally (IE bug), but with applying some new style attributes it is able to live with this issue. However, this is more or less a bug in our components logic,and has to be fixed. The user should not have to care about it. regards, Gerald On 4/5/06, Matthias Kahlau wrote: > Ok, but I don't understand why they use CSS to render the active tab's in= put > as button (maybe it's only an IE specific behaviour...) > > -Matthias > > > -----Urspr=FCngliche Nachricht----- > > Von: users-return-19822-mkahlau=3Dweb.de@myfaces.apache.org > > [mailto:users-return-19822-mkahlau=3Dweb.de@myfaces.apache.org]Im Auftr= ag > > von Gerald M=FCllan > > Gesendet: Mittwoch, 5. April 2006 13:22 > > An: MyFaces Discussion > > Betreff: Re: Re: problem with panelTabbedPane on winXP and IE6 > > > > > > Hm..have a look at the html-source. There are three elements, > > one for each tab. > > > > The difference is only in another applied style to the input element > > over "...activeHeaderCell". > > > > regards, > > > > Gerald > > > > On 4/5/06, Matthias Kahlau wrote: > > > As I know from my app, the panelTabbedPane had only a button > > for the active > > > tab by default. And why should someone press the button for the activ= e > > > tab..? > > > > > > -Matthias > > > > > > > -----Urspr=FCngliche Nachricht----- > > > > Von: users-return-19817-mkahlau=3Dweb.de@myfaces.apache.org > > > > > > [mailto:users-return-19817-mkahlau=3Dweb.de@myfaces.apache.org]Im Auftr= ag > > > > von Gerald M=FCllan > > > > Gesendet: Mittwoch, 5. April 2006 12:53 > > > > An: MyFaces Discussion > > > > Betreff: Re: Re: problem with panelTabbedPane on winXP and IE6 > > > > > > > > > > > > Hi, > > > > > > > > would be better if we fix that issue in the component directly. I w= ill > > > > have a look on that. > > > > > > > > The server side switch does a round trip to server in every case wh= en > > > > you are switching to the next tab, this requires a post and so ther= e > > > > is the need of a button. Client side does the switch only via js, t= hus > > > > no model update will take place. > > > > > > > > If you have a look at the myfaces simple examples, there are two > > > > tabbed panes on the page. The first comes with the setting > > > > serverSideTabSwitch=3D"false". Second is set to true, there you get= the > > > > problems with the button. > > > > > > > > I am just wondering, if you don`t specify this attribute - default > > > > should be client side - the button should not be displayed. > > > > > > > > cheers, > > > > > > > > Gerald > > > > > > > > On 4/4/06, Garner Shawn wrote: > > > > > I will try what you said for the css, thanks. > > > > > You should add that to the Wiki because others are apparently hav= ing > > > > > buttons renderred also and may not be a filter issue as my case > > > > > wasn't. > > > > > > > > > > >> and only if you you set the panel to serverSide tab switch. > > > > > > > > > > I'm not sure what the serverSideTabSwitch attribute does > > but it's not > > > > > present in my panelTabbedPane thus I'm not setting it to > > anything. The > > > > > attribute wasn't in the myfaces examples so I didn't use the > > > > > serverSideTabSwitch attribute . Are you sure this has > > something to do > > > > > with the problem? Should I be using the serverSideTabSwitch > > > > > attribute? How would it help? > > > > > > > > > > > > > > > Shawn > > > > > > > > > > ------------------Original Messages------------------------------= -- > > > > > From: "Gerald M=FCllan" > > > > > To: "MyFaces Discussion" > > > > > Date: Tue, 4 Apr 2006 17:56:07 +0200 > > > > > Subject: Re: problem with panelTabbedPane on winXP and IE6 > > > > > Hi, > > > > > > > > > > Yes, you are right. This is only a missinterpreting issue > > with IE, and > > > > > only if you you set the panel to serverSide tab switch. Because y= ou > > > > > have to do a post, the button is rendered. > > > > > > > > > > You can easily access it with: > > > > > > > > > > .activeTabClass input { ... } > > > > > > > > > > This will also only affect the tab, and not the whole tab-page! > > > > > > > > > > cheers, > > > > > > > > > > Gerald > > > > > > > > > > On 4/4/06, Garner Shawn wrote: > > > > > > My active tab has been renderring as a button. > > > > > > I went to the example site at > > > > > > http://www.irian.at/myfaces/tabbedPane.jsf and the active > > tab there > > > > > > has the active tab renderred as a button also. > > > > > > > > > > > > I read a website and this seems to be an winXP and IE6 > > specific issue > > > > > > and figured out I can fix it by doing this: > > > > > > > > > > > > input { > > > > > > color: #465f8c; > > > > > > padding: 2px 5px; > > > > > > border: 2px solid; > > > > > > border-color: #7bf #07c #07c #7bf; > > > > > > background-color: #f0d4ff; > > > > > > font-family: Georgia, serif; > > > > > > font-size: 18px; > > > > > > display: block; > > > > > > } > > > > > > > > > > > > Which I think the website said you needed either > > background-color or > > > > > > border-color. > > > > > > > > > > > > Now my tab renders as a tab instead of a button. Howerver... > > > > > > > > > > > > This applies the css to all inputs on the page and I only want = the > > > > > > tabs to have this and not any buttons that might submit a > > form (I do > > > > > > have one too). > > > > > > > > > > > > I created a stylesheet class using the same properties as befor= e. > > > > > > > > > > > > .activeTabClass { > > > > > > color: #465f8c; > > > > > > padding: 2px 5px; > > > > > > border: 2px solid; > > > > > > border-color: #7bf #07c #07c #7bf; > > > > > > background-color: #f0d4ff; > > > > > > font-family: Georgia, serif; > > > > > > font-size: 18px; > > > > > > display: block; > > > > > > } > > > > > > > > > > > > and assigned it to all the different style class attributes > > > > > > (activeTabStyleClass...) for the panelTabbedPane and > > panelTab tags. > > > > > > > > > > > > I'm a newbie at css but I thought this should have worked but > > > > it didn't. > > > > > > > > > > > > > > > > > > Any one have any idea how I can assign this style sheet > > just the the > > > > > > tab's input button and not the ones on the rest of the page? > > > > > > > > > > > > Shawn > > > > > > > > > > > > > > > > > > > > > > > -- > > > > Gerald M=FCllan > > > > Schelleingasse 2/11 > > > > 1040 Vienna, Austria > > > > 0043 699 11772506 > > > > Bierbrauen@gmail.com > > > > > > > > > > > > -- > > Gerald M=FCllan > > Schelleingasse 2/11 > > 1040 Vienna, Austria > > 0043 699 11772506 > > Bierbrauen@gmail.com > > -- Gerald M=FCllan Schelleingasse 2/11 1040 Vienna, Austria 0043 699 11772506 Bierbrauen@gmail.com