exception handling

2003-07-13 Thread Nathan Coast
Hi, I'm using tiles to manage my layouts, one of the sections of a page is throwing an exception: [ServletException in:/log4j/Loggers_body.jsp] org/apache/commons/collections/IteratorUtils' these are the only exception details I see, how do I obtain the full stack of the exception? cheers

module / tiles problems

2003-07-13 Thread Nathan Coast
Hi, I tried setting up a web application with configuration files. init-param param-nameconfig/param-name param-value/WEB-INF/struts-config.xml,/WEB-INF/struts-config-logweb.xml/param-value /init-param both referred to their own tiles-defs files with tiles plugins plug-in

RE: module / tiles problems

2003-07-13 Thread Erez Efrati
Just by looking and I am new to tiles... That the set-property property=moduleAware value=false / The VALUE should be set to TRUE not false. Hope it helps, Erez -Original Message- From: Nathan Coast [mailto:[EMAIL PROTECTED] Sent: Sunday, July 13, 2003 2:12 PM To: struts-user

Re: module / tiles problems

2003-07-13 Thread Nathan Coast
thanks, unfortunately still doesn't work Erez Efrati wrote: Just by looking and I am new to tiles... That the set-property property=moduleAware value=false / The VALUE should be set to TRUE not false. Hope it helps, Erez -Original Message- From: Nathan Coast [mailto:[EMAIL

Re: exception handling

2003-07-13 Thread Yann Cébron
Nathan, have a look at your container's (context-)logfile, you should be able to find the detailed exception in there. HTH, Yann Hi, I'm using tiles to manage my layouts, one of the sections of a page is throwing an exception: [ServletException in:/log4j/Loggers_body.jsp]

Re: action forward to real jsps under Tiles

2003-07-13 Thread Yann Cébron
Erez, I am new to Tiles: 1) What are the downsides over writing your own? You're talking about writing your own Tiles-like implementation ? I guess there's a lot of downsides to this - else everyone in here wouldn't be using Struts as his base framework, too - but write his own Webapp

Re: Question about subclassing RequestProcessor

2003-07-13 Thread Yann Cébron
If you're using Struts1.1 (I guess you are since you're talking of RequestProcessor?!), roles based action security is already included, have a look at the roles attribute of the action element in struts-config.xml. HTH, Yann Hi all, I need to subclass RequestProcessor to implement role

RE: Question about subclassing RequestProcessor

2003-07-13 Thread Ed Yu
Thanks for your tips, but we do not wanted to use container managed security. -Original Message- From: Yann Cbron [mailto:[EMAIL PROTECTED] Sent: Sun 07/13/2003 9:37 To: [EMAIL PROTECTED] Cc: Subject: Re: Question about subclassing

logic:messagesPresent to c:if

2003-07-13 Thread Leford Webmaster
I am moving from struts taglibs to JSTL. Having difficulty converting the logic:messagesPresent to c:if test='XXX' . anyone can help to fill in the XXX? Thanks!

[ANNOUNCE] Jakarta Struts 1.1 fcs / Struts Expresso 5.1 ea2

2003-07-13 Thread Peter A. Pilgrim
EXPRESSO FRAMEWORK STRUTS 1.1 FCS* INTEGRATION By Peter Pilgrim Monday July 14, 2003 FCS == Full Candidate Release* I would

Tiles:getAsString tag

2003-07-13 Thread Erez Efrati
Is there a way to give tiles:getAsString a key instead of a literal string ? Just like bean:message key=welcome it will use the key to retrieve the string from the message resources. If not, how hard is it to make it work? Thanks, Erez

[ANNOUNCE] Jakarta Struts 1.1 fcs / Expresso Framework 5.1 earlyaccess 2

2003-07-13 Thread Peter A. Pilgrim
(Sorry for getting the subject line wrong ;-) EXPRESSO FRAMEWORK STRUTS 1.1 FCS* INTEGRATION By Peter Pilgrim Monday July 14,

Validation using Validator java beans issue

2003-07-13 Thread Mohd Amin Mohd Din
Hi, Having a snag using Validator, DynaValidatorForm and simple java beans. An overview of the current application my team is currently building; We use 2 Action classes for one jsp if the jsp has a html form in it else we use 1 Action. Example, for changePassword.jsp we have

OT: Help Wanted, Struts Translate to Russian, Portuguese, etc

2003-07-13 Thread Vic Cekvenich
OT: Help Wanted, Struts Translate to Russian, Portuguese, etc. If you know Struts and are fluent in a foreign language; and would like to help translate a white paper, please contact vic_Cekvenich at (noSpam) baseBeans.com. I already have German, French translator. I need Portugueses, Russian,

tracking user activities: how to ignore action chaining (or server side forward)

2003-07-13 Thread david chan
Hi, I am writing a RequestProcessor that is a subclass of Struts 1.1 RequestProcessor, the purpose is to track user activities, i.e. which link the user clicked, which page the user requested etc. I override the method processForwardConfig, and put my tracking function first, here is how it

Re: logic:messagesPresent to c:if

2003-07-13 Thread David M. Karr
Leford == Leford Webmaster [EMAIL PROTECTED] writes: Leford I am moving from struts taglibs to JSTL. Having difficulty converting Leford the logic:messagesPresent to c:if test='XXX' . anyone can help to Leford fill in the XXX? Thanks! You don't have to move from Struts to JSTL, you

getting hash map values

2003-07-13 Thread Richard Raquepo
Hi. Assuming i have this king of bean: public class MyJavaBean implements Serializable{ public HashMap values = new HashMap(); public String get(String name){ String value = (String) values.get(name); if (value == null) { throw new NullPointerException

html:options list source question

2003-07-13 Thread Craig Berry
After much googling and head-scratching, I finally have an html:options tag working on a jsp. The problem is that I don't know why one component of the solution is needed, and I was hoping someone can explain it to me. My ActionForm subclass, EditDeForm, has a pair of methods to provide the

RE: html:options list source question

2003-07-13 Thread Wendy Smoak
Craig Berry wrote: The jsp page contains an html:form section linked via action mapping to the EditDeForm type. In it, there is a select/options section that looks like this: html:select property=numFmt html:options collection=numFmtOptions property=value labelProperty=label/

Re: getting hash map values

2003-07-13 Thread Rick Reumann
On Mon, Jul 14,'03 (11:37 AM GMT+0800), Richard wrote: now, my question is how will i be able to get the value i set for test? is that possible? is there other way i can get to the hashmap values directly from struts? You should be able to do it with