RE: [other] error tag PS

2003-12-21 Thread Jerald Powel
it just occurrred to me, perhaps it may be due to the JSP: as ActionMessages are not soley used for error handling? If this is the case, what error tag will extract the error labels defined in my Application.properties? thanks again G - Yahoo! Messenger

RE: [other] error tag

2003-12-21 Thread Jerald Powel
Hi Noel, Thanks for that. Since that post, I have opted for constructing an ActionMessages object and populating it with ActionMessage (s). This being because I hear ActionError/s are deprecated as of Struts 1.2. I have set up the Application.properties file under WEB-INF/classes/resou

RE: OT: Examples of HTML-based user interfaces?

2003-12-21 Thread Andrew Hill
Thats good. Btw: If I were you I would set the Netscape bar to version 7 (or any mozilla version above 1). Netscrap 6 is based on a pre-1 version of Mozilla, and has a couple of very nasty bugs that can make trying to do certain DHTML things an absolute nightmare. (Such as not submitting values f

Re: error:null property value please HELP

2003-12-21 Thread hgosper
Hi Ajay, Sorry, I didn't realise the problem had to do with checkboxes. I can offer a clue or two perhaps but you would be best off reading the struts doco on checkboxes. clue 1: checkbox values are stored as Strings. clue 2: only selec ted checkbox values are submitted, not unselected ones.

RE: [other] error tag

2003-12-21 Thread Noel E. Lecaros
Hi Jerald, The single-string ActionError class constructor that you are invoking interprets the parameter passed to it as a key of a message string defined in your Application.properties file (this file is usually placed under the classes/resources directory). HTH Noel -Original Message

error tag

2003-12-21 Thread Jerald Powel
Hello, I am handling my errors and constructing an errors object thus: ActionErrors errors = new ActionErrors(); errors.add(ActionErrors.GLOBAL_ERROR, new ActionError("Initialisation error - userID not found")); saveErrors(request, errors); r

Re: error:null property value please HELP

2003-12-21 Thread ajay brar
hi! 'functions' is the name of the tree structure in the form class, as class SomeForm extends ActionForm { private TreeStructure functions;} this form class also includes some String attributes. The whole display works fine, i have some text boxes for the String fields in the form, the tree st

Re: error:null property value please HELP

2003-12-21 Thread hgosper
Hi Ajay I am doing something similar... I have a Tree class and a Node class to represent either branches or "leaves" of the tree. The Tree class has a field called treeRoot that represents the root Node. I ha ve an action that creates the tree and puts it on the request then in the JSP I have

error:null property value please HELP

2003-12-21 Thread ajay brar
hi! i am getting an error when i submit a form. briefly i have a tree stucture that gets displayed, along with checkboxes to select a particular node. the tree structure is of the type: class TreeStructure{ private ArrayList children;} //the ArrayList children contains objects of type

RE: Problem in forward path in tileDefinitions.xml

2003-12-21 Thread Norm Deane
A 404 error? Are you sure the URI you're using is correct? You don't have a tiles definition that has the same name as the URI your using do you? Can you post your struts-config.xml and tiles-defs.xml? On Sun, 2003-12-21 at 11:46, Parthasarathy Kesavaraj wrote: > but when i give a jsp directly

RE: Multiple Converters for the same class type

2003-12-21 Thread Ivan De La Pena
Marty, Thanx for the response , thats what i am doing for now. I just wanted to know if its possible to do the way i am suggesting . Thanx Ivan -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Sunday, December 21, 2003 3:21 PM To: Struts Users Mailing List Subject: R

RE: Problem in forward path in tileDefinitions.xml

2003-12-21 Thread Parthasarathy Kesavaraj
but when i give a jsp directly it id waying URL eror > -- > From: Norm Deane[SMTP:[EMAIL PROTECTED] > Reply To: Struts Users Mailing List > Sent: Sunday, December 21, 2003 11:11 PM > To: Struts Users Mailing List > Subject: Re: Problem in forward path in tileDefi

Re: Problem in forward path in tileDefinitions.xml

2003-12-21 Thread Norm Deane
You don't have to create a definition if you are simply forwarding to a JSP. If the TilesRequestProcessor is not able to find a definition matching the forward path specified it calls the standard Struts RequestProcessor which will handle it as a normal URI. On Sun, 2003-12-21 at 11:28, Parthas

Problem in forward path in tileDefinitions.xml

2003-12-21 Thread Parthasarathy Kesavaraj
Hi I am having a seperate tileDefinitions file and i am having an entry for it in struts-config and for all the forward to definitions is working fine.But now if i want to send the forward to a jsp file instead of a tileDefinition(since the forward is a plain jsp like error page i dont want to cr

RE: ClassCastException coming from DynaValidatorForm.validate()-> bug or a feature?

2003-12-21 Thread Steve Armstrong
Hi, Validator has support for validating multi-page forms via the use of an optional "page" attribute, associated with a field element, that can be set to an integer. From the Validator portion of the user guide: All validation for any field on a page less than or equal to the current page is pe

Problem in forward path in tileDefinitions.xml

2003-12-21 Thread Parthasarathy Kesavaraj
Hi I am having a seperate tileDefinitions file and i am having an entry for it in struts-config and for all the forward to definitions is working fine.But now if i want to send the forward to a jsp file instead of a tileDefinition(since the forward is a plain jsp like error page i dont want to cr

Re: Multiple Converters for the same class type

2003-12-21 Thread Martin Gainty
Ivan Take a look at Matt Raible's rather elegant solution for registering multiple ConvertUtils by implementing Converter public Object convert(Class type, Object value) method http://raibledesigns.com/page/rd/20030111 Hope this helps, Martin - Original Message - From: "Ivan De La Pena" <

Re: ApplicationResources.properties

2003-12-21 Thread Martin Gainty
you made sure your ApplicationResources.properties is in the %TOMCAT_HOME%\webapps\DeployedName\WEB-INF\classes folder? and you checked the app was deployed http://:8080/manager/list ? if not deploy the DeployedName as http://:8080/manager/install?path=/DeployedName&war=DeployedName Hth, Martin -

Re: BeanUtils.populate Error

2003-12-21 Thread Raman
Problem was resolved. but the reason was not exactly clear to me. What I am doing was: I was using the " FYI -- I had this addButton declared in my Action Form. Actually I am having more then one image sumbit button in my form. when I removed the property attribute. it worked fine.. I think this