Is there a way to ajax refresh a header component, css style, with Wicket?
On an action from an user the application have to change the css-statements in the head of the page. Currently I am using a WebMarkupContainer with a wicket:head section and a CssContentHeaderItem, but that does not seem to get it done.
AttributeModifierorAttributeAppenderto update the css on a specific component. i.e.- to apply aselectedcss to a div (withwicket:id="container", I would putcontainer.add(new AttributeModifier("class","selected"));then refresh the component. I guess I handle it by changing the css tag on the component while keeping the css reference static. Maybe some code and/or more explaination of what/why your are changing the css could help someone formulate a more useful answer. Good Luck! - OnesAndZeros