On Wed, Jul 11, 2012 at 8:51 PM, samzilverberg samzilverb...@gmail.com wrote:
I tried all kind of different values in my TestMapper : 1, 1000,
Integer.MAX_VALUE, -1000.
But none of them made any change.
I even put a break point in the MountMapper getCompatibilityScore method to
I know the
I'm interested in the complex options you mentioned:
Martin Grigorov-4 wrote
More complex: see PageInstanceMapper and create your own that does the
same job but uses less segments for the url.
I created a mapper which does not add the extra namespace segment in:
public Url
Hi,
You need to return a proper value for its #getCompatibilityScore().
The returned value should be smaller than the ones returned by
MountedMapper (mounted pages) and bigger than PageInstanceMapper's
one.
On Wed, Jul 11, 2012 at 3:28 PM, samzilverberg samzilverb...@gmail.com wrote:
I'm
I tried all kind of different values in my TestMapper : 1, 1000,
Integer.MAX_VALUE, -1000.
But none of them made any change.
I even put a break point in the MountMapper getCompatibilityScore method to
see what values it returns and ran in debug mode, but the app never breaks
there...
Am I missing
Hey, I'm haveing a problem one url. Is there a way to remove the /wicket that
is added to the url when this is run. The page opens up in a new window,
from the popup settings added to the link:
setResponsePage( new OwnWindowPage( object ) );
The url i get is ...wicket/page?5
I only want it like
Hi,
Easy solution: replace 'wicket' with 'myOwnPrefix' by registering
custom IMapperContext by overriding Application#newMapperContext()
method
More complex: see PageInstanceMapper and create your own that does the
same job but uses less segments for the url.
On Tue, Apr 17, 2012 at 4:22 PM,
Maby a dumb question, but i can't seem to find the right place to do this.
And do i need a prefix? Is there a code example with this? =)
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/remove-wicket-in-front-of-url-Wicket-1-5-tp4564704p4564757.html
Sent from the Users
On Tue, Apr 17, 2012 at 4:40 PM, Taag sae...@hotmail.com wrote:
Maby a dumb question, but i can't seem to find the right place to do this.
And do i need a prefix? Is there a code example with this? =)
To do which option ?
--
View this message in context:
The easy one. I only need this for a popupwindow that I want to change the
path on. from /wicket/.. to /..
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/remove-wicket-in-front-of-url-Wicket-1-5-tp4564704p4564787.html
Sent from the Users forum mailing list archive at
In YourApp class:
public IMapperContext newMapperContext() {
return new MyMapperContext();
}
MyMapperContext.java:
class MyMapperContext extends DefaultMapperContext {
@Override
public String getNamespace() { return mine; }
}
On Tue, Apr 17, 2012 at 4:50 PM, Taag sae...@hotmail.com
10 matches
Mail list logo