RE: Problem: Struts+Modules+jsps under WEB-INF

2002-12-03 Thread Vincent PROSPER
To my understanding: 1. Put something like action forward=/mainScreen.jsp... (if I were you, I wouldn't put any jsp file under WEB-INF, only TLD, XML and external JARs. common is automatically added as the subapp prefix by the subapp controller handling your stuts-config-common.xml, and jsp has

RE: Problem: Struts+Modules+jsps under WEB-INF

2002-12-03 Thread Vincent PROSPER
are risking shortcuts bypassing the action classes. If you have jsp's that are directly executable by all means put them in a public space. Edgar -Original Message- From: Vincent PROSPER [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 03, 2002 8:06 AM To: 'Struts Users Mailing List'; 'Maciej Ko

RE: [Tiles Controller] pagePattern bug(?)

2002-11-29 Thread Vincent PROSPER
PM To: Vincent PROSPER Subject: Re: [Tiles Controller] pagePattern bug(?) Hi, Well, I think that all URLs found in pages under a module are automatically prefixed by the module name when processed by a struts tag or by the struts requestProcessor. The TilesRequestProcessor doesn't alter

RE: HTTP Status 500

2002-11-29 Thread Vincent PROSPER
Paul, may you should have a look on how to build a webapp.war... and drop it into the webapps directory of Tomcat... Vince -Original Message- From: Paul Kavanagh [mailto:[EMAIL PROTECTED]] Sent: Friday, November 29, 2002 8:48 PM To: Struts Users Mailing List Subject: HTTP Status 500

RE: [Subapps forward] contextRelative troubles (tiles pb?)

2002-11-28 Thread Vincent PROSPER
that the controller appends the subapp prefix to the context path? Could you please help me. Thanks in advance Vince -Original Message- From: Vincent PROSPER [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 28, 2002 8:47 AM To: [EMAIL PROTECTED] Subject: [Subapps forward] contextRelative

[Tiles Controller] pagePattern bug(?)

2002-11-28 Thread Vincent PROSPER
Hi, When setting pagePattern=$P in my subapp config, all html:link page=... are now without any prefix. Good! Unfortunately, this is not the case for html:img pageKey=... (neither for html:form action=..., but this is another discussion). Can someone tell me if this is a controller

[Subapps forward] contextRelative troubles

2002-11-27 Thread Vincent PROSPER
Hi, I'm trying to use contextRelative forwards in order to point to existing subapps. I have a portal, and several modules. The portal is of course my webapp. All that can be found in docs has been coded: web.xml: ... init-param param-nameconfig/param-name

RE: Trivial Q

2002-10-28 Thread Vincent PROSPER
if number=10 (for instance) for an array nb_cols x nb_rows then col=number mod nb_rows (should be 2) row=(number div nb_cols) + 1 (should be 3) dont know the language you're looking for ;-) Vince -Original Message- From: Khan, Manuchehar A (ACF) [mailto:mkhan;acf.hhs.gov] Sent:

RE: Trivial Q

2002-10-28 Thread Vincent PROSPER
-Original Message- From: Vincent PROSPER [mailto:Vincent.Prosper;Alkinos.com] Sent: Monday, October 28, 2002 3:29 AM To: Struts Users Mailing List Subject: RE: Trivial Q if number=10 (for instance) for an array nb_cols x nb_rows then col=number mod nb_rows (should be 2) row=(number div

RE: Trivial Q

2002-10-28 Thread Vincent PROSPER
oops! replace 'nb_rows' by 'nb_cols' in first instruction... nb_rows has nothing to do with that question... Vince -Original Message- From: Vincent PROSPER [mailto:Vincent.Prosper;Alkinos.com] Sent: Monday, October 28, 2002 9:43 AM To: Struts Users Mailing List Subject: RE: Trivial Q

RE: Validator files questions

2002-10-25 Thread Vincent PROSPER
Hi, You put as many xml files as you want, but they must be described in your struts-config.xml file: plug-in className=org.apache.struts.validator.ValidatorPlugIn set-property property=pathnames value=/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml,/WEB-INF/validat ion2.xml/ /plug-in

RE: Validator later rather than sooner?

2002-10-25 Thread Vincent PROSPER
-Original Message- From: John Nicholas [mailto:jakarta;mobosplash.com] Sent: Thursday, October 24, 2002 8:49 PM To: Struts Users Mailing List Subject: Re: Validator later rather than sooner? Vincent PROSPER wrote: Another thing I dont like in Struts Validator is that html:errors/ translation comes

RE: [tiles:put / logic:present] lost 'role' attribute

2002-10-25 Thread Vincent PROSPER
Hi, could you please give some answer to this crucial problem? Should I use cookies or any other trick to proceed? Thanks in advance for your answers. Vince -Original Message- From: Vincent PROSPER [mailto:Vincent.Prosper;Alkinos.com] Sent: Thursday, October 24, 2002 7:35 PM To: [EMAIL

RE: [sub-apps] smthg missing... (?)

2002-10-25 Thread Vincent PROSPER
for additional modification. You'll only have a single WEB-INF - and therefore just one lib and classes directory. All resources for all modules that need to live in lib or classes must be included in those. Does that help? Vincent PROSPER wrote: Could someone please confirm this assertion? Vince

RE: [sub-apps] smthg missing... (?)

2002-10-24 Thread Vincent PROSPER
Could someone please confirm this assertion? Vince -Original Message- From: Vincent PROSPER [mailto:Vincent.Prosper;Alkinos.com] Sent: Thursday, October 24, 2002 7:28 PM To: bachan s Cc: [EMAIL PROTECTED] Subject: RE: [sub-apps] smthg missing... (?) Wow! If this is really the case

RE: [sub-apps] smthg missing... (?)

2002-10-24 Thread Vincent PROSPER
is for different modules in the same application so that they can have different struts confix files and maintaining the struts config becomes easier. I am not sure whether you can have different war file for different sub applications .I guess not . Thanks ! Bachan Vincent PROSPER [EMAIL

RE: Validator later rather than sooner?

2002-10-24 Thread Vincent PROSPER
Hi, in my opinion - and small experience, I had not difficulties when switching to the Validator. The only things I had to do were: - removing validateXXX() method, XXX being a (set of) field in my form - adding the right rules in my validation.xml Where you might get in trouble is that

[tiles:put / logic:present] lost 'role' attribute

2002-10-24 Thread Vincent PROSPER
Hi, Ok, my question may be obvious for some of yours, but I guess I am not the only newbie having this kind of trouble (I hope ;-) All I wanna do is to customize jsp pages (made of struts tiles) depending on user's role. Here is my trouble: I've got a tile (among others with same concerns wrt

[sub-apps] smthg missing... (?)

2002-10-24 Thread Vincent PROSPER
Hi, This is a newbie question about sub-apps in struts 1.1.b2... I have got two webapps, named portal.war and listing.war and I want listing.war to become a sub-app of portal.war (does it make sense or am I misunderstanding something?) So what I basically did in the portal project is:

[Struts Validator / i18N] accentuated letters with \w pattern dont work

2002-10-18 Thread Vincent PROSPER
Hi, In my validation.xml file, I have the following formset tag: global constant constant-namename/constant-name constant-value^[\w|-|'| ]+$/constant-value /constant ... /global formset language=fr form name=subscribeForm field property=lastName

RE: [Struts Validator / i18N] accentuated letters with \w pattern dont work

2002-10-18 Thread Vincent PROSPER
version of the validator framework which use jakarta regexp. var var-namemask/var-name var-value^[a-zA-Z\u00C0-\u00FF]*$/var-value /var -Padma -Original Message- From: Vincent PROSPER [mailto:Vincent.Prosper;Alkinos.com

RE: Tiles and Internationaliation

2002-10-04 Thread Vincent PROSPER
it is. On the inserted page you will need to do: tiles:importAttribute name=title / bean:message name=title/ Cedric Vincent PROSPER wrote: Hi, I am quite new to tiles stuff (only 1 and an half day experience, switching from Struts templates...) For the moment, I am just trying to insert

Re: Tiles and Internationaliation

2002-10-03 Thread Vincent PROSPER
Hi, I am quite new to tiles stuff (only 1 and an half day experience, switching from Struts templates...) For the moment, I am just trying to insert internationalized messages in tiles and the only way I found to do this is: tiles:insert definition=portal.mainMenu