> Is there simpler way to get the URL? Yep. Pre-regestering resources is not necesarry in trunk (2.0) and current 1.2 (to be released as 1.2.1... it's not in 1.2 yet), so this should do the trick:
final CharSequence url = urlFor(new PackageResourceReference(Link.class, "testForm.swf")); > BTW, resourceParameters in urlFor(resourceReference, resourceParameters) are > ignored in > WebRequestCodingStrategy.encode(RequestCycle,ISharedResourceRequestTarget). > This is unfortunate, because the parameters can be used to pass data to the > Flash. That sounds like a bug. Could you please open up a bug report for this, possibly with a patch to fix it or a test case/ quick start project to proves the bug? Thanks, Eelco _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
