This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Dec 22, 2016, 3:35 PM
9 Posts
topic has been resolvedResolved

disableValidators returning error

  • Category: Dojo and Client Side JavaScript
  • Platform: All
  • Release: 8.5.3
  • Role: Developer
  • Tags:
  • Replies: 1

Hello,

For some reason, whenever I add the property disableValidators, the page gives an error "HTTP Web Server: Command Not Handled Exception".

 

Doesn't matter if I put true or false, it always returns an error.

Here is my simple xpage.  The only time this will load is if I take out disableValidators="true"

<?xml version="1.0" encoding="UTF-8"?>
<xp:view xmlns:xp="http://www.ibm.com/xsp/core">

    <xp:this.data>
        <xp:dominoDocument var="document1" formName="profile"
            computeWithForm="onload">
        </xp:dominoDocument>
    </xp:this.data>

    <xp:inputText value="#{document1.FirstName}" id="FirstName1"
        required="true" disableClientSideValidation="false"
        disableValidators="true">
        <xp:this.validators>
            <xp:validateRequired message="Firstname required">
            </xp:validateRequired>
        </xp:this.validators>
    </xp:inputText>
</xp:view>

 

Hopefully someone can help me out.  

Thank you in advance.

Rony

Dec 22, 2016, 8:06 PM
9 Posts
Solution

By looking in the server logs, I was able to see that the error "HTTP Web Server: Command Not Handled Exception" was returning in the logs the following error

HTTP JVM: SEVERE: CLFAD####E: Exception thrown
HTTP JVM: SEVERE: CLFAD####E: Exception occurred servicing request for: /xx/xv.nsf/Category.xsp - HTTP Code: 500
HTTP Web Server: Command Not Handled Exception [/xx/xv.nsf/Category.xsp?action=newDocument]

The issue is that the server version is different than the designer version.  I'm using a more recent version which has feature that are not compatible on the server.

"The generated page version 8.5.2 is not compatible with the server version 8.5.1, for the page /Category.xsp."

More info on this can be seen here.

https://www-10.lotus.com/ldd/ddwiki.nsf/dx/XPagesPageVersions.htm

http://stackoverflow.com/questions/17318462/http-500-internal-server-error-when-executing-client-javascript-in-any-xpage

Solution is to upgrade the server to the same version as my designer.


This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal