Can you create a simple example demonstrating this problem and open a Jira issue on it?
Be sure to include what versions of MyFaces jar files that you are using and indicate that it used to work in 1.1.1. Thanks. On 9/18/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
-----Ursprüngliche Nachricht----- Von: Mike Kienenberger [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 15. September 2006 17:45 An: MyFaces Discussion Betreff: Re: Several Errors/Problems after Upgrading from 1.1.1 to myfaces 1.1.4/tomahawk 1.1.5 On 9/15/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I tried to upgrade from myfaces 1.1.1 to myfaces 1.1.4 and tomahawk 1.1.5 > (I use the archives from > http://people.apache.org/builds/myfaces/core-1.1.x/myfaces-core-1.1.4-r428254-SNAPSHOT-bin.zip) > and an uptodate tomahawk snapshot) > What is the recommended version of tomahawk? >>This is what I'd recommend, although you can now get MyFaces Core >>1.1.4 -- I think it's the same code, though. I did the change to MyFaces Core 1.1.4 > Now I have some new problems in my application (an apllication which is > already in production usage since several months and works fine). > > > Problem with styling of h:column with rendered attribute usage > ============================================= > I use a dataTable from Tomahawk and there is a t:column in the table > rendered only when a special codition is true. > I style the columns with the columnsClasses attribute of the dataTable. > This attribute is dynamically provided by a backing bean. > When the column rendered attribute is true the UI is o.k. > But when the column isn't rendered the column doesn't get the correct > css-class. (although the columnsClasses attribute has the correct string > value of the css classes of the columns) > > The desired behavior worked perfectly in Version 1.1.1. >>Sounds like a bug. It'd be helpful if you gave a specific example >>showing how it's broken, though. It's a little vague. I've table with 9 colums. When a special condition is true I want to display only 8 columns. (the 4th column should be hidden). This "magic" is realized with <t:column rendered="{#backingBean.condition}" ..> For the style of the columns I use the columnClasses attribute of the datatable. Because of the variable number of the column's I serve the columnClasses attribute with a backing bean (<t:dataTable columnClasses="#{backingBean.columnClasses}" .../> When the number of the columns is equal to the maximum numbers the styling is o.k. (every column got the right class attribute value). When the number of columns is less than the maximum numbers the styling of the columns is wrong. (The column style attribute is wrong ) I checked the return value of the backing bean for the columnClasses attribute and the value is o.k. I got this values for the columnClasses Attributte when I have to render 9 columns: tableSelectionColumn,tarifBezeichnung,date,standardTableColumnCentered,standardTableColumnCentered,standardTableColumnCentered,tarifKurzBez,praemie,standardTableColumnCentered when I have to render 8 columns: tableSelectionColumn,tarifBezeichnung,date,standardTableColumnCentered,standardTableColumnCentered,tarifKurzBez,praemie,standardTableColumnCentered I the case when only 8 columns should be rendered for example the 6th column is rendered with the class praemie. But this class is on 7th position in the columnClasses value. And the same code worked with version 1.1.1 correct. > 08:36:34,765 ERROR [MyFacesResourceLoader] Unparsable lastModified : > @lastModified@ You can ignore this one. It's a problem with the way our Maven build works. The error has been reduced to a warning in the latest code. > 08:43:56,875 WARN [ReducedHTMLParser] Invalid tag found: unexpected input > while looking for attr name or '/>' at line 551 >>This one is serious and you probably better figure out what's >>malformed in your page code at line 551. Of course I tried to find out what's wrong. But when I watch the generated html source code on line 551 is a blank area. But it seems it belong to shale (when I remove for example <s:commonsValidator ... tags I get no such errors Regards Martin ++++++++++++++++++++++++++++++++++++++++++++++ Diese Nachricht ist vertraulich und ausschließlich für den/die Adressaten bestimmt. Sollten Sie nicht der beabsichtigte Adressat, einer seiner Mitarbeiter oder sein Empfangsbevollmächtigter sein, ist jede Form der Kenntnisnahme, Veröffentlichung, Vervielfältigung oder Weitergabe des Inhalts dieser Nachricht unzulässig. In diesem Fall bitten wir, den Absender umgehend zu benachrichtigen und die Nachricht zu vernichten. Elektronisch versandte Nachrichten können durch Unberechtigte manipuliert und/oder gelesen werden, weshalb jegliche Haftung hierfür ausgeschlossen wird. ++++++++++++++++++++++++++++++++++++++++++++++ This communication is confidential and is intended solely for the addressee(s). If you are not the intended recipient(s), his/her assistant, or authorized recipient, any form of disclosure, reproduction, distribution or any use of this communication or the information in it, is strictly prohibited and may be unlawful. In this case, please notify the sender immediately and destroy the e-mail. Electronic communication via the Internet by e-mail may be manipulated and/or read by third parties, thus we exclude any liability whatsoever for this e-mail. ++++++++++++++++++++++++++++++++++++++++++++++

