In tapestry 5.2+ you have the option of annotations or naming conventions.
Prior to 5.2 you can only use naming conventions.
See methods starting with "contribute" here
http://tapestry.apache.org/tapestry-ioc-configuration.html
--
View this message in context:
http://tapestry.1045711.n5.nab
Thanks. I wasn't able to use the following annotation and method...
@Contribute(ServiceOverride.class)
public static void
setupApplicationServiceOverrides(MappedConfiguration
configuration)
{
configuration.addInstance(SomeServiceType.class,
SomeServiceTypeOverrideImpl.class);
}
I have a
http://tapestry.apache.org/ioc-cookbook-overriding-ioc-services.html
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Adding-a-progress-listener-to-UploadedFile-tp5718197p5718205.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
--
You will need to override (or perhaps decorate) the MultipartDecoder. Most
likely, you will extend MultipartDecoderImpl and extend the following method
to add your progress listener:
Note that the MultipartDecoder has per-thread scope
https://github.com/apache/tapestry5/blob/trunk/tapestry-uplo
Yes. Is there a way to set the listener from within Tapestry?
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Adding-a-progress-listener-to-UploadedFile-tp5718197p5718199.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
you are referring to:
http://commons.apache.org/fileupload/using.html#Watching_progress
?
On 23/11/2012 8:49 AM, dkeenan wrote:
Hi there. I would like to add a progress listener to UploadedFile to track
progress up the file being uploaded. I know that it's possible to do this
with apache commo