Re: XHR request to return a test/xml payload

2011-04-04 Thread David Uttley
Hi, I do the following in the page code so that I don't have to manipulate urls, you never know if the format could change; @Inject private ComponentResources resources; public String getUrl() { return resources.createEventLink("someEvent", 'some context

Re: Generating popup window after form success

2011-03-31 Thread David Uttley
Hi Rich, You could use Javascript to submit the form using AJAX and then in the load section popup your dialog. function sendXHRAndUpdate(settings){ var xhrArgs = { form : settings.formId, handleAs : "json", load : function(data) {

Re: Logon notification

2011-03-31 Thread David Uttley
>> form.recordError(messages.get("login.invalidUsernameOrPassword")); >> } else { >> // do your thing >> . >> . >> . >> } >> >>

Re: Logon notification

2011-03-30 Thread David Uttley
> public void onApplicationEvent(AuthenticationSuccessEvent successEvent) > { >UserDetails userDetails = (UserDetails) > successEvent.getAuthentication().getPrincipal(); >//notify here etc. > > } > > And thats all?! > > Cheers, > Peter > > &

Logon notification

2011-03-30 Thread David Uttley
So do I have any takers for this problem? Somebody must be recording logins somewhere, I don't have to use Spring to do it. --Original message I am trying to get spring security to notify me of a successful logon using the Spring ApplicationListener. However, the ApplicationListener doesn'

Notification of login

2011-03-29 Thread David Uttley
Hi There, I am trying to get spring security to notify me of a successful logon using the Spring ApplicationListener. However, the ApplicationListener doesn't seem to be notified of the events. Any help or pointers will be appreciated. I am using t5.2 Spring 3.0 and the 3.0.0-snapshot of t5ss