|
hi
thanks for these informations.i think i 'll
use Struts in standard way.
sebastien.
----- Original Message -----
Sent: Monday, May 09, 2011 10:04 PM
Subject: Re: Container validation
The Struts Validator
integration in the Add_ContainerEngine is very specific. We are making use of
the JahiaContentContainerFacade object, which is only available in this engine
context. Furthermore the Java beans are specific as they are getting the
values out of this facade, so you can't use beans, which derive from
ContainerValidatorBase, like exlained in the documentation.
However if you have your own form, you
could use Struts in a standard way.
Regards, Benjamin
Cédric Mailleux <[EMAIL PROTECTED]>
wrote on 28.11.2005 10:50:00:
> Hi Sebastien, > > The
validation framework is only called by the jahia engine, so if you >
directly use a form handler and want some valdiation you must look at >
the code in the Add_ContainerEngine.java source in the >
processCurrentScreen method under the save case. > >
Cheers, > > Cédric > > Sébastien Jaussaud
wrote: > > > Hi, > > i have a form handler which add
data in containerList. I woud know if > > struts validation work
with this, or if it is just for validation > > container when the
container is edited in jahia popup interface > > Thanks > >
seb > > >
>------------------------------------------------------------------------ >
> > >No virus found in this incoming message. > >Checked
by AVG Free Edition. > >Version: 7.1.362 / Virus Database:
267.13.8/184 - Release Date: 27/11/2005 > > >
> >
|