You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by gopalbi <go...@hytechpro.com> on 2008/08/11 14:35:15 UTC
How the set width of field?
Hello friends,
I know how set the size of the textbox. like
<text size="18" maxlength="20"/>
But i don't know to how to set the size or width of <date-time/> field. .
I want to reduce the width of the <date-time/> field.
The Introduction Date, Sales discontinuation Thru Date field are avilabe
in the edit product form. I want to reduce the field width of the field.
please help me.
Thanks in Advance
Regards:
Gopal Bisht
--
View this message in context: http://www.nabble.com/How-the-set-width-of-%3Cdate-time-%3E-field--tp18925010p18925010.html
Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: How the set width of field?
Posted by Scott Gray <le...@gmail.com>.
Hi Gopal
The sizes are hard coded in HtmlFormRenderer.java, look for the
renderDateTimeField method. Alternatively use a ftl template if your
case is specific to a certain screen.
Regards
Scott
2008/8/12 gopalbi <go...@hytechpro.com>:
>
> Hello friends,
> I know how set the size of the textbox. like
> <text size="18" maxlength="20"/>
>
> But i don't know to how to set the size or width of <date-time/> field. .
> I want to reduce the width of the <date-time/> field.
> The Introduction Date, Sales discontinuation Thru Date field are avilabe
> in the edit product form. I want to reduce the field width of the field.
> please help me.
>
> Thanks in Advance
> Regards:
> Gopal Bisht
>
>
> --
> View this message in context: http://www.nabble.com/How-the-set-width-of-%3Cdate-time-%3E-field--tp18925010p18925010.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>