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 <[EMAIL PROTECTED]> 
> 04.04.2008 11:03
> Bitte antworten an
> "Tapestry users" <users@tapestry.apache.org>
> 
> 
> An
> Tapestry users <users@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 <[EMAIL PROTECTED]> 
> > 04.04.2008 09:31
> > Bitte antworten an
> > "Tapestry users" <users@tapestry.apache.org>
> > 
> > 
> > An
> > Tapestry users <users@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: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to