Re: S2: input by method for validations

2007-11-06 Thread Fátima Silveira
the name of the XML must be like ClassName-actionAlias_methodName-validation.xml so you must rename your xml to Class-classAction_methodA-validation.xml Class-classAction_methodB-validation.xml On 11/6/07, Manuel Correa [EMAIL PROTECTED] wrote: I need to define a custom input for method in

Re: Annotation Validation, per method?

2007-11-05 Thread Fátima Silveira
i dont know to use anotation but with xml is ClassName-actionAlias_method- validation.xml On 11/5/07, Martin Gilday [EMAIL PROTECTED] wrote: Can you have annotation validation per method? I have put @Validations on both my display and update methods (display shows the record from input), but

Re: [S2] TabbedPanel

2007-10-31 Thread Fátima Silveira
Hello, I tried to use that tag also but i had no success... so i just used the syntax in dojo... as I was using ajax it may differ but the code that i've done is: div id=mainDiv % session=request.getSession(); String selectedTab=(String)session.getAttribute(selectedTab);

Re: struts 1.2: calling an action by javascript

2007-10-31 Thread Fátima Silveira
try this script language=javascript function submitForm(){ //do the verification you want to... form.submit(); } /script s:select onchange=submitForm() / On 10/31/07, Ingo Villnow [EMAIL PROTECTED] wrote: Hello, i want to call an action by javascript, when a value in a