You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by mateen <ma...@gmail.com> on 2012/11/15 14:21:03 UTC

DateField Customization

Hi,

I have a requirement where i have to change the date field. I have to change
the image of the date field button and if possible place that image within
the bounds of the textfield. Is that possible. Can anyone show me the custom
css if possible ?

Kind Regards



--
View this message in context: http://tapestry.1045711.n5.nabble.com/DateField-Customization-tp5718034.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: DateField Customization

Posted by Lance Java <la...@googlemail.com>.
Note, if you'd like to override the default date editor in the BeanEditForm
you will need to contribute an EditBlockContribution to the
BeanBlockOverrideSource service. This will require you to create a private
page with a block containing a DateField. The page can be made private by
annotating it with @WhitelistAccessOnly

http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/services/EditBlockContribution.html
http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/services/BeanBlockOverrideSource.html
http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/annotations/WhitelistAccessOnly.html



--
View this message in context: http://tapestry.1045711.n5.nabble.com/DateField-Customization-tp5718034p5718043.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: DateField Customization

Posted by Lance Java <la...@googlemail.com>.
<t:datefield icon="path/to/myicon.gif" ... />



--
View this message in context: http://tapestry.1045711.n5.nabble.com/DateField-Customization-tp5718034p5718042.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: DateField Customization

Posted by mateen <ma...@gmail.com>.
Thanks for this. Can u give show me how i replace the button image, or maybe
make it slightly larger.



--
View this message in context: http://tapestry.1045711.n5.nabble.com/DateField-Customization-tp5718034p5718041.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: DateField Customization

Posted by Lance Java <la...@googlemail.com>.
IMG.t-calendar-trigger {
    position: relative;
    left: -25px;
    top: 2px;
}



--
View this message in context: http://tapestry.1045711.n5.nabble.com/DateField-Customization-tp5718034p5718035.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org