Which reminds me... I sent a closely related question to the list two weeks ago (which is why your question caught my eye) but for some reason it never made it. I'll repeat it here:
In Tapestry 5.3.6 I've created a page using the new Tree component. The tree is inside a zone and the page is inside an iframe to serve as the content of a subModal window. When the modal window is dismissed (hidden), I see an error in Firebug: this.element.getStyle("background-color") is null. It points to line 1796 of tapestry.js: /* * TAP5-707: store the old background color of the element or take white * as a default */ this.endcolor = this.element.getStyle('background-color').parseColor('#ffffff'); I can avoid the error by changing that line to: this.endcolor = '#ffffff'; // default if (this.element.getStyle('background-color')) this.endcolor = this.element.getStyle('background-color').parseColor('#ffffff'); On Wed, Oct 31, 2012 at 5:53 PM, Bryan Lewis <jbryanle...@gmail.com> wrote: > I wonder if it's related to this issue: > https://issues.apache.org/jira/browse/TAP5-707 > > As of version 5.2, tapestry.js sets the background color inside a zone, > trying to prevent a partially faded yellow. > > > On Wed, Oct 31, 2012 at 3:50 PM, membersound <memberso...@web.de> wrote: > >> Sometimes if a t:zone is updated, I'm losing any background styling. >> Firebug >> then shows: >> <div id="myId" class="t-zone" style="background-image: none; >> background-color: rgb(255, 255, 255);"> >> >> Very strange, is somebody else having this issue? Or moreover: HOW can i >> prevent this? What do I maybe have to override with css? >> >> Thanks >> >> >> >> -- >> View this message in context: >> http://tapestry.1045711.n5.nabble.com/Bug-t-zone-update-loses-background-style-tp5717469.html >> Sent from the Tapestry - User mailing list archive at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> >> >