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

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

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