I recently wrote my first tag library and everything is working great except when I attempt to rerender a panel that contains tags from my tag library.
What happens is any tag attribute that is not supplied by a backing bean reverts to the default value instead of what I have supplied in the code.
where the default of attr1 is 10, so when I use a command link to rerender the panel attr1 reverts to 10 and attr2 contains what it should based on the state of the backing bean
Joined: Jul 20, 2009
Ok I figured out why it was losing the attribute state between rerenders. I had not overridden the saveState and restoreState methods
Still have the issues of the script not being replaced but just appended to the panel