Error headers and footers

2002-06-05 Thread Schmidt, Carl
A perusal of the mailing list archives gives me the impression that there is no way around printing out the error header and footers when using the html:errors tag. While I understand that the html:errors tag is to be used mostly for printing form validation errors, what about those errors that

html:error tag

2002-06-06 Thread Schmidt, Carl
The docs for the property attribute of this tag state: Name of the property for which error messages should be displayed. The property of what? The bean specified by name? Carl -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Formatting the error tag

2002-06-11 Thread Schmidt, Carl
As part of formatting some validation error messages, I'm trying to print out html:errors tag from within a single celled table. I only want the html for the table to be printed if errors are present. I tried the logic:present tag, which can print out the html if the error bean is present. The

Retrieving keys from the MessageResources object

2002-07-03 Thread Schmidt, Carl
I'd like to get an array of all keys from the MessageResources object. The API states MessageResources only inherits from object, so needless to say there were no methods there, and I can't find any on the MessageResources object itself. Am I correct in assuming this is not possible? Carl --

RE: Retrieving keys from the MessageResources object

2002-07-03 Thread Schmidt, Carl
Forgot to mention I'm running struts 1.0.1 and cannot upgrade at this time, just in case it matters. Carl -Original Message- From: Schmidt, Carl [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 03, 2002 11:15 AM To: Struts (E-mail) Subject: Retrieving keys from the MessageResources

RE: Retrieving keys from the MessageResources object

2002-07-03 Thread Schmidt, Carl
://www.jamesholmes.com/struts/ --- Schmidt, Carl [EMAIL PROTECTED] wrote: I'd like to get an array of all keys from the MessageResources object. The API states MessageResources only inherits from object, so needless to say there were no methods there, and I can't find any on the MessageResources object

App Resources bundle being read in on Servlet startup?

2002-07-03 Thread Schmidt, Carl
I've read the docs, but it just gives me some intro on the concepts behind localization, resource bundles, etc. I also read the source, but got a little lost. Can someone please direct me to the .java file within struts where the application resources. props file is read in to the resource

Cannot use bean to pop option box

2002-07-09 Thread Schmidt, Carl
i've created a bean that is to be used to populate a select box. This bean is created in an Action, and saved as an attribute under the request object. However, the tag lib for OptionsTag is telling me that it can't find a bean with name SecurityQuestionsManager, and therefore cannot populate a

Multiple error pages for a single action mapping

2002-04-23 Thread Schmidt, Carl
I have a reset password section of the web site where the user must go through a set of pages, verifying their information and then have their password reset. Each page submits to the same action mapping, and I have a session bean that tracks answers to each of the questions on each page. As

Using tagib to print form bean member directly to page

2002-04-23 Thread Schmidt, Carl
I've already looked through the html and bean taglib but I can't find a tag that will allow me to print the value from a form bean simply as is, without rendering a text box or other form item. Does such a thing exist? Carl -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

RE: Using tagib to print form bean member directly to page

2002-04-23 Thread Schmidt, Carl
The form bean has a name in the request equal to its name in the struts-config file form-bean element. You can access attributes with bean:write like so: bean:write name=PropertyMainForm property=description/ -Greg -Original Message- From: Schmidt, Carl [mailto:[EMAIL PROTECTED

action form is reset after every submit

2002-04-24 Thread Schmidt, Carl
I have a multi-page submittal of information, and a form bean is active in session scope across the set of pages. After each page is submitted, the form bean is populated with the input form. Once the set of pages have been completed, I automatically call an overriden reset() method to clear

RE: Multiple error pages for a single action mapping

2002-04-24 Thread Schmidt, Carl
Thank you for the reply. However, isn't setInput essentially setting the input attribute of the action mapping tag in struts-config.xml? In other words, since the action mapping is part of a global collection, will the setInput changes be reflected to any other users on the site, accessing

RE: Struts Actions are Singletons?

2002-04-24 Thread Schmidt, Carl
Thanks for that excellent explanation, that has certainly cleared some things up. Now I understand why the Actions are singletons, and I believe I understand from the STRUTS code _how_ the singletons are enforced, but I'd like to ask another 2 questions to make sure: 1. I notice that the only

RE: Multiple error pages for a single action mapping

2002-04-25 Thread Schmidt, Carl
error criteria for multiple other error pages. Schmidt, Carl wrote: Thank you for the reply. However, isn't setInput essentially setting the input attribute of the action mapping tag in struts-config.xml? In other words, since the action mapping is part of a global collection, will the setInput

Problems setting form properties

2002-04-25 Thread Schmidt, Carl
I have an inital page, called ResetPasswordActionForm.jsp. It has a hidden form field called submitFlag, which is hardcoded to true. The form is submitted to action path : /ResetPasswordUserName. In the action class I set the the submitFlag to false, and forward directly to another action

No cache custom tag not working

2002-08-30 Thread Schmidt, Carl
I have created a no cache custom tag to be inserted on various page. Here is the specific doStartTag method: public int doStartTag() { HttpServletResponse response = (HttpServletResponse) pageContext.getResponse(); response.setHeader(Cache-Control,