On Monday 02 September 2013 10:12:25 Martin Grigorov wrote:
On Sat, Aug 31, 2013 at 10:18 AM, Lucio Crusca lu...@sulweb.org wrote:
In data venerdì 30 agosto 2013 10:48:35, Martin Grigorov ha scritto:
Hi Lucio,
The suggested solution should work.
Which one? I think I've tried all of them
Hi Lucio,
On Wed, Sep 4, 2013 at 10:06 AM, Lucio Crusca lu...@sulweb.org wrote:
On Monday 02 September 2013 10:12:25 Martin Grigorov wrote:
On Sat, Aug 31, 2013 at 10:18 AM, Lucio Crusca lu...@sulweb.org wrote:
In data venerdì 30 agosto 2013 10:48:35, Martin Grigorov ha scritto:
Hi
Hi Lucio,
The for=anything was referring to the id=anything of the input tag,
which is valid. See http://www.w3schools.com/tags/tag_label.asp.
form wicket:id=form
label wicket:id=label_tag for=anything
span wicket:id=label_tag_Text /span
/label
On Sat, Aug 31, 2013 at 10:18 AM, Lucio Crusca lu...@sulweb.org wrote:
In data venerdì 30 agosto 2013 10:48:35, Martin Grigorov ha scritto:
Hi Lucio,
The suggested solution should work.
Which one? I think I've tried all of them and reported issues here, but
maybe
I missed one.
of the book for your convenience: http://bit.ly/15w4LEI
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Styling-label-tags-tp4661070p4661167.html
Sent from the Users forum mailing list archive at Nabble.com
In data venerdì 30 agosto 2013 10:48:35, Martin Grigorov ha scritto:
Hi Lucio,
The suggested solution should work.
Which one? I think I've tried all of them and reported issues here, but maybe
I missed one.
-
To
In data mercoledì 28 agosto 2013 08:59:56, Lucio Crusca ha scritto:
Maybe that would work to some extent, but it would have at least the
following issues: [...]
No more replies. Should I deduce there's no known solution?
-
To
Hi Lucio,
The suggested solution should work.
Did you try it ?
What kind of issues you faced ?
Give us more details and some code and we will tell you where is the
problem.
On Fri, Aug 30, 2013 at 11:36 AM, Lucio Crusca lu...@sulweb.org wrote:
In data mercoledì 28 agosto 2013 08:59:56, Lucio
In data martedì 27 agosto 2013 15:58:52, francois meillet ha scritto:
try that
form wicket:id=form
label wicket:id=label_tag for=anything
span wicket:id=label_tag_Text /span
/label
input wicket:id=name type=text size=40 id=anything
In data lunedì 26 agosto 2013 11:28:27, francois meillet ha scritto:
have a look to
http://ci.apache.org/projects/wicket/apidocs/6.0.x/org/apache/wicket/markup
/html/form/FormComponentLabel.html and
http://ci.apache.org/projects/wicket/apidocs/6.0.x/org/apache/wicket/markup
Betreff: Re: Styling label tags
In data lunedì 26 agosto 2013 11:28:27, francois meillet ha scritto:
have a look to
http://ci.apache.org/projects/wicket/apidocs/6.0.x/org/apache/wicket/m
arkup /html/form/FormComponentLabel.html and
http://ci.apache.org/projects/wicket/apidocs/6.0.x/org/apache
In data martedì 27 agosto 2013 13:30:43, Collinson, Alasdair ha scritto:
I would go a completely different route: add an AttributeModifier [1]. It
should look something like this:
Label label = new Label(label, Model.of(Text));
label.add(new AttributeModifier(class,
It does. Here's a quick example, adapted from a quickstart:
package com.mycompany;
import org.apache.wicket.AttributeModifier;
import org.apache.wicket.request.mapper.parameter.PageParameters;
import org.apache.wicket.markup.html.basic.Label;
import org.apache.wicket.markup.html.WebPage;
import
In data martedì 27 agosto 2013 14:46:03, Collinson, Alasdair ha scritto:
It does.
I don't agree: I can't see any label tags in your markup. I don't need to
remove my label tags (and I don't want to), I need to dynamically add a
class=cssClassName to them instead.
I don't agree: I can't see any label tags in your markup. I don't need to
remove my label 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
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? -gt;label
wicket:id=version1.5-SNAPSHOT/labellt;-
It still works with the same Java-Code.
Unfortunately not, because my label tags are part of a
try that
private class FormExemple extends FormExempleModel {
public FormExemple(String myForm,
CompoundPropertyModelExempleModel model) {
super(myForm, model);
TextFieldString tf_name = new TextFieldString(name);
add(tf_name);
have a look to
http://ci.apache.org/projects/wicket/apidocs/6.0.x/org/apache/wicket/markup/html/form/FormComponentLabel.html
and
http://ci.apache.org/projects/wicket/apidocs/6.0.x/org/apache/wicket/markup/html/form/SimpleFormComponentLabel.html
François
On Sun, Aug 25, 2013 at 6:30 PM, Lucio
I need to dynamically set class=cssClassName to some label tags. Just now
I set the label text with:
myFormComponent.setLabel(...)
but how do I change its css class?
-
To unsubscribe, e-mail:
19 matches
Mail list logo