Re: [struts-menu] how to use URL rewriting ?

2003-06-19 Thread Malik Recoing
I wrote a MenuDispalyer that can be configured in a properties file. It will not solve your problem but it show how you can write your own MenuDisplayer to add replacement variable you need. It will require you to retrieve the session id from the pageContext and then pass it as a parameter for mess

Re: Validator documentation

2003-06-19 Thread Malik Recoing
Wednesday, June 18, 2003 3:46 PM , David Graham <[EMAIL PROTECTED]> a écrit : > > Hello, > > > > I'm looking for an exaustive documentation of the struts > > validator's rules defined in validator-rules.xml. > > Where can I find the name, values and meaning of heach variable the > > rules can take

Validator documentation

2003-06-18 Thread Malik Recoing
e javadoc document this. And the sample chapter from "Struts in action" is obsolet for 1.1rc1. Thanks for your pointers. Malik Recoing. Almerys

Re: Multiple struts-config files without Modules

2003-02-05 Thread Malik Recoing
Tuesday, February 04, 2003 8:12 PM , Ted Husted <[EMAIL PROTECTED]> a écrit : > >>Is it dumb ? Or may it be an advance of the feature promised in > 1.2 >>that will allow inheritence of configs ? > > Just to be precise, no one is able to make any "promises" about any > features for any possible

Re: Multiple struts-config files without Modules

2003-02-04 Thread Malik Recoing
Monday, February 03, 2003 8:19 PM , Craig R. McClanahan <[EMAIL PROTECTED]> a écrit : > On Mon, 3 Feb 2003, Susan Bradeen wrote: > > > Date: Mon, 3 Feb 2003 13:24:10 -0500 > > From: Susan Bradeen <[EMAIL PROTECTED]> > > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > > To: [EMAIL PROTECTE

Re: JSP's under WEB-INF and Struts modules

2003-02-03 Thread Malik Recoing
Hi, I've got the same problem. The solution is to use forwardPattern and inputForward options to have complex, pattern based, repalcement of the uri : http://jakarta.apache.org/struts/userGuide/configuration.html#controller_con fig But after few tests and a look at the source code of struts b3 a

Re: one desing question, Revisited

2003-02-03 Thread Malik Recoing
Friday, January 31, 2003 5:31 PM , Cory Newey <[EMAIL PROTECTED]> a écrit : > I don't understand your response. The code I propose below does in > fact use delegation to factorize the functions. I'm ok with that. > However, by > utilizing an interface, all code that works with MyAction and > MyD

Re: one desing question, Revisited

2003-01-31 Thread Malik Recoing
I Ask : "What the real apport of implementing CommonFunctionInterface in each classes rather than just using common.aFunction() where you need it ?" (but maintaining more code). Malik. Friday, January 31, 2003 5:17 PM , Ashish Kulkarni <[EMAIL PROTECTED]> a écrit : > Hi > Thanx for the all the ma

Re: one desing question, Revisited

2003-01-31 Thread Malik Recoing
I don't agree with the interface solution. As the name sugest CommonFunction seems to be only factorization of code and not a real type. MyAction and MyDispatchAction will never be called from outside as some 'CommonFunction'. Interfaces are meant to be externals contracts not a way to replace inhe

Re: one desing question, Revisited

2003-01-31 Thread Malik Recoing
Friday, January 31, 2003 4:34 PM , Ashish Kulkarni <[EMAIL PROTECTED]> a écrit : > Hi, > > When i was thinking about my problem, I think what i > want to do in multiple inhereteance > I want to define a class called CommonFunctions , this > call will have methods which are common, (As name > sugges

Re: are static classes GC'd?

2003-01-31 Thread Malik Recoing
Friday, January 31, 2003 4:20 PM , Adolfo Miguelez <[EMAIL PROTECTED]> a écrit : > I agree. But, could the hashtable be collected before since it has not > references in the method? Or is > > TemplatesCache.getInstance().get("key"); > > considered as a reference? If you use the Sigleton D.P. as it

Modularization

2003-01-31 Thread Malik Recoing
Hi to all, Does somebody finaly have been able to set à modularized app with pages, tiles and stuf in another place than the root of the webApp ? For exemple under the /WEB-INF/ folder ? I yes how does it use forwardPattern and pagePattern ? Witch paths does he set contexte-relative and witch mo