Re: Revising user input

2007-03-15 Thread Christopher Becker
TED] 3/14/2007 12:24:03 PM >>> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris, Christopher Becker wrote: > A simple javascript:back() approach is not feasible (nor desirable) > [...] [snip] > Could someone provide insight on the best approach to allow for > re-displ

Revising user input

2007-03-14 Thread Christopher Becker
Hi; I am using Struts 1.2.7, and am developing a user form that employs the validator framework. Once validation is successful, I display the results back to the user on a JSP page, before final submission to the business layer for database update. At this point I would like to give the user the

validating mutiple html:checkbox values

2006-02-07 Thread Christopher Becker
I have a form in a Struts 1.2.7 app that displays a dynamic list of html:checkbox fields, all having the same property value (property=choseRole), which I present using a c:forEach tag.  I wish to apply validation to this set of checkboxes, and I am currently using the Validator plugin on all for

Maintaining session state in remote servlet form post

2006-01-12 Thread Christopher Becker
We have a struts app (v1.2.7) that uses Tiles for UI presentation, running in WebLogic 8.1. We are trying to implement a form whose action is to a remote servlet. The remote site actually generated the form details for us, and one of the fields provided is a hidden field entitled returnURL, which

Re: external URL in struts app

2006-01-05 Thread Christopher Becker
h submits to external server, receives response and returns this response to browser. Michael. On 1/4/06, Christopher Becker <[EMAIL PROTECTED]> wrote: > Greetings all; > > I have a Struts app (v1.27) and wish to add a user form whose ACTION is > a URL that is external to the applicatio

external URL in struts app

2006-01-04 Thread Christopher Becker
Greetings all; I have a Struts app (v1.27) and wish to add a user form whose ACTION is a URL that is external to the application ( a remote servlet). I want to provide a "message sent" confirmation page to the user, but dont know how to do this with an external form submission. Is there a way t

validation plug-in with multiple config files

2005-12-21 Thread Christopher Becker
I am developing a Struts (v1.2.7) app that has multiple struts-config files, but not utilizing modules, so web.xml has one init param with config files separated by commas, eg. config /WEB-INF/struts-config.xml,/WEB-INF/struts-bus1-config.xml, WEB-INF/struts-bus2-config.xml

Re: accessing request attributes

2005-12-07 Thread Christopher Becker
te in app, session, request and page scope for you. Same thing as . You'd, of course, need to include TLDs for JSTL in the latter case. Hope this helps. ATTA On 12/6/05, Christopher Becker <[EMAIL PROTECTED]> wrote: > > I am setting request attributes in an Action class such as

accessing request attributes

2005-12-06 Thread Christopher Becker
I am setting request attributes in an Action class such as in the following example: request.setAttribute("toDate", toDate); request.setAttribute("acctNum", acctNum); Both variables toDate and acctNum are Strings. I then process the action by returning a mapping.findForwa

Re: [Shale] Using standalone tiles?

2005-11-29 Thread Christopher Becker
I am using Tiles in a Struts (v.1.2.7) app, and also experienced an error when the Apache site was temporarily down. So to prevent this from happening in the future, what is the suggested solution? Removing the DOCTYPE element from the tiles-def.xml file does not seem appropriate - or is it?

Re: Associating validation errors with input fields

2005-10-18 Thread Christopher Becker
when an action error occurs, it will be displayed right below the corresponding to the property. Regards, Ramesh M. --- Christopher Becker <[EMAIL PROTECTED]> wrote: > > I have a form in a Struts app (v1.2.7) that I am > attempting to use in > conjunction with the valida

Associating validation errors with input fields

2005-10-18 Thread Christopher Becker
  I have a form in a Struts app (v1.2.7) that I am attempting to use in conjunction with the validator framework. I wish to associate the error messages directly with the input field that caused them (e.g. additional row in a table, etc.)  I am using the tag and can see that the errors are being