saveErrors

2005-05-13 Thread Zakaria KHABOT
hi all, in my action I put : errors.add("erreur",new ActionError("Le CINn Agent doit etre numérique: Mise à jour non réalisée")); saveErrors(request,errors); But the errors are not displayed in the JSP althought : log.info("la taille des erreurs est " + errors.size()); displays 2 erroes Thanks for

Servlet Exception

2004-09-28 Thread Zakaria kHABOT
Hi all, When I try to display a collection using Struts, I encountred this exception : (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V) Illegal target of jump or branch I am using Tomcat 4.0. Can Someone help me Thanks

Validator.xml

2004-05-25 Thread Zakaria khabot
Hi all, I am using Validator.xml to compare if the LIB in the formset is the same in my DataBase corresponding to a COD which is in an other field of the formset. In My Validation.xml : field[0] cod_grade fieldTest[0] COD_DEPT fieldValue[0] LIB_DEPT fieldTable[0] TAB_DEPT

Re: Help me on eclipse dejae_0_30.zip [36/53]

2004-04-29 Thread Zakaria khabot
a TB of data... > > -Ursprüngliche Nachricht- > Von: McCormack, Chris [mailto:[EMAIL PROTECTED] > Gesendet: Donnerstag, 29. April 2004 12:44 > An: Struts Users Mailing List > Betreff: RE: Help me on eclipse dejae_0_30.zip [36/53] > > > Anyone else getting spammed

Tiles

2004-04-21 Thread Zakaria khabot
Hi all, I am using Tiles in my Main page : The page "Navi.jsp" contains the following code : PB : When I click to the link the forwarded page is displayed lonly in the window What I want is to display the page in the "content" of tiles, and the 'Foot', 'Navi' must be d

forward

2004-04-15 Thread Zakaria khabot
Hi all, I have a tiles jsp named "main" containing : the SaisiPB.jsp is validated in the FormAction. When errors are detected, I receive a forward to SaisiPB.jsp (witch is the unique page displayed in the Window), not to Main.jsp. How to solve this problem. Thanks...

Validator

2004-04-14 Thread Zakaria khabot
Hi all, In my JSP I have many "Submit(s)" to the same action. In someones I want to use the validator but in the others I want to execute the action without using validator. I am using validation.xml How to do this??? Thanks

validation.xml

2004-04-07 Thread Zakaria khabot
objects, and save it to request so that it can be shown to > > the user. > > > > When you are putting the logic in the validate method there is no need > > to call it explicitly as you have done "form.validate(mapping, > > request);". It is autometically ge

Re: validation.xml

2004-04-07 Thread Zakaria khabot
ActionError and add it > ActionErrors objects, and save it to request so that it can be shown to > the user. > > When you are putting the logic in the validate method there is no need > to call it explicitly as you have done "form.validate(mapping, > request);". It is

validation.xml

2004-04-07 Thread Zakaria khabot
Hi all, How to call the validator from an Action. - in struts-config I put validate="false", - I am using validation.xml to control erors. - In the action I wrote : ActionErrors errors = new ActionErrors(); errors = form.validate(mapping, request); but it executes the validate method