uklance / tapestry-stitch

Sample components and concepts in Tapestry 5
MIT License
14 stars 7 forks source link

ProgressLink - Support EventContext via TaskFactory #25

Open uklance opened 10 years ago

uklance commented 10 years ago

The ProgressLink component currently uses a getter to instantiate the ProgressTask. It would be better to have a ProgressTaskFactory so that context could be passed from client to server.

eg:

public interface ProgressTaskFactory {
    ProgressTask create(EventContext context);
}