Hi all,

We have a component that needs to create a dynamic resource (currently using
a DynamicWebResource). The resource is tightly coupled with the component's
model. Our component implements the IResourceListener interface so that we
can generate a URL for the generated markup. The markup generated is an  tag
to which we assign the generated URL (using Component.urlFor() method).

Works great!

Except... that the darn plugin that is launched by the  tag seems to have
trouble with URLs that are not of a specific form. In other words its not
liking the parameters on the URL (ie: /foo?wicket:interface[...]).

My first thought was to encode the URL with a different strategy: using the
IRequestTargetCodingStrategy. The problem is that I can't figure out how I'm
supposed to do this.

How can I use an encoding strategy for a component that implements the
IResourceListener interface? I don't mind mounting all these on a specific
prefixed path, but I can't mount a Page, it needs to be a Component (Panel
to be more specific).

Can someone point me in the right direction?

Thanks
Philippe
-- 
View this message in context: 
http://www.nabble.com/Enconding-a-url-returned-by-urlFor%28%29-tp20102249p20102249.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to