Re: [Webwork-user] global views in views.properties

2002-03-15 Thread Victor Salaman
> >What is the easiest way of defining a view that is available for every >action. >In this example I have kind of hard coded 'commonview' into every >action: > >action1=Action1 >action1.success=action1.jsp >action1.commonview=commonview.jsp > >action2=Action2 >action2.success=action2.jsp >actio

Re: [Webwork-user] index.action vs index.jsp

2002-03-06 Thread Victor Salaman
I handle that with a trick! :) if you create a 0 byte file in the webapp root, such as index.action , and specify that as your welcome file, then it will work :) Cheers, /V >From: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >CC: [EMAIL PROTECTED] >Subject: Re: [Webwork-user] index.action vs ind

Re: [Webwork-user] redirect view at runtime

2002-03-05 Thread Victor Salaman
> >When was this introduced? I must've missed it...argh.. > >What does this give that the above solution doesn't give? It seems as >though this is a serious security issue since a user can tweak the URI to >get to data which should usually not be possible. Not good. > I don't think that behavio

RE: [Webwork-user] command driven

2002-02-17 Thread Victor Salaman
Title: Message Try      success.jsp error.jsp   -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of G.L. GrobeSent: Monday, February 18, 2002 12:31 AMTo: [EMAIL PROTECTED]Subject: [Webwork-user] command driven Afte

Re: [Webwork-user] Secured actions

2002-02-09 Thread Victor Salaman
make you do things their way which might not always be how you want them. WebWork gives you the opportunity to at least have all that control and do it the way you want. I understand this might seem overwhelming at first, but it's great... you'll

Re: [Webwork-user] Secured actions

2002-02-09 Thread Victor Salaman
; > ... > > > >Then webwork.config.XMLActionConfiguration should be modified to read the >new "login-required" attribute and to map the actions to ".action" or to >".s_action" depending on the "login-required"

Re: [Webwork-user] Secured actions

2002-02-08 Thread Victor Salaman
I wrote such a beat a little while back. WARNING: Danger ahead :) Anyways, it works the following way... you need to use the xml action configuration (e.g. actions.xml). For any resource you want to protect, just stick the attribute login-required='true' ... This works for action names and ali

Re: [Webwork-user] Memory issues

2002-02-01 Thread Victor Salaman
> >On Fri, Feb 01, 2002 at 01:41:40PM +0100, Christoph Sturm wrote: > > MH> I'm running Orion. > > > Actually you said Orion + Sitemesh hmm.. unless you're using the latest CVS, you have just spelled a formula for memory disaster. There was a HUGE HUGE HUGE memory leak every time a page wa

Re: [Webwork-user] command driven actions

2002-01-31 Thread Victor Salaman
> >Well, that's not true. You can call "isCommand()" to determine >which command is being invoked. > Hmm... this must me something new, as this was not in there originally. This being the case, I see no problem in automatically calling validate from execute in all cases (cda/non cda). > >>I ha

Re: [Webwork-user] command driven actions

2002-01-31 Thread Victor Salaman
> > >The current code only calls validation if no command is set. Hm.. maybe >this should be changed... what do ya'll think? > > -1 ... Each command could require different validations, and given the fact that you can't call something like getCommand, there would no way to detect from where are