You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by bh...@actrix.gen.nz on 2010/05/19 04:51:59 UTC

How to replace RelativePathPrefixHandler

Hi,

It looks like Wicket may have the flexibility to replace elements of
the chain of IMarkupFilters without changing Wicket itself.

How can I replace RelativePathPrefixHandler with my own variant?

I have found

getPageSettings().getComponentResolvers();

But I am definitely missing the important bits.

Many thanks,

Bernard

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: How to replace RelativePathPrefixHandler

Posted by Igor Vaynberg <ig...@gmail.com>.
the javadoc probably has a clue

/**
	 * Get the (modifiable) list of IComponentResolvers.
	 *
	 * @see AutoComponentResolver for an example
	 * @return List of ComponentResolvers
	 */

notice the *modifiable* part

-igor

On Tue, May 18, 2010 at 7:51 PM,  <bh...@actrix.gen.nz> wrote:
> Hi,
>
> It looks like Wicket may have the flexibility to replace elements of
> the chain of IMarkupFilters without changing Wicket itself.
>
> How can I replace RelativePathPrefixHandler with my own variant?
>
> I have found
>
> getPageSettings().getComponentResolvers();
>
> But I am definitely missing the important bits.
>
> Many thanks,
>
> Bernard
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: How to replace RelativePathPrefixHandler

Posted by bh...@actrix.gen.nz.
Thanks Igor.

That indeed looks very promising, and I replaced
RelativePathPrefixHandler with a variant but that doesn't seem to
work.

I had already filed a Jira issue
https://issues.apache.org/jira/browse/WICKET-2881

before I saw your response.


Regards,

Bernard


On Wed, 19 May 2010 14:51:59 +1200, you wrote:

>Hi,
>
>It looks like Wicket may have the flexibility to replace elements of
>the chain of IMarkupFilters without changing Wicket itself.
>
>How can I replace RelativePathPrefixHandler with my own variant?
>
>I have found
>
>getPageSettings().getComponentResolvers();
>
>But I am definitely missing the important bits.
>
>Many thanks,
>
>Bernard
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>For additional commands, e-mail: users-help@wicket.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org