AW: AW: AW: Styling tags

2013-08-27 Thread Collinson, Alasdair
> I don't agree: I can't see any tags in your markup. I don't need to > remove my tags (and I don't want to), I need to dynamically add a > class="cssClassName" to them instead. Sorry, my mistake - I didn't modify the markup enough. Luckily, whether it's a wicket:container or a label doesn't

Re: AW: AW: AW: Styling tags

2013-08-27 Thread Lucio Crusca
In data martedì 27 agosto 2013 15:12:01, Collinson, Alasdair ha scritto: > So if > you change the markup in my example to > > Do you see the following? -> wicket:id="version">1.5-SNAPSHOT<- > > It still works with the same Java-Code. Unfortunately not, because my tags are part of a form, they h

Re: AW: AW: AW: Styling tags

2013-08-27 Thread francois meillet
try that private class FormExemple extends Form { public FormExemple(String myForm, CompoundPropertyModel model) { super(myForm, model); TextField tf_name = new TextField("name"); add(tf_name); FormComponentLabel formComponentLabel = ne

Re: AW: AW: AW: Styling tags

2013-08-28 Thread Lucio Crusca
In data martedì 27 agosto 2013 15:58:52, francois meillet ha scritto: > try that > > > > > > Maybe that would work to some extent, but it would have at least the following issues: 1. it wouldn't pass HTML validation ( must