Fixed

> -----Original Message-----
> From: Cameron Braid [mailto:[EMAIL PROTECTED] 
> Sent: Monday, June 09, 2003 10:36 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [OS-webwork] WW2 Validation
> 
> 
> Done
> 
>   http://jira.opensymphony.com/secure/ViewIssue.jspa?key=WW-211
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On 
> > Behalf Of Jason Carreira
> > Sent: Tuesday, 10 June 2003 12:30 PM
> > To: [EMAIL PROTECTED]
> > Subject: RE: [OS-webwork] WW2 Validation
> > 
> > 
> > Ahh.. Ok. Gotcha. When I finish up this bug fix I'll add this
> > in too.... Create a Jira issue and assign it to me to make 
> > sure I don't forget
> > 
> > > -----Original Message-----
> > > From: Cameron Braid [mailto:[EMAIL PROTECTED]
> > > Sent: Monday, June 09, 2003 10:15 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: RE: [OS-webwork] WW2 Validation
> > > 
> > > 
> > > This thing is that the ActionInvocation doesn't exist for 
> the target 
> > > action..
> > > 
> > > I.e. the ActionInvocation that I would need to create is for the 
> > > action that this form is submitting to.
> > > 
> > > I want to do this, without having to create a temporary 
> > > ActionInvocation.
> > > 
> > > An example:
> > > 
> > > User hits ReadThingy.action?id=10 which loads data from 
> the business 
> > > layer into the action properties The success view chains to 
> > > EditThingy.action The success view dispatches to EditThingy.jsp
> > > 
> > > EditThingy.jsp
> > > <dcx:form action='SaveThingy.action' >
> > > ...
> > > </dcx:form>
> > > 
> > > Within the dcx:form tag, I want to lookup the validators for 
> > > 'SaveThingy.action' to be able to generate javascript 
> validation for 
> > > it. Currently, I need to create an action invodation for 
> > > 'SaveThingy.action' which is silly, considering I will 
> not use the 
> > > action invodation to 'invoke the action'
> > > 
> > > Has that made it clearer ?
> > > 
> > > Thanks
> > > 
> > > Cam
> > > 
> > > 
> > > 
> > > > -----Original Message-----
> > > > From: [EMAIL PROTECTED]
> > > > [mailto:[EMAIL PROTECTED] On 
> > > > Behalf Of Jason Carreira
> > > > Sent: Tuesday, 10 June 2003 12:05 PM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: RE: [OS-webwork] WW2 Validation
> > > > 
> > > > 
> > > > Well, I'm fixing a bug now which is going to add 
> namespace to the
> > > > mix of required parameters...
> > > > 
> > > > Why can't you get the ActionInvocation? It's in the
> > ActionContext,
> > > > after all...
> > > > 
> > > > Jason
> > > > 
> > > > > -----Original Message-----
> > > > > From: Cameron Braid [mailto:[EMAIL PROTECTED]
> > > > > Sent: Monday, June 09, 2003 9:38 PM
> > > > > To: [EMAIL PROTECTED]
> > > > > Subject: [OS-webwork] WW2 Validation
> > > > > 
> > > > > 
> > > > > I have implemented server side validation using the ww2
> > > validation
> > > > > framework, which works rather well, thanks.
> > > > > 
> > > > > My next task it to implement client side validation, using
> > > > JavaScript.
> > > > > 
> > > > > What I wish to do is this:
> > > > > 
> > > > > WIthin my JSP Form tag  ( a modified version of yours ) 
> > > > >   * I want to find out which action that the form's action
> > > > > (SaveThingy.action) relates to 
> > > > >   * With this action, I want to lookup the defined validators
> > > > >   * Then I want to generate calls to javascript
> > > validators for each
> > > > > field
> > > > > 
> > > > > I know that not all validators will be able to be 
> expressed in 
> > > > > javascript.. eg expression
> > > > > 
> > > > > Though most of them will.
> > > > > 
> > > > > Currently I need to pass an ActionInvocation to the
> > > > > ActionValidatorManager.getValidators(ActionInvocation)
> > > > > method, which in my case is impossible.  Since the
> > > > > ActionValidatorManager.getValidators() (and its related
> > > > > methods) only uses the actionName, and actionClass, can these
> > > > > be the parameters instead of the invocation ?
> > > > > 
> > > > > I presume that I can use 
> > > > > ConfigurationManager.getConfiguration().getRuntimeConfiguratio
> > > > > n().getActionC
> > > > > onfig(namespace, actionName) to obtain the action config, and 
> > > > > therefore get the actionClass.
> > > > > 
> > > > > So.. All in all it is very possible, if this change can be
> > > > made to the
> > > > > ActionValidatorManager.getValidators() method... Or 
> at least a 
> > > > > secondard method with my requested signature can be added.
> > > > > 
> > > > > Thanks,
> > > > > 
> > > > > ..Cam..
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > -------------------------------------------------------
> > > > > This SF.net email is sponsored by:  Etnus, makers of
> > > TotalView, The
> > > > > best thread debugger on the planet. Designed with thread
> > > debugging
> > > > > features you've never dreamed of, try TotalView 6 free at 
> > > > > www.etnus.com. _______________________________________________
> > > > > Opensymphony-webwork mailing list
> > > > > [EMAIL PROTECTED]
> > > > > 
> > https://lists.sourceforge.net/lists/listinfo/opensymphony-webw
> ork
> > > > 
> > > 
> > > 
> > > -------------------------------------------------------
> > > This SF.net email is sponsored by:  Etnus, makers of 
> TotalView, The
> > > best thread debugger on the planet. Designed with thread
> > debugging features
> > > you've never dreamed of, try TotalView 6 free at www.etnus.com.
> > > _______________________________________________
> > > Opensymphony-webwork mailing list 
> > > [EMAIL PROTECTED]
> > > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> > > 
> > 
> > 
> > 
> > -------------------------------------------------------
> > This SF.net email is sponsored by:  Etnus, makers of TotalView, The 
> > best thread debugger on the planet. Designed with thread debugging 
> > features you've never dreamed of, try TotalView 6 free at 
> > www.etnus.com. _______________________________________________
> > Opensymphony-webwork mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> > 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by:  Etnus, makers of 
> TotalView, The best thread debugger on the planet. Designed 
> with thread debugging features you've never dreamed of, try 
> TotalView 6 free at www.etnus.com. 
> _______________________________________________
> Opensymphony-webwork mailing list 
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by:  Etnus, makers of 
> TotalView, The best thread debugger on the planet. Designed 
> with thread debugging features you've never dreamed of, try 
> TotalView 6 free at www.etnus.com. 
> _______________________________________________
> Opensymphony-webwork mailing list 
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> 


-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to