x27;s onBeforeRender() is called. I call
getFeedbackMessages().messages(null) and then immediately call
cleanupFeedbackMessages().
I basically am looking to duplicate what a feedback panel does. What do I
need to do to clear all the messages from the Session after I retrieve them?
Thanks,
Warren
Take a look at Wicket-Security at Wicket Stuff site.
http://wicketstuff.org/confluence/display/STUFFWIKI/Wicket-Security
I am using it to do the same types of things you are talking about, and it
works great.
> -Original Message-
> From: Mathias P.W Nilsson [mailto:[EMAIL PROTECTED]
> Se
}
...
}
Do you have any suggestions or ideas?
> On 3/9/08, James Carman <[EMAIL PROTECTED]> wrote:
> > On 3/9/08, Warren <[EMAIL PROTECTED]> wrote:
> > > WebMarkupContainer bodyTag = new WebMarkupContainer("bodyTag");
> > >
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of James Carman
> Sent: Sunday, March 09, 2008 8:52 AM
> To: users@wicket.apache.org
> Subject: Re: Default Focus Behavior?
>
>
> On 3/9/08, James Carman <[EMAIL PROTECTED]&g
WebMarkupContainer bodyTag = new WebMarkupContainer("bodyTag");
bodyTag.add(new SimpleAttributeModifier("onload",
"form.username.focus();"));
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of James Carman
> Sent: Sunday, March 09, 2008 7:58 AM
> To: users
I used AbstractAjaxTimerBehavior as kind of a password protected screen
saver and the following code to get a modal window to open when the page is
loaded. Body is a WebMarkuContainer representing the body tag. I used the
standard Wicket modal window with a Panel.
body.add(new AjaxEventBehavior("o
g this across pages make sure you call
> getsession().error(..) not just error(..)
>
> -igor
>
>
> On Wed, Mar 5, 2008 at 6:01 PM, Warren <[EMAIL PROTECTED]> wrote:
> > I need to display messages from the Session in a plain JavaScript alert
> > window instead of
get a hold of the messages that are displayed on a feedback panel
so I can display them on a JS alert window instead?
Thanks,
Warren
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
>Very interesting, i am guessing you have a very short session timeout?
>or otherwise require your users to re-authenticate themselfs after a
>period of inactivity? after all any one could pick up such a devise
>and continue where an authenticated user left. Perhaps you are even
>using somekind of
his session
> (serializing it back to disk and stuff) so you might need to trigger
> something manually. maybe one of the wicket devs has some insight on
> this?
>
> Maurice
>
> On Tue, Mar 4, 2008 at 11:02 PM, Warren
> <[EMAIL PROTECTED]> wrote:
> > I have tried j
> invalidate();
> return true;
> }
> return false;
> }
> you can either choose to overwrite WaspSession.logoff or bypass the
> session.logoff(...) and use strategy.logoff(...) directly.
>
> Maurice
>
> On Tue,
will
be called internally when the first device makes its next request and is
redirected to the login page. Is there any way to pass a message to the
first device's login page after the second device has invalidated the first
device's session?
Thanks,
W
shorst [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 03, 2008 7:13 PM
> To: users@wicket.apache.org
> Subject: Re: Wicket-Security and continueToOriginalDestination
>
>
> throw new RedirectToInterceptPage(foo);
>
> in foo:
>
>
> ...
> continueToOriginalDest
How do you get continueToOriginalDestination() to work using
Wicket-Security? I can get it to work without using Wicket-Security.
Thanks,
Warren Bell
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
Disregard this post, I figured it out.
Warren
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
except for the JavaScript I entered being removed. How do I keep the
JavaScript I manually entered from being removed after the AjaxButon is
clicked?
Thanks,
Warren Bell
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Thanks, I will give it a try.
> -Original Message-
> From: Beyonder Unknown [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, February 20, 2008 9:16 AM
> To: users@wicket.apache.org
> Subject: Re: Custom JavaScript Panel ?
>
>
> Hi Warren,
>
> Try t
t; > place. Only maybe when he tampers with it. But if you have session
> > pages that that shouldnt be a problem. (only bookmakrable pages where
> > a user has to first login for)
> >
> >
> > On 2/19/08, Warren <[EMAIL PROTECTED]> wrote:
> > > Maurice,
>
ctorHolder.getInjector().inject(this);
> Nothing more.
>
> Bart.
>
> > -Oorspronkelijk bericht-
> > Van: Warren [mailto:[EMAIL PROTECTED]
> > Verzonden: dinsdag 19 februari 2008 18:16
> > Aan: users@wicket.apache.org
> > Onderwerp: RE: Spring injecting beans into no
have not had any experience with anybody else's.
> -Original Message-
> From: Maurice Marrink [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, February 19, 2008 2:27 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Wicket-security wish list
>
>
> On Feb 19, 2008 10:39 PM, War
use IHeaderContributor. you can make the page or
> any component in the page implement it.
>
> -igor
>
>
> On Feb 19, 2008 3:22 PM, Warren <[EMAIL PROTECTED]> wrote:
> > I am trying to design a Panel that dynamically creates
> JavaScript into the
> > markup. I
cusComponents" />
...
I know this is a lot of questions, and by no means am I asking anyone to
write code for me. I am just looking for hints, suggestions or point me to
some examples if available.
Thanks,
Warren Bell
--
the properties files currently used by wicket.
> But I will have to think about this. Thanks for the suggestion.
> I have created a jira issue so i won't forget it :)
> http://wicketstuff.org/jira/browse/WSSWARM-6
>
> Maurice
>
> On Feb 19, 2008 8:47 PM, Warren <[EM
ons that
the Administrative user can configure within a separate "Point of Sale" app.
Messages of this sort are valuable to a user so that security levels and
permissions can be tweaked to best suit a companies policies. A simple
"Access Denied" message gives little clue as to why a
Thanks Igor, the InjectorHolder.getInjector().inject(this); is what I was
looking for.
Bart, Could you show me an example of your AbstractInjectableModel?
Warren
> -Original Message-
> From: Bart Molenkamp [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, February 19, 2008 1:50 AM
&g
al way of doing this in Wicket with the
@SpringBean annotation? Also, will the example at the top of the page work
within a model?
Thanks,
Warren Bell
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
t; hive.getPrincipals(new ...Permission("foo","enable").
> In this scenario it should only return p2 and not p1.
>
> Maurice
>
> On Feb 16, 2008 1:53 PM, Maurice Marrink <[EMAIL PROTECTED]> wrote:
> > On Feb 15, 2008 6:38 PM, Warren <[EMAIL PROTECTED]
track of the last
> five pages
> (by decrementing the currentId value).
> maybe it suits your needs too ...
>
> regards,
>
> Michael
>
>
> Warren Bell wrote:
> >
> > Could you point me to some code examples?
> >
> >> -Original Message
uld you mind pasting your principal and permission class here?
> The hive file should not matter but could you paste it too.
>
> Thanks,
>
> Maurice
>
>
> On Fri, Feb 15, 2008 at 4:14 AM, Warren
> <[EMAIL PROTECTED]> wrote:
> > Maurice,
> >
> > I ha
Thursday, February 14, 2008 11:37 AM
> To: users@wicket.apache.org
> Subject: Re: wicket-security Custom Access Denied Page
>
>
> Nope, you are correct.
> My mind must have been on vacation when i wrote that :)
>
> Sorry for the confusion.
>
> Maurice
>
> On T
what is the usecase of storing something in the request?
>
> -igor
>
> On Thu, Feb 14, 2008 at 5:02 PM, Warren
> <[EMAIL PROTECTED]> wrote:
> > What is the proper way to store objects into the request and
> retrieve them
> > in your page? Is this the corr
quot;);
And can you extend WebRequest the same way you can extend Session and
configure it in MyApp by extending newWebRequest()? And will this cause my
app to use my extended WebRequest? I don't think I am doing somethin
Re: wicket-security Custom Access Denied Page
>
>
> On Thu, Feb 14, 2008 at 7:13 PM, Warren
> <[EMAIL PROTECTED]> wrote:
> > Maurice,
> >
> > I have a couple more questions. In my MySwarmStrategy
> hasPermission(...)
> > method I only have to look up the
;
// Load hivePrincipalsAndPermissions ?
}
public Set getPrincipals(Permission p)
{
// Return Set of Principals related to permission
}
}
Thank you for your time, you have been a great help.
Warren,
> -Original Message-
> From:
worry about this?
> -Original Message-
> From: Warren [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, February 13, 2008 4:30 PM
> To: users@wicket.apache.org
> Subject: RE: wicket-security Custom Access Denied Page
>
>
> I think I am following your example correctly.
vements anytime soon
> for the 1.3-snapshot (1.3.1), but i also have to release 1.3.0 final
> sometime soon.
>
> Maurice
>
> P.S. i did not cover the part about providing the application with
> your own requestcycle but just look for newRequestCycle in your
> application ;)
>
>
> so they can jump back to a particular moment without having to press
> 20 back buttons.
>
> Martijn
>
> On 2/13/08, Warren <[EMAIL PROTECTED]> wrote:
> > Would that be the same as clicking the browser's back button? And would
> > there be any instance t
p fragment:
>
> Return to previous page
>
> (not 100% sure about the back() method, but there is a javascript
> function in the browser that does that.
>
> Martijn
>
> On 2/13/08, Warren <[EMAIL PROTECTED]> wrote:
> > The link is on an Accessed denied page. I am
es Carman
> Sent: Wednesday, February 13, 2008 12:26 PM
> To: users@wicket.apache.org
> Subject: Re: Link to last accessed page
>
>
> How about using the breadcrumb component? Would that help?
>
> http://wicketstuff.org/wicket13/breadcrumb/
>
> On 2/13/08, Warren
(),
but I do not know how to get to that method from my page.
Thanks,
Warren
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ass)
>
> This is a wicket setting and not related to the security framework.
>
> Maurice
>
> On Feb 12, 2008 7:50 PM, Warren <[EMAIL PROTECTED]> wrote:
> > How do you set-up a custom "access denied page" that has a message on it
> > like "Users
How do you set-up a custom "access denied page" that has a message on it
like "Users in group xxx do not have access to yyy"? I also want to have
this page return to the previous page the user was on. I am using
wicket-security (wasp and swarm).
101 - 142 of 142 matches
Mail list logo