1.5 - mapping different error pages for specific errors

2011-05-10 Thread nimmy
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:

Re: 1.5 - mapping different error pages for specific errors

2011-05-10 Thread nimmy
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

Re: Question on sessions

2011-04-26 Thread nimmy
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

Re: Is this a bug?

2011-04-25 Thread nimmy
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. -

Question on sessions

2011-04-25 Thread nimmy
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.

1.5RC2 - URL question - Is this expected behaviour?

2011-04-05 Thread nimmy
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

Re: 1.5RC2 - URL question - Is this expected behaviour?

2011-04-05 Thread nimmy
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

Re: Apache Wicket Cookbook Published!

2011-03-25 Thread nimmy
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.

Absolute URL string

2011-03-18 Thread nimmy
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:

Re: Absolute URL string

2011-03-18 Thread nimmy
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:

1.5RC1 url mounting/encoding

2011-02-18 Thread nimmy
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:

Re: 1.5RC1 url mounting/encoding

2011-02-18 Thread nimmy
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:

Re: 1.5RC1 url mounting/encoding

2011-02-18 Thread nimmy
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());

Re: Using non-Model fields in Form

2011-02-01 Thread nimmy
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

Re: Dynamic tab question - now to pass a model to the panel?

2011-02-01 Thread nimmy
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

RE: problems with redirectToInterceptPage

2010-10-04 Thread nimmy
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

RE: problems with redirectToInterceptPage

2010-10-02 Thread nimmy
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

problems with redirectToInterceptPage

2010-10-01 Thread nimmy
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

Wicket and Spring Security question

2010-09-22 Thread nimmy
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:

[wicket newbie] - appending query parameter to ajax link

2010-09-13 Thread nimmy
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

RE: [wicket newbie] - appending query parameter to ajax link

2010-09-13 Thread nimmy
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

RE: [wicket newbie] - appending query parameter to ajax link

2010-09-13 Thread nimmy
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