Repository: tapestry-5 Updated Branches: refs/heads/master 687abdf28 -> 7a9b2e81d
Allow the component's render phase methods to execute before the advice provided by the ImportWorker This is the last piece necessary for TAP5-2435 (the rest was implemented previously). Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/d025536f Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/d025536f Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/d025536f Branch: refs/heads/master Commit: d025536f5af206c10744c884fde41b87ae37fc7f Parents: 687abdf Author: Howard M. Lewis Ship <hls...@apache.org> Authored: Tue Dec 30 17:11:16 2014 -0800 Committer: Howard M. Lewis Ship <hls...@apache.org> Committed: Tue Dec 30 17:11:16 2014 -0800 ---------------------------------------------------------------------- .../org/apache/tapestry5/internal/transform/ImportWorker.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/d025536f/tapestry-core/src/main/java/org/apache/tapestry5/internal/transform/ImportWorker.java ---------------------------------------------------------------------- diff --git a/tapestry-core/src/main/java/org/apache/tapestry5/internal/transform/ImportWorker.java b/tapestry-core/src/main/java/org/apache/tapestry5/internal/transform/ImportWorker.java index 17bddc4..a3801a6 100644 --- a/tapestry-core/src/main/java/org/apache/tapestry5/internal/transform/ImportWorker.java +++ b/tapestry-core/src/main/java/org/apache/tapestry5/internal/transform/ImportWorker.java @@ -268,11 +268,11 @@ public class ImportWorker implements ComponentClassTransformWorker2 { public void advise(MethodInvocation invocation) { + invocation.proceed(); + Asset[] assets = (Asset[]) access.get(invocation.getInstance()); F.flow(assets).each(operation); - - invocation.proceed(); } }); }