You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Andy Huhn <am...@hrtc.net> on 2008/04/04 09:31:02 UTC
[T5]: Default TextField size?
Hello,
Is there a way to configure the default size parameter that will be
generated for TextFields?
Thanks,
Andy
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
RE: [T5]: Default TextField size?
Posted by Andy Huhn <am...@hrtc.net>.
Sorry, Kristian. I think I was looking at something else while I was
typing. :o) Thank you, Kristian!
On Sat, 2008-04-05 at 22:20 -0400, Andy Huhn wrote:
> Thank you, Kevin! That was the direction I needed.
>
> On Fri, 2008-04-04 at 11:11 +0200, Kristian Marinkovic wrote:
> > i use CSS to set the VISUAL size of my input fields :)
> >
> > g,
> > kris
> >
> >
> >
> > Andy Huhn <am...@hrtc.net>
> > 04.04.2008 11:03
> > Bitte antworten an
> > "Tapestry users" <us...@tapestry.apache.org>
> >
> >
> > An
> > Tapestry users <us...@tapestry.apache.org>
> > Kopie
> >
> > Thema
> > RE: [T5]: Default TextField size?
> >
> >
> >
> >
> >
> >
> >
> > Hi Kris,
> >
> > Thanks for the response. Yes, I knew about the annotation, and that's a
> > handy feature...but I'm looking for a setting I can set once that will
> > affect the default width used for all textfields. If I don't use the
> > @Width annotation, all of my text boxes are rendered pretty small...and
> > I don't want to have to add an annotation to every field.
> >
> > Is there any facility built in like this? Or do most developers simply
> > add the annotation to every field? Surely there's a more reusable
> > solution?
> >
> > Thanks,
> > Andy
> >
> > On Fri, 2008-04-04 at 10:35 +0200, Kristian Marinkovic wrote:
> > > you can annotate your property with a @Width annotation containing
> > > the length.... it is interpreted when using a BeanEditor... i think it
> > is
> > > also
> > > used when a page property is passed in (eg. a String with a @Width
> > > annotation)
> > >
> > > Page {
> > > @Width(100)
> > > @Property
> > > private String s;
> > > }
> > >
> > > g,kris
> > >
> > >
> > >
> > >
> > >
> > > Andy Huhn <am...@hrtc.net>
> > > 04.04.2008 09:31
> > > Bitte antworten an
> > > "Tapestry users" <us...@tapestry.apache.org>
> > >
> > >
> > > An
> > > Tapestry users <us...@tapestry.apache.org>
> > > Kopie
> > >
> > > Thema
> > > [T5]: Default TextField size?
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > Hello,
> > >
> > > Is there a way to configure the default size parameter that will be
> > > generated for TextFields?
> > >
> > > Thanks,
> > > Andy
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> > > For additional commands, e-mail: users-help@tapestry.apache.org
> > >
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> > For additional commands, e-mail: users-help@tapestry.apache.org
> >
> >
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
RE: [T5]: Default TextField size?
Posted by Andy Huhn <am...@hrtc.net>.
Thank you, Kevin! That was the direction I needed.
On Fri, 2008-04-04 at 11:11 +0200, Kristian Marinkovic wrote:
> i use CSS to set the VISUAL size of my input fields :)
>
> g,
> kris
>
>
>
> Andy Huhn <am...@hrtc.net>
> 04.04.2008 11:03
> Bitte antworten an
> "Tapestry users" <us...@tapestry.apache.org>
>
>
> An
> Tapestry users <us...@tapestry.apache.org>
> Kopie
>
> Thema
> RE: [T5]: Default TextField size?
>
>
>
>
>
>
>
> Hi Kris,
>
> Thanks for the response. Yes, I knew about the annotation, and that's a
> handy feature...but I'm looking for a setting I can set once that will
> affect the default width used for all textfields. If I don't use the
> @Width annotation, all of my text boxes are rendered pretty small...and
> I don't want to have to add an annotation to every field.
>
> Is there any facility built in like this? Or do most developers simply
> add the annotation to every field? Surely there's a more reusable
> solution?
>
> Thanks,
> Andy
>
> On Fri, 2008-04-04 at 10:35 +0200, Kristian Marinkovic wrote:
> > you can annotate your property with a @Width annotation containing
> > the length.... it is interpreted when using a BeanEditor... i think it
> is
> > also
> > used when a page property is passed in (eg. a String with a @Width
> > annotation)
> >
> > Page {
> > @Width(100)
> > @Property
> > private String s;
> > }
> >
> > g,kris
> >
> >
> >
> >
> >
> > Andy Huhn <am...@hrtc.net>
> > 04.04.2008 09:31
> > Bitte antworten an
> > "Tapestry users" <us...@tapestry.apache.org>
> >
> >
> > An
> > Tapestry users <us...@tapestry.apache.org>
> > Kopie
> >
> > Thema
> > [T5]: Default TextField size?
> >
> >
> >
> >
> >
> >
> >
> > Hello,
> >
> > Is there a way to configure the default size parameter that will be
> > generated for TextFields?
> >
> > Thanks,
> > Andy
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> > For additional commands, e-mail: users-help@tapestry.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
RE: [T5]: Default TextField size?
Posted by Kristian Marinkovic <kr...@porsche.co.at>.
i use CSS to set the VISUAL size of my input fields :)
g,
kris
Andy Huhn <am...@hrtc.net>
04.04.2008 11:03
Bitte antworten an
"Tapestry users" <us...@tapestry.apache.org>
An
Tapestry users <us...@tapestry.apache.org>
Kopie
Thema
RE: [T5]: Default TextField size?
Hi Kris,
Thanks for the response. Yes, I knew about the annotation, and that's a
handy feature...but I'm looking for a setting I can set once that will
affect the default width used for all textfields. If I don't use the
@Width annotation, all of my text boxes are rendered pretty small...and
I don't want to have to add an annotation to every field.
Is there any facility built in like this? Or do most developers simply
add the annotation to every field? Surely there's a more reusable
solution?
Thanks,
Andy
On Fri, 2008-04-04 at 10:35 +0200, Kristian Marinkovic wrote:
> you can annotate your property with a @Width annotation containing
> the length.... it is interpreted when using a BeanEditor... i think it
is
> also
> used when a page property is passed in (eg. a String with a @Width
> annotation)
>
> Page {
> @Width(100)
> @Property
> private String s;
> }
>
> g,kris
>
>
>
>
>
> Andy Huhn <am...@hrtc.net>
> 04.04.2008 09:31
> Bitte antworten an
> "Tapestry users" <us...@tapestry.apache.org>
>
>
> An
> Tapestry users <us...@tapestry.apache.org>
> Kopie
>
> Thema
> [T5]: Default TextField size?
>
>
>
>
>
>
>
> Hello,
>
> Is there a way to configure the default size parameter that will be
> generated for TextFields?
>
> Thanks,
> Andy
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
RE: [T5]: Default TextField size?
Posted by Andy Huhn <am...@hrtc.net>.
Hi Kris,
Thanks for the response. Yes, I knew about the annotation, and that's a
handy feature...but I'm looking for a setting I can set once that will
affect the default width used for all textfields. If I don't use the
@Width annotation, all of my text boxes are rendered pretty small...and
I don't want to have to add an annotation to every field.
Is there any facility built in like this? Or do most developers simply
add the annotation to every field? Surely there's a more reusable
solution?
Thanks,
Andy
On Fri, 2008-04-04 at 10:35 +0200, Kristian Marinkovic wrote:
> you can annotate your property with a @Width annotation containing
> the length.... it is interpreted when using a BeanEditor... i think it is
> also
> used when a page property is passed in (eg. a String with a @Width
> annotation)
>
> Page {
> @Width(100)
> @Property
> private String s;
> }
>
> g,kris
>
>
>
>
>
> Andy Huhn <am...@hrtc.net>
> 04.04.2008 09:31
> Bitte antworten an
> "Tapestry users" <us...@tapestry.apache.org>
>
>
> An
> Tapestry users <us...@tapestry.apache.org>
> Kopie
>
> Thema
> [T5]: Default TextField size?
>
>
>
>
>
>
>
> Hello,
>
> Is there a way to configure the default size parameter that will be
> generated for TextFields?
>
> Thanks,
> Andy
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
RE: [T5]: Default TextField size?
Posted by Kristian Marinkovic <kr...@porsche.co.at>.
you can annotate your property with a @Width annotation containing
the length.... it is interpreted when using a BeanEditor... i think it is
also
used when a page property is passed in (eg. a String with a @Width
annotation)
Page {
@Width(100)
@Property
private String s;
}
g,kris
Andy Huhn <am...@hrtc.net>
04.04.2008 09:31
Bitte antworten an
"Tapestry users" <us...@tapestry.apache.org>
An
Tapestry users <us...@tapestry.apache.org>
Kopie
Thema
[T5]: Default TextField size?
Hello,
Is there a way to configure the default size parameter that will be
generated for TextFields?
Thanks,
Andy
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org