Thanks Eric!

Now another question: Wich version of dbforms you are using?
Could you try the last CVS version? Have made some changes in the CVS...


Regards,
Henner

> -----Urspr�ngliche Nachricht-----
> Von: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Im 
> Auftrag von Hickam, Eric
> Gesendet: Montag, 10. M�rz 2003 22:13
> An: '[EMAIL PROTECTED]'
> Betreff: [dbforms] FW: [Jdbforms-developers] Question 
> concerning Validation an
> 
> 
> Sorry I should have included the code.  
> 
> This is what I added to my page:
> 
> <db:dbform tableName="COMMUNICATIONS_PARTNER"  maxRows="*" 
> followUp="/Validate.jsp" orderBy="NAME" autoUpdate="true" 
> formValidatorName="COMMUNICATIONS_PARTNER" 
> javascriptValidation="true"> <db:header>
>         <TR>
>           <TH height="23">Communications Partner Name</TH>
>           <TH>Short Name</TH>
>           <TH>May Be Picked</TH>
>         </TR>
>         
>         </db:header>
>       <db:body>
> <tr>
>       
>       <TD><db:textField size="28" fieldName="NAME"/></TD>
>       <TD><db:textField fieldName="SHORT_NAME"/></TD>
>             <TD VALIGN="TOP">
>               YES:<db:radio fieldName="MAY_BE_PICKED" 
> value="Y"/>NO:<db:radio fieldName="MAY_BE_PICKED" value="N" /></TD>
>         <td><db:updateButton caption="Update"/><db:deleteButton
> caption="delete"/></td></tr>
>         </db:body>
>               <db:footer>
>                       </table>
> </db:footer>
> </db:dbform>
> 
> 
> This is what the validation.xml file looks like 
> 
> <formset>
>       <form name="COMMUNICATIONS_PARTNER">
>               <field property="NAME" depends="required">
>               <msg name="required" key="errors.required" 
> resource="true"/>
>               <arg0 name="required" 
> key="dbform.NAME.displayname" resource="true"/>
>               </field>
>       </form>
> </formset>
> 
> This is what the top of my web.xml file looks like
> 
> 
> <web-app>
>       <!--=========== DbForms Configuration Servlet ===========-->
> 
>       <servlet>
>               <servlet-name>org.dbforms.ConfigServlet</servlet-name>
>               <servlet-class>org.dbforms.ConfigServlet</servlet-class>
>               
>               <init-param>
>                       <param-name>log4j.configuration</param-name>
>                       <param-value>log4j.properties</param-value>
>               </init-param>
>               <init-param>
>                       <param-name>resourceBundle</param-name>
>                       <param-value>ApplicationResources</param-value>
>               </init-param>
>               <init-param>
>                       <param-name>validation</param-name>
>                       
> <param-value>/WEB-INF/validation.xml</param-value>
>               </init-param>
>               <init-param>
>                       <param-name>validator-rules</param-name>
>       
> <param-value>/WEB-INF/validator-rules.xml</param-value>
>               </init-param>
>               
>       
> 
> 
> 
> -----Original Message-----
> From: Henner Kollmann [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 10, 2003 3:05 PM
> To: 'Hickam, Eric'
> Cc: jdbf
> Subject: AW: [Jdbforms-developers] Question concerning Validation an
> 
> 
> Would be great if you could send us your jsp code. Help with 
> only the result is difficult....
> 
> Would be better to send your support questions to 
> [EMAIL PROTECTED], the developers list 
> is for developer notes - something like CVS Updates and very 
> special internal developing details. You have a greater 
> change to get help with support questions in the 
> [EMAIL PROTECTED] list!!
> 
> Regards,
> Henner
> 
> > -----Urspr�ngliche Nachricht-----
> > Von: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Im 
> > Auftrag von Hickam, Eric
> > Gesendet: Montag, 10. M�rz 2003 21:23
> > An: '[EMAIL PROTECTED]'
> > Betreff: [Jdbforms-developers] Question concerning Validation an
> > 
> > 
> > This is the first time for me to use the DBforms validation.
> > I configured the Web.xml file, created a form page, and made 
> > an validation.xml file.  The client-side source code for my 
> > form pag appers like the follow:
> > 
> > 
> > 
> >       <td><input type="submit"  value="Update"
> > onClick="bValidateForm=true;bValidateUpdate=true;bValidateForm
> > =true;bValidat
> > eUpdate=true;bValidateForm=true;bValidateUpdate=true;bValidate
> > Form=true;bVal
> > idateUpdate=true;bValidateForm=true;bValidateUpdate=true;bVali
> > dateForm=true;
> > bValidateUpdate=true;bValidateForm=true;bValidateUpdate=true;b
> > ValidateForm=t
> > rue;bValidateUpdate=......................and so on
> > 
> > What am I doing wrong?
> > 
> > Thanks
> > 
> > Eric Hickam
> > Computer Specialist 325a
> > Austin Automation Center
> > Cell: 512-585-4319
> > Wk: 512-326-6485
> >  <<Hickam, Eric.vcf>>
> > 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> DbForms Mailing List
> 
http://www.wap-force.net/dbforms



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
DbForms Mailing List

http://www.wap-force.net/dbforms

Reply via email to