but then eelco takes me seriously! oh the horror!
I'm a very serious guy, about to inflict some serious damage to your ball.
Eelco
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version
but then eelco takes me seriously! oh the horror!
-igor
On 4/20/07, Johan Compagner [EMAIL PROTECTED] wrote:
no thats not needed
On 4/19/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
gah! i have to start wrapping my emais in
sarcasm /sarcasm
-igor
On 4/19/07, Eelco Hillenius
Hi
I've just checked : in fact it's a relative url in the html page but,
when looking at the link with Firefox, the link is shown as the
absolute one. So you were right.
I update the wiki with the info :)
++
ZedroS
On 4/18/07, Johan Compagner [EMAIL PROTECTED] wrote:
What do you mean with a
Hi Johan
I still don't manage to do redirection from my code.
I've even tried to do some redirection to other website or the base
URL of my app without success.
The code I use is the following :
package purgat.web.pages.user;
import org.apache.wicket.PageParameters;
import
ZedroS Schwart wrote:
add(new AbstractAjaxTimerBehavior(Duration.seconds(5)) {
protected void onTimer(AjaxRequestTarget target) {
setRedirect(true);
getResponse().redirect(http://www.google.com;);
}
});
On 4/19/07, ZedroS Schwart [EMAIL PROTECTED] wrote:
Hi Johan
I still don't manage to do redirection from my code.
I've even tried to do some redirection to other website or the base
URL of my app without success.
The code I use is the following :
package purgat.web.pages.user;
import
Thanks Alastair for your answer. I didn't know this head stuff, it's
quite impressive :)
However, I was willing to provide a message, so finally I ended using
Eelco solution, since with it I could easily provide some page
parameter for the message.
BTW, Eelco, since Wicket 1.3 it's possible to
A last question : what does precisely the session.invalidate stuff ?
Indeed, in my application, when checking if the user is logged in, I
just check whether an user is in the current session. As such, to
unlog my user, I just need to do something like
session.setUser(null). So I wonder what
Sure, if you don't have a common layout etc you use for you Wicket
pages and you want to reuse in your login page, that's even more
efficient. You'll have to make it a separate HTML file in a path that
is not handled by Wicket though, so it's a bit more pain to achieve.
Eelco
On 4/19/07, Igor
gah! i have to start wrapping my emais in
sarcasm /sarcasm
-igor
On 4/19/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
Sure, if you don't have a common layout etc you use for you Wicket
pages and you want to reuse in your login page, that's even more
efficient. You'll have to make it a
What do you mean with a full link? including host and port? this is not the
case.
bookmarkable page links also generate ../.. so there is not a big difference
there
just look at : http://wicketstuff.org/wicket13/niceurl/the/homepage/path
the ../ doesn't also matter to much because this url just
No that is not possible in wicket. We don;'t generate full paths.
You have to do that yourself, wicket can't do that because we can be behind
proxies
or being virtual hosted.
So you must configure somewhere what your hostname:port:/contextpath is
and prepend that.
johan
On 4/17/07, ZedroS
Good to know that !
But isn't it surprising that a BookmarkablePageLink, when rendered in
the html page, is a full link and not a relative one ?
Furthermore, the relative link is given this way : ../URL. Is it
possible to have it without the .. ? Otherwise, as I see it for now,
I'll have to
Hi all
I've been struggling for a few hours to do a redirection after a logout.
I've looked at many places, including this one :
http://www.nabble.com/how-to-display-login-page-after-logout--tf2135329.html#a5892867
However, nothing works.
Indeed, my line urlFor(IntroPage.class,
14 matches
Mail list logo