Re: Navigation framework

2004-10-04 Thread Kunal Parikh
Hi ! I can think of three ways to achieve this functionality: 1. HTTP Referer - you can get the referer from the Servlet API, but this will only work if the client has NOT turned off the feature. Some browsers and proxy-servers turn this functionality off by default. 2. sourceId in

Dots in form names creates problems with Javascript Validator function names

2004-08-31 Thread Kunal Parikh
Hi! I have some forms with dots in their names. The problem is that the JS validation code being generated is not quite right Is there a resolution/work-around to this issue ? e.g. FormName: employer.search JS generated: = function employer.search_required () { ...

Re: Difference between different validator forms

2004-08-18 Thread Kunal Parikh
http://wiki.apache.org/struts/ValidatorActionForms On Wed, 18 Aug 2004 12:12:14 +0530, Jitesh Sinha [EMAIL PROTECTED] wrote: Hi All 1.)what are the difference in scenarios when we want to use DynaValidatorForm and DynaValidatorActionForm 1.)what are the difference in scenarios when we want to use

Re: Refresh problem.

2004-08-18 Thread Kunal Parikh
Hi nitin! I would attack this issue in two possible ways. Option 1: = addForm.do - Action.saveToken() in execute; listRecords.do - displays records + if( this.isTokenValid( request, true ) ) // true will reset the token (i.e. on refresh, the token will not match) { // do save } //

Mapping ActionPath to a method in DispatchAction

2004-08-15 Thread Kunal Parikh
Hi! I was wondering if it were possible to drop the parameter attribute in a dispatch action and map an actionPath to a method/methodName ? E.g /createUser - public ActionForward createUser(ActionMapping m,ActionForm f,HttpServletRequest req,HttpServletResponse res ) /editUser - public

Re: Mapping ActionPath to a method in DispatchAction

2004-08-15 Thread Kunal Parikh
Kunal Parikh wrote: Hi! I was wondering if it were possible to drop the parameter attribute in a dispatch action and map an actionPath to a method/methodName ? E.g /createUser - public ActionForward createUser(ActionMapping m,ActionForm f,HttpServletRequest req,HttpServletResponse res