Re: Struts Validator prints all javascript functions

2004-03-14 Thread Marino A. Jonsson
hmm ... that's not my experience - the dynamic parts are rendered as they should, but all the static javascript is then rendered too (instead of just the relevant static methods). I haven't tested 1.2 though. Marino "Joe Germuska" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > At

Re: Newbie needs help: Validator not working with Struts/Velocity

2004-03-14 Thread Marino A. Jonsson
I see nothing wrong - the actions look fine and #errorMarkup() should take care of displaying any form errors. Did you model this after the validator example in the velstruts appliction that comes with Velocity Tools 1.1-rc1? cheers, Marinó <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTEC

Re: Switching from HTTPS to HTTP

2004-03-14 Thread Marino A. Jonsson
Yup, it's quite brilliant - I think it should be incorporated into Struts. Marino "Adam Hardy" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > sslext works brilliantly with struts and container-managed security. > Definitely what you want. You put attributes in your action mappings

Re: Struts 1.1, Tiles and sslext11

2004-01-21 Thread Marino A. Jonsson
ardy wrote: > > Hi there, > > which jar is SecureTilesPlugIn in? I just looked in struts.jar and > > sslext.jar. > > > > thanks > > Adam > > > > On 01/21/2004 01:52 AM Marino A. Jonsson wrote: > > > >> heh heh typical :) > >>

Re: Struts 1.1, Tiles and sslext11

2004-01-20 Thread Marino A. Jonsson
> > > > > > > > Is this right, still throwing? > > > > javax.servlet.UnavailableException > > > at > > > > > > org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.j > av > &g

Re: Struts 1.1, Tiles and sslext11

2004-01-20 Thread Marino A. Jonsson
Moreover, the StrutsTilesPlugin overloads the initRequestProcessorClass(ModuleConfig config) of the TilesPlugin and sets the processorClass attribute of the controller to SecureTilesRequestProcessor ... so there's no need to specify the controller explicitly. cheers, Marinó "Marino

Re: Struts 1.1, Tiles and sslext11

2004-01-20 Thread Marino A. Jonsson
That makes sense ... SecureTilesPlugin actually extends TilesPlugin so you're trying to initialize the same plugin twice ;) cheers, Marinó "Greg Hess" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi All, I am having difficulty integrating the sslext11 plug-in with Struts 1.1 using

Re: Is it possible to nest Tiles layouts?

2004-01-09 Thread Marino A. Jonsson
they certainly do work ... i use them all the time :) cheers, Marinó "Raphaël di Cicco" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I have tried this myself before...couldn't make it work. Nested tiles don't > seem to work at all. > > - Original Message - > From: "Domin

Re: JAAS and roles attribute of logic:present

2003-12-30 Thread Marino A. Jonsson
I had the same problem ... using BASIC auth I could only gain access to the principal in secured areas - so I just secured all areas where I needed access to the principal :) ... very annoying though. cheers, Marinó "Daniel Massie" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > If

Re: Tiles and i18n

2003-12-19 Thread Marino A. Jonsson
Just use the title-value from the tiles definition as a key to access the real value in the resource bundle :) cheers, Marinó "Patrick Cheng" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi all, I know that Tiles support i18n by allowing multiple tiles definition files with standa

Re: Multiple Config files

2003-12-09 Thread Marino A. Jonsson
be aware, if you go down this road, that if you specify a tiles-plugin in both configs - only the plugin in the first config will be initialized. cheers, Marinó "vasudevrao gupta" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Yes ..u can have multiple config files in your applic

Re: Having more than one tleDefinitions.xml

2003-11-10 Thread Marino A. Jonsson
> I don't believe you can share tile-definitions between modules, since > the Tiles plug-in is responsible for the Tile definitions, and that > plug-in is loaded per-module, if I'm not mistaken. Maybe the default > plug-in could be extended to support what you're trying to do? If I understand this

Re: Having more than one struts-config.xml

2003-11-07 Thread Marino A. Jonsson
"Manish Singla" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Example in web.xml > > config > struts-default.xml,struts-config1.xml > > Now, above may cause naming collision. > Thus, name actions may be like mod1_ActionsOfModule1.do I like to use two configs, so that t

Tiles trouble when specifying two struts-configs for a single module.

2003-11-05 Thread Marino A. Jonsson
When I specify two struts-configs for a single module (let's call them struts-a and struts-b, specified in that order), and both of them include a tiles plugin element, then the tiles plugin in struts-a is initialized and not the one in struts-b! I was hoping that the tiles plugin in struts-b would