function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
mpolimpoli 

CSS Breaking with YUI API

Hi everyone,

 

I'm currently working on a visualforce page that utilizes YUI's Drag and Drop. Dragging and dropping list elements is working quite nicely at the moment, so I've decided to add the ability for a user to double-click on a list element, shooting a signal via an actionFunction to have the page rerendered with that list element's outputFields replaced with inputFields (everything else rendered the same).

 

However, once the page rerenders, it does not retain all of the CSS that was applied. Using the Web Developer plugin for Firefox, I've found that the CSS for each of the ul-tags encapsulating the list items is lost in the rerendering process.

 

Has anybody experienced similar breakage in CSS when rerendering panels?