Hi Martijn,
I did check out the migration guide but was confused by a reference to a
non-existing method:
"In Wicket 1.4 it was needed to extend
org.apache.wicket.RequestCycle.onRuntimeException(Page, RuntimeException).
Wicket 1.5 gives even better control, by overriding
org.apache.wicket.Applica
Hi,
How do you map different error pages for specific errors in Wicket v1.5RC2?
You used to override onRuntimeException in v1.4 but this is no longer the
case.
Thanks,
Nim
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/1-5-mapping-different-error-pages-for-specific
Thanks. Sounds good ... i'll try it.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Question-on-sessions-tp3474193p3474890.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To unsu
Hi,
I have a user who has a temporary session (i.e. is not logged in). I need
to redirect him/her to an external page for to get an access token (e.g.
Facebook/Flickr access token).
Is there anyway to keep the same session? I find that the user has a
different session after the redirection.
Th
no luck... since it is quoted it appears a string
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Is-this-a-bug-tp3473469p3473617.html
Sent from the Users forum mailing list archive at Nabble.com.
-
T
If the same instance of the page is used then I supposed I could reset the
page model in the page's onBeforeRender method by using
getRequest().getQueryParameters().getParameterValue(...) as you suggested.
Currently, all the work is being done in the constructor.
This is purely curiosity. I don't
Hi,
I have a bookmarkable page that takes 2 page parameters. The page parameters
determine the content that is displayed. The URL to the page is of the
format:
http://localhost:8080/view?2&gid=2&authKey=776bbb3e-83d1-4452-a7df-ff18b46169aa
I manually modified the page parameters in the URL expec
Congratulations on the book! My dead-tree format is in the post!
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Apache-Wicket-Cookbook-Published-tp3406012p3406621.html
Sent from the Users forum mailing list archive at Nabble.com.
-
Hi Martin,
The requestCycle.urlFor(...) was still returning a '.' in the URL as I
described in my first post.
The requestCycle.mapUrlFor(...) method did the trick.
Thank you for your help.
Cheers,
Nim
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Absolute-URL-str
Hi All,
I'm trying to display a label with the absolute URL for a bookmarkable page
on the page itself. I am doing this so that users can readily identify what
URL to email or IM to friends.
Unfortunately, I'm having some trouble with this.
I have tried:
RequestCycle.get().getUrlRenderer().rende
Thanks for that Igor. I have another 1.5RC1 question - where do I set the
redirect flag? E.g. in 1.4, when the user logs out of the app I do the
following:
getSession().invalidate();
getRequestCycle().setRedirect(true);
setResponsePage(MyApplication.get().getHomePage());
Hi Christian,
Thanks for your reply. I have already set the Index page as the homepage.
I was trying to figure out how to handle this: www.myapp.com/username where
username is variable
Cheers,
Nim
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/1-5RC1-url-mounting
Hi,
Using Wicket 1.5RC1, how do I mount a Page to root that is other than the
home page? E.g.:
www.myapp.com ->IndexPage.class
www.myapp.com/${username} ->OtherPage.class with ${username} as a
pageparameter
thanks,
Nim
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.c
Hi,
Thanks for your reply. I'm pretty much doing what you suggested but have a
concrete Tab class as it is reused on another page:
public class AlbumTab extends AbstractTab {
private static final long serialVersionUID = 1L;
private IModel model;
public AlbumTab(IModel m
I'm a newbie also but
Can't you just create a new model specifically for the RadioChoice
component? Each component can have its own model.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Using-non-Model-fields-in-Form-tp3251063p3251807.html
Sent from the Users
you on IE7 and IE8?
My issue only surfaced in IE - worked fine in FF.
Chris
>-Original Message-
>From: nimmy [mailto:[hidden email]]
>Sent: Sunday, 3 October 2010 9:04 AM
>To: [hidden email]
>Subject: RE: problems with redirectToInterceptPage
>
>
>
a...@hotmail.com
Subject: RE: problems with redirectToInterceptPage
Could it be related to this issue I raised a little while ago:
https://issues.apache.org/jira/browse/WICKET-2912
Try the fix and see if your problem goes away like mine did.
Regards,
Chris Colman
>-Original Message-
>From
Hi All,
I'm having some trouble with 'redirectToInterceptPage' and would appreciate
any help you can provide
I have a 'login' link on my page - PageA.
My intention is that:
1. if the user clicks on the 'login' link the user will be forwarded to the
Index page, which includes the standard Wicke
Hi All,
I'm playing with a very basic 'hello world' type project to test Wicket and
Spring Security
(https://cwiki.apache.org/WICKET/spring-security-and-wicket-auth-roles.html).
I'm new to both Wicket and Spring Security.
I keep having the below error:
org.springframework.beans.factory.parsing.B
Thanks for your help Mike
Date: Mon, 13 Sep 2010 08:32:00 -0700
From: ml-node+2537637-1380929500-160...@n4.nabble.com
To: nim_sa...@hotmail.com
Subject: Re: [wicket newbie] - appending query parameter to ajax link
I think its easier to attach an ajax behaviour to the text field (like
onke
er to ajax link
override getcallbackscript(boolean) and return something like:
return generateCallbackScript("wicketAjaxGet('" + getCallbackUrl() +
"&myparam='+Wicket.$().value");
-igor
On Mon, Sep 13, 2010 at 7:23 AM, nimmy <[hidden email]> wrote
Hi Guys,
I'm trying to implement the typical 'check availability' functionality for a
username.
I have an IndicatingAjaxFallbackLink. I would like to append the value of a
form component [username TextField] to the ajax link as a query parameter.
I've tried:
1. overriding onComponentTag in the
22 matches
Mail list logo