the composite component approach addresses migration of "rich:spacer" tags in .xhtml pages richfaces 4.
but have custom component using htmlspacer this:
htmlspacer spacer = new htmlspacer(); spacer.setwidth("20"); how can migrated richfaces 4?
an appropriate/preferable solution write css custom component instead of using spacer image approach.
but if going old-style way, straightforward alternative this:
htmlgraphicimage spacer = new htmlgraphicimage(); spacer.setname("images/spacer.gif"); spacer.setwidth("20px"); spacer.setheight("0px");
Comments
Post a Comment