Cheers for the speedy reply matt ;-) loving appfuse
mraible wrote: > > I think it's best to write this in a filter for one simple reason: so > it can be used with multiple web frameworks. Maybe you'll want to > contribute it back to AppFuse someday. There's been some reason work > going on in Roller (roller.apache.org) to provide a similar install > mechanism. You might want to checkout the following thread on their > mailing list: > > http://www.nabble.com/Roller-Easy-Install---ready-to-commit-tf3914860s12275.html > > Matt > > On 6/19/07, mark.forster <[EMAIL PROTECTED]> wrote: >> >> When my appfuse application is deployed onto a server i want an install >> view >> to run so users are able to configure there installation. after it is >> configured it should continue as normal every time it is run. >> >> I've already figured that i will need to check for things like: Database >> existence, security details for install and setup etc. >> >> The answer is obvious, write a filter or interceptor to execute and >> perform >> a check as to wether or not this is a freshly deployed WAR ( i.e. DB does >> not exist, flag is set or some other method of checking for new install, >> the >> method of checking not being important at this minute but more how to >> implement it as i am new to appfuse and struts 2 and am JUST getting my >> head >> around struts2). >> >> The problem i am having is that i want this to happen before the >> authentication mechanism executes i.e. before you are redirected to login >> i.e. if it is a fresh install redirect to an install view before ANYTHING >> else. >> >> >> What is the best approach for this? and how do i implement it? >> >> >> >> >> >> >> -- >> View this message in context: >> http://www.nabble.com/Interceptor-or-filter--How-do-i-implement-this--tf3946560s2369.html#a11195227 >> Sent from the AppFuse - User mailing list archive at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > -- > http://raibledesigns.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Interceptor-or-filter--How-do-i-implement-this--tf3946560s2369.html#a11195539 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
