That's exactly the problem. Thanks.
Joel
[EMAIL PROTECTED] 3/9/2007 4:39 PM
make sure your servlet mapping ends with /* and not just /
-igor
On 3/9/07, Joel Hill [EMAIL PROTECTED] wrote:
I cannot seem to get mountBookmarkablePage() to work. Any time I try
an
access a page through the
I cannot seem to get mountBookmarkablePage() to work. Any time I try an
access a page through the mapping I set up, I get a 404 error. The
strange thing is, if I set up a wicket Link in my app to link to the
mounted page, it puts the proper mapped address in the browser's address
bar but still
make sure your servlet mapping ends with /* and not just /
-igor
On 3/9/07, Joel Hill [EMAIL PROTECTED] wrote:
I cannot seem to get mountBookmarkablePage() to work. Any time I try an
access a page through the mapping I set up, I get a 404 error. The
strange thing is, if I set up a wicket
are you sure you need to specify a different pagemap? that is only
needed
when you work with frames/popups
Well actually I'm not using the version of the mountBookmarkablePage
method that takes the PageMap parameter but I'm ending up with the same
symptom - a 'no session' error. I assumed that
Give us the full stacktrace.
So from the beginning of you Application.mount call until the Session
failure.
That bug report is for creating pagemaps which goes wrong (in the
PageMap.forName method)
But that is not the case in your situation, it goes wrong in the init of the
Page
johan
On
I tried to add some nice URLs by adding the following to my
application class:
public void init()
{
mountBookmarkablePage(/home, HomePage.class);
mountBookmarkablePage(/location, LocationPage.class); }
My bad!!!
I accidentally had marked one the page classes as
I tried to add some nice URLs by adding the following to my application
class:
public void init()
{
mountBookmarkablePage(/home, HomePage.class);
mountBookmarkablePage(/location, LocationPage.class);
}
But then I get the following error when the web app is deployed:
can you show me a bit more stacktrace of that second trace?
Where does the constructor init starts?
It seems you are making a static instance inside your HomePage or
LocationPage.class??
johan
On 2/28/07, Chris Colman [EMAIL PROTECTED] wrote:
I tried to add some nice URLs by adding the
On 2/28/07, Chris Colman [EMAIL PROTECTED] wrote:
I tried to add some nice URLs by adding the following to my
application
class:
public void init()
{
mountBookmarkablePage(/home, HomePage.class);
mountBookmarkablePage(/location, LocationPage.class);
}
can you show
It seems like mountBookmarkablePage method tries to instantiate the
pages. These pages always need PageParameters (they use this to process
the o= parameter so they can determine the organization to display).
Their constructors that take no parameters don't do anything because
they won't be
According to the bug list on Altassian my 'no session' issue is caused
by a bug that has been recently fixed but only in Wicket 1.3 and 2.0,
not 1.2.x.
How can I get Wicket 1.3? Are the binaries available for download or do
I have to get the source and build it myself?
are you sure you need to specify a different pagemap? that is only needed
when you work with frames/popups
meanwhile ive reopened the issue.
-igor
On 2/28/07, Chris Colman [EMAIL PROTECTED] wrote:
http://wicketstuff.org/maven/repository/org/apache/wicket/
where is the link to the bug?
This is *exactly* why we made such a big fuss about it a couple of
weeks ago, when fixing it was vetod. This sucks.
Eelco
On 2/28/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
http://wicketstuff.org/maven/repository/org/apache/wicket/
where is the link to the bug? maybe we should backport it
We should just remove that stupid method. I hope this is enough proof
that removing this doesn BREAK anything but rather FIXES something. We
just wasted Chris'es time and ours by trying to help it.
Eelco
On 2/28/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
This is *exactly* why we made such a
/me grumbles ok nevermind then, I'll just keep away from this issue.
Eelco
On 2/28/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
We should just remove that stupid method. I hope this is enough proof
that removing this doesn BREAK anything but rather FIXES something. We
just wasted Chris'es
thats a weird error because looking at the stacktrace you go through
WicketServlet.doGet()
and this is done there:
// First, set the webapplication for this thread
Application.set(webApplication);
So i have no idea how that then can suddenly be null again.
Please set a breakpoint
I would like to clean up my url's and came across a section in the Pro
Wicket PDF that said I could accomplish just that by doing the following
in my Application class:
public void init() {
super.init();
// url re-write to make things easier on the eyes
mount(/pages,
Hi , I have a question about mountBookmarkablePage...I don't know why mountBookmarkablePage() not work on my application...I did add the code in my WebApplication : mountBookmarkablePage(/ViewItem ,
ViewItem.class);But when I call add(new BookmarkablePageLink(link , ViewItem.class , pps)...It
seems like that should work, what version of wicket are you using? can you produce a quickstart that replicates the problem?-igorOn 11/1/06, smallufo
[EMAIL PROTECTED] wrote:Hi , I have a question about mountBookmarkablePage...
I don't know why mountBookmarkablePage() not work on my
Hi , I am using wicket 1.2.2 + Spring 2.0 + Hibernate 3.2 + Resin 2.1.16 + JavaEE5The code is as simple as any example.I don't know if it is Resin that cause this problem ...Anybody using Resin without this problem ???
2006/11/2, Igor Vaynberg [EMAIL PROTECTED]:
seems like that should work, what
not sure what to tell you, it works fine over herehttp://www.wicket-library.com/wicket-examples/niceurldont think resin has anything to do with it as wicket is responsible for encoding those urls. set a breakpoint on your mount call and make sure it is really being called and you are doing it in
That would be an easy test: deploy on tomcat or jetty and see what happens.
But it is unlikely the app server is at fault here. Are you sure you
mount the same class as for which you generate the link (e.g. do you
have classes with the same name in different packages)?
Eelco
On 11/1/06,
sorry , I found the problemIt's not related to wicket , it's related to eclipse for not compiling the latest version.Sorry for bother you :p2006/11/2, Igor Vaynberg
[EMAIL PROTECTED]:not sure what to tell you, it works fine over here
http://www.wicket-library.com/wicket-examples/niceurldont think
Hi I have a page that are set as mountBookmarkablePage,
and it gets its parameters from the
url etc http://localhost:8080/application/page/paramA/valueA/paramB/valueB
When my page has picked up the parameters i wish to
clear them so that my url becomes something like
use absolute paths for your images and you wont have this problemor mount with a querystringurlcodingstrategy so your url will be application/page?parama=valueparamb=value-Igor
On 10/27/06, Nino Wael [EMAIL PROTECTED] wrote:
Hi I have a page that are set as mountBookmarkablePage,
and
kingJ I must say that sometimes I wish I had a parrot as most of my
problems seems to be solved when trying to explain what Im trying to doJ
Regards Nino
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Igor Vaynberg
Sent: 27. oktober 2006 09:37
To:
wicket-user@lists.s
I got it working
J I must say that sometimes I wish I had a parrot as most of my
problems seems to be solved when trying to explain what Im trying to doJ
:)-igor
-
Using Tomcat but need to do more? Need to support web
Hi,
Any idea why mountBookmarkablePage does not affect resource paths? That
is, in the old implementation putClassAlias() would affect both such
that I could refer to:
/WicketServlet/resources/myPageAlias/myImage.jpg
now I have to refer to:
28 matches
Mail list logo