[Webwork-user] Equivalent of a Modulus Operator?

2002-02-09 Thread Chris Miller
I have a collection, and by using I want to output data from the collection as HTML. The catch is, I want to display say 4 items on each row, then wrap down to the next line. Eg if I had 11 items in the collection, I'd want them to display like this: Item 1item 2item 3item 4 Item 5

Re: [Webwork-user] Secured actions

2002-02-09 Thread Victor Salaman
>Your approach is ok but I cannot apply it because I have to use container >managed authentication. And to be onest I want to use declarative >security/transaction/persistence so I can concentrate on the project not on >the infrastructure (this is the j2ee server's job, isn't it ?). > With a litt

Re: [Webwork-user] Secured actions

2002-02-09 Thread Bogdan Ghidireac
You are right. It's not the smartest idea :) Your approach is ok but I cannot apply it because I have to use container managed authentication. And to be onest I want to use declarative security/transaction/persistence so I can concentrate on the project not on the infrastructure (this is the j2ee

Re: [Webwork-user] Secured actions

2002-02-09 Thread Victor Salaman
Hi Bogdan: That works, but it is painful in the event of changes in business requirements. Let's say that you work for a widget store, and your boss tells you to implement a knowledge base system, and you do. You make a lot of pages that have context sensitive links to those pages. Let's say 5

Re: [Webwork-user] Secured actions

2002-02-09 Thread Bogdan Ghidireac
So it looks like there is no standard way. I would like to propose a different approach (based on Victor's) that requires some changes in the webwork source code. First, add a new mapping to web.xml. This way all ".s_action" urls will be protected by the container. .. action