Clearing Feedback Messages from the Session

2008-03-15 Thread Warren
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

RE: Different content for user

2008-03-13 Thread 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

RE: Default Focus Behavior?

2008-03-09 Thread Warren
} ... } 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"); > > >

RE: Default Focus Behavior?

2008-03-09 Thread Warren
> -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

RE: Default Focus Behavior?

2008-03-09 Thread Warren
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

RE: Use a panel as login panel rather than a different page with wicket auth

2008-03-07 Thread Warren
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

RE: How and when to retrieve messages from Session

2008-03-05 Thread Warren
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

How and when to retrieve messages from Session

2008-03-05 Thread Warren
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]

RE: Wicket-Security How do you pass an error to the login page?

2008-03-04 Thread Warren
>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

RE: Wicket-Security How do you pass an error to the login page?

2008-03-04 Thread Warren
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

RE: Wicket-Security How do you pass an error to the login page?

2008-03-04 Thread Warren
> 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,

Wicket-Security How do you pass an error to the login page?

2008-03-04 Thread Warren
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

RE: Wicket-Security and continueToOriginalDestination

2008-03-03 Thread Warren
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

Wicket-Security and continueToOriginalDestination

2008-03-03 Thread Warren
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

RE: JavaScript in Head disappears after Ajax call

2008-02-27 Thread Warren
Disregard this post, I figured it out. Warren - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

JavaScript in Head disappears after Ajax call

2008-02-27 Thread Warren
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

RE: Custom JavaScript Panel ?

2008-02-20 Thread Warren
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

RE: Wicket-security wish list

2008-02-20 Thread Warren
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, >

RE: Spring injecting beans into non-component classes

2008-02-20 Thread Warren
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

RE: Wicket-security wish list

2008-02-19 Thread Warren
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

RE: Custom JavaScript Panel ?

2008-02-19 Thread Warren
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

Custom JavaScript Panel ?

2008-02-19 Thread Warren
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 --

RE: Wicket-security wish list

2008-02-19 Thread Warren
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

Wicket-security wish list

2008-02-19 Thread Warren
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

RE: Spring injecting beans into non-component classes

2008-02-19 Thread Warren
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

Spring injecting beans into non-component classes

2008-02-18 Thread Warren
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]

RE: wicket-security Custom Access Denied Page

2008-02-17 Thread Warren
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]

RE: Link to last accessed page

2008-02-15 Thread Warren
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

RE: wicket-security Custom Access Denied Page

2008-02-15 Thread Warren
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

RE: wicket-security Custom Access Denied Page

2008-02-14 Thread Warren
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

RE: RequestCycle Request and storeing objects?

2008-02-14 Thread Warren
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

RequestCycle Request and storeing objects?

2008-02-14 Thread Warren
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

2008-02-14 Thread Warren
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

RE: wicket-security Custom Access Denied Page

2008-02-14 Thread Warren
; // 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:

RE: wicket-security Custom Access Denied Page

2008-02-13 Thread Warren
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.

RE: wicket-security Custom Access Denied Page

2008-02-13 Thread Warren
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 ;) > >

RE: Link to last accessed page

2008-02-13 Thread Warren
> 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

RE: Link to last accessed page

2008-02-13 Thread Warren
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

RE: Link to last accessed page

2008-02-13 Thread Warren
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

Link to last accessed page

2008-02-13 Thread 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]

RE: wicket-security Custom Access Denied Page

2008-02-13 Thread Warren
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

wicket-security Custom Access Denied Page

2008-02-12 Thread Warren
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).

<    1   2