Hi,
AFAIK this is not possible, you must mount your pages using a path
parameter (something like: 'summary/${account}').
andrea.
On 10/07/2015 18:51, Jason Novotny wrote:
Hi,
I'm using wicket-annotations and I've added:
newAnnotatedMountScanner().scanPackage(com.foo.web.pages).mount(this);
Hi,
You should use a modified AnnotatedMountScanner. Its getRequestMapper()
should return
new MountedMapper(mountPath, pageClass, new UrlPathPageParametersEncoder());
Looking at the code [1] it should work for #scanPackage() too.
1.
Hi,
I'm using wicket-annotations and I've added:
newAnnotatedMountScanner().scanPackage(com.foo.web.pages).mount(this);
in my Application class.
My page classes all have:
@MountPath(value =summary)
However, I want to adjust the pages to not use query parameters like account=5
and use /
Hi,
in public IRequestHandler mapRequest(final Request request)
the mappers will be sort by:
Collections.sort(list);
So there is no chance to influence the order of the mappers :(
regards britta
Am 25.02.2013 11:18, schrieb Martin Grigorov:
Hi,
I've just tried it in a quickstart and my
Hi,
This #sort() sorts by the compatibility score the mapper returns for this
Request.
If two or more mappers return the same score then the order in the list
depends on the order of the mounting in Application#init(), i.e. the order
of insertion in the non-sorted list.
On Tue, Feb 26, 2013 at
I solved it now by overriding getCompatibilityScore. Thanks for your hints.
britta
Am 26.02.2013 10:25, schrieb Martin Grigorov:
Hi,
This #sort() sorts by the compatibility score the mapper returns for this
Request.
If two or more mappers return the same score then the order in the list
I will mount /all/sindex to Page1 and /all/anythingelse to Page2.
Mounting with
mountPage(/all/sindex,Page1.class);
mountPage(/all/#{exp}, Page2.class);
always mount to Page2 also for /all/sindex. What's wrong?
regards britta
--
Dr. Britta Landgraf phone: +49 2461 61 5647
IEK-4
Hi,
As a workaround mount first Page2 and then Page1.
The problem is that both mounts calculate the same
IRequestMapper#getCompatibilityScore() and since the one for Page2 is
mounted later it has higher priority.
File a bug in our Jira to improve the calculation of the compatibility
score when
Hi,
changing the order of the mounts doesn't help. I already tried this.
regards britta
Am 25.02.2013 10:58, schrieb Martin Grigorov:
Hi,
As a workaround mount first Page2 and then Page1.
The problem is that both mounts calculate the same
IRequestMapper#getCompatibilityScore() and since
Hi,
I've just tried it in a quickstart and my conclusion seems to be valid.
I am able to reproduce the problem with the initial order and to workaround
it with the reverse order.
To debug what happens in your case you can put a breakpoint
in
you can mount AdminLogin to some Login.class extension like
class AdminLogin extends Login{
constructor(){
super(someParameters);
}
}
On Wed, Dec 15, 2010 at 9:42 PM, Jeffrey Schneller
jeffrey.schnel...@envisa.com wrote:
I think this was discussed here but I can't seems to find it
I think this was discussed here but I can't seems to find it so I will
ask again.
I would like to mount a page Login to Login.class. I know how to do
this and have it working.
Now I would like to mount a page called AdminLogin to Login.class but
also pass a parameter to Login.class so
Its fairly simple. Create a class Login, give it a constructor with
pageparameters. Create two panels, one for each login type. Based on the
page parameters you show one or the other. Mount the page on 2 paths, each
with its own parameter.
Hielke
On 16 Dec 2010 00:43, Jeffrey Schneller
Hi,
My Webapplication is made up of one page that uses ajax to replace panels.
Now I would like to have som mounting and set some panels by the
mountingpath. Can anyone give me some pointers?
RootPage( RequestParameters params ){
// Parse the params and set some panels
}
mount( /order ) // This
You an always mount that way. Just use the constructor that has page
parameters.. Other than that I dont think theres problems with
multiple mounting towards the same page with different parameters...
You should check this http://wicketstuff.org/wicket14/linkomatic/ and
the pages there and the
I will look in to it.
You are right. I don't like it either. But I couldn't get it to work better
when wanting the menu, header and footer stay fixed without using frames.
--
View this message in context:
http://old.nabble.com/Ajax-page-mounting-and-panels-tp28178937p28184077.html
Sent from
16 matches
Mail list logo