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:
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
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
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.
-
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.
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?2gid=2authKey=776bbb3e-83d1-4452-a7df-ff18b46169aa
I manually modified the page parameters in the URL
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
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 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:
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:
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:
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:
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());
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
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 IModelAlbum model;
public
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
Hi Chris,
Thanks for your reply. I did some debugging and think
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: nimmy [mailto:[hidden email]]
Sent: Friday, 1
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
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:
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
link
override getcallbackscript(boolean) and return something like:
return generateCallbackScript(wicketAjaxGet(' + getCallbackUrl() +
myparam='+Wicket.$(id of component).value);
-igor
On Mon, Sep 13, 2010 at 7:23 AM, nimmy [hidden email] wrote:
Hi Guys,
I'm trying to implement
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
22 matches
Mail list logo