I think the most elegant way of handling this would be to handle a new component event result type called ExternalPost. Then you could return an ExternalPost instance from your onActivate() method.
public class ExternalPost { private URL url; private String contentType; private Map<String, String> parameters; // getters and setters } public class ExternalPostResultProcessor implements ComponentEventResultProcessor<ExternalPost> { public void processResultValue(ExternalPost externalPost) throws IOException { // do the actual post here } } AppModule.java =========== public void contributeComponentEventResultProcessor(MappedConfiguration<Class, ComponentEventResultProcessor> configuration) { configuration.addInstance(ExternalPost.class, ExternalPostResultProcessor.class); } -- View this message in context: http://tapestry.1045711.n5.nabble.com/Return-URL-POST-Redirection-from-onActivate-tp5718626p5718628.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org