What is the best practice in 1.2 and 2.0 for developing a component that has different visual orientations depending on the developers purpose?

For example, suppose I am writing a component to display advertising blurbs like Google's Adwords. The component can have a vertical or horizontal layout. Also suppose for the sake of argument, the layout orientation cannot be controlled via CSS. Since there is only one markup file associated with a component (true?) there doesn't seem to be an obvious way to achieve this goal. Is there a recipe for dealing with this scenario?

Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
Wicket-user mailing list

Reply via email to