9 Replies Latest reply: Nov 14, 2008 4:58 AM by Ilya Shaikovsky RSS

Javascript error RichFaces is undefined

Dirk Mallon Newbie

hi!

Got an Javascripterror from a page with a dropdownMenu.

interesting is that the menu is included on this page with many scrollableDatatables and Tabs ...

The Menu is included on all other pages and produces no errors only on this page. If I take out all the other content it does not matter . the Error still appears.

Is this known?

I will answer tomorrow and give more details. Because there are more funny things happen on this side with 4 scrollableDataTable.

greets Dirk


use :

richfaces snapshot from last week.(But occures with 3.2.2,3.2.1,...)
Tomcat 6016

  • 1. Re: Javascript error RichFaces is undefined
    Ilya Shaikovsky Master

    avaiting for the details. code snippets will be usefull. Or if you'll be able to share war sample - it will great.

  • 2. Re: Javascript error RichFaces is undefined
    Dirk Mallon Newbie

    Hi Ilya!

    I 'll do posts for every file because they are great..


    and I don't know whats useful..

  • 3. Re: Javascript error RichFaces is undefined
    Dirk Mallon Newbie

    Mainpage:

    _____________________________________________________________

    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <%@ page language="java"%>

    <%-- JSP-TAG-LIBS --%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    <%-- JSF-TAG-LIBS --%>
    <%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
    <%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="/WEB-INF/txtdb08.tld" prefix="tx"%>

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">



    <f:view locale="#{_I18NBean.localeID}">
    <f:loadBundle basename="I18NResources" var="appl_text" />

    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
    <link rel="stylesheet" href="<c:url value="/style/css/txtdb.css"></c:url>" type="text/css">
    <link rel="SHORTCUT ICON" href="<c:url value="/style/image/favicon.ico"></c:url>">
    <script type="text/javascript" src="<c:url value="/js/txtdb_general.js"></c:url>">
    <h:outputText value="#{appl_text.detailsOf}" escape="false"></h:outputText>
     <h:outputText value="#{DTCDetails.actualDTC.dtcnummer}" escape="false"></h:outputText>





    <h:form onsubmit="showLoadInfo()" id="dtcdetailform" >

    <%@ include file="/app/general/DTCapphead_frac.jsp"%>
    <%@ include file="/app/general/DTCmenu_frac.jsp"%>






    &gt;<h:outputText value="#{appl_text.DetailsOfDTC}" escape="false"></h:outputText>
     <h:outputText value="#{DTCDetails.actualDTC.dtcnummer}" escape="false"></h:outputText>
    <h:commandLink style="background-color:#c2c2c2;color:#000000;position:relative;left:30px;" value="#{appl_text.dtcdetail_link_dtchistory}" action="showDTCHistory"></h:commandLink>

    <rich:tabPanel switchType="client" styleClass="rich-tabpanel"
    headerClass="rich-tab-header"
    headerSpacing="0px"
    activeTabClass="rich-tab-active"
    inactiveTabClass="rich-tab-inactive"
    selectedTab="#{_ActTab.activetabname}"
    id="DTCDETAIL" >
    <%--DTC stammdatentab --%>
    <%--////////////////////////////////////////////////////////////////////////////////////////////////// --%>
    <rich:tab labelWidth="200" id="dtcdatatab" name="dtcdatatab" label="#{DTCDetails.dtctab}" >
    <!-- bezeichnung obere Tabelle-->

    <h:outputLabel id="dtcdetail_bgz_label" value="#{appl_text.dtc_header_bgz}" styleClass="dctdb_dtcdetail_bgz_label"></h:outputLabel>
    <h:outputLabel id="dtcdetail_funktion_label" value="#{appl_text.dtc_header_function}" styleClass="dctdb_dtcdetail_funktion_label"></h:outputLabel>
    <h:outputLabel id="dtcdetail_dtchandling_label" value="#{appl_text.dtc_header_dtchandling}" styleClass="dctdb_dtcdetail_dtchandling_label"></h:outputLabel>
    <h:outputLabel id="dtcdetail_dtctype_label" value="#{appl_text.dtc_header_sound}" styleClass="dctdb_dtcdetail_dtctype_label"></h:outputLabel>
    <h:outputLabel id="dtcdetail_redisplaytime_label" value="#{appl_text.dtc_header_redisplaytime}" styleClass="dctdb_dtcdetail_redisplaytime_label"></h:outputLabel>


    <!-- werte obere tabelle-->

    <h:outputText id="dtcdetail_bgz_text" value="#{DTCDetails.bgztext}" styleClass="dctdb_dtcdetail_bgz_text" escape="false"></h:outputText>
    <h:outputText id="dtcdetail_funktion_text" value="#{DTCDetails.functiontext}" styleClass="dctdb_dtcdetail_funktion_text" escape="false"></h:outputText>
    <h:outputText id="dtcdetail_dtchandling_text" value="#{DTCDetails.dtchandling}" styleClass="dctdb_dtcdetail_dtchandling_text" escape="false"></h:outputText>
    <h:outputText id="dtcdetail_dtctype_text" value="#{DTCDetails.actualDTC.sound.dateiname}" styleClass="dctdb_dtcdetail_dtctype_text" escape="false"></h:outputText>
    <h:outputText id="dtcdetail_redisplaytime_text" value="#{DTCDetails.actualDTC.redisplaytime}" styleClass="dctdb_dtcdetail_redisplaytime_text" escape="false"></h:outputText>

    <%-- CCNFMIcombi viewtable --%>
    <h:outputLabel id="dtcdetail_ccnfmi_panel_label"
    value="#{appl_text.dtcdetail_label_ccnfmi}"
    styleClass="dctdb_dtcdetail_ccnfmi_label_dtctab">
    </h:outputLabel>
    <rich:scrollableDataTable value="#{_DTCEdit.ccnfmidata}"
    var="rowCF"
    id="ccnfmitable"
    rowClasses="dtc_overview_row_light,dtc_overview_row_dark"
    height="100px"
    width="1011px"
    styleClass="sdt-detail-ccnfmitable"
    selectedClass="dtc_overview_sel_row_neutral"
    rows="3">
    <rich:column id="ccnfmi_col" width="51">
    <f:facet name="header"><h:outputText value="CCN/SPN"/></f:facet>
    <h:outputText value="#{rowCF.ccn}" escape="false" />
    </rich:column>
    <rich:column id="ccnfmi_text_col" width="445">
    <f:facet name="header"><h:outputText value="CCN/SPN- Text"/></f:facet>
    <h:outputText value="#{rowCF.ccn_text}" />
    </rich:column>
    <rich:column id="fmi_col" width="50" >
    <f:facet name="header"><h:outputText value="FMI" /></f:facet>
    <h:outputText value="#{rowCF.fmi}" escape="false" />
    </rich:column>
    <rich:column id="fmi_text_col" width="445">
    <f:facet name="header"><h:outputText value="FMI- Text" /></f:facet>
    <h:outputText value="#{rowCF.fmi_text}" />
    </rich:column>

    </rich:scrollableDataTable>

    <h:outputLabel id="dtcdetail_occurency_panel_label_dtctab"
    value="#{appl_text.dtcdetail_label_occurency}"
    styleClass="dctdb_dtcdetail_occurency_label_dtctab" escape="false">
    </h:outputLabel>
    <rich:scrollableDataTable value="#{_DTCEdit.occurencydata}"
    var="row"
    id="occurencytable"
    rowClasses="dtc_overview_row_light,dtc_overview_row_dark"
    height="525px"
    width="1011px"
    styleClass="sdt-detail-occutable-dtctab"
    rows="10" >
    <rich:column id="occu_col_release" width="#{DTCOccurencyColumnWidthConstantsBean.freigabe_col_width}">
    <f:facet name="header"><h:outputText value="#{appl_text.dtc_header_release}" escape="false"/></f:facet>
    <h:outputText escape="false" value="#{row.freigabe}"/>
    </rich:column>
    <rich:column id="occu_col_atext" width="#{DTCOccurencyColumnWidthConstantsBean.alarmtext_col_width}" >
    <f:facet name="header"><h:outputText value="#{appl_text.dtc_header_alarmtext}" escape="false"/></f:facet>
    <h:outputText escape="false" value="#{row.alarmtext}"/>
    </rich:column>
    <rich:column width="#{DTCOccurencyColumnWidthConstantsBean.alarmtext_tic_col_width}" id="occu_col_atexttic">
    <f:facet name="header"><h:outputText value="#{appl_text.dtc_header_atextTIC}" escape="false"/></f:facet>
    <h:outputText escape="false" value="#{row.alarmtextTIC}"/>
    </rich:column>
    <rich:column width="#{DTCOccurencyColumnWidthConstantsBean.alarmtext_col_width}" id="occu_col_itext">
    <f:facet name="header"><h:outputText value="#{appl_text.dtc_header_infotext}" escape="false"/></f:facet>
    <h:outputText escape="false" value="#{row.infotext}"/>
    </rich:column>
    <rich:column width="#{DTCOccurencyColumnWidthConstantsBean.infotext_tic_col_width}" id="occu_col_itexttic">
    <f:facet name="header"><h:outputText value="#{appl_text.dtc_header_itextTIC}" escape="false"/></f:facet>
    <h:outputText escape="false" value="#{row.infotextTIC}"/>
    </rich:column>
    <rich:column width="#{DTCOccurencyColumnWidthConstantsBean.alarmtyp_col_width}" id="occu_col_atyp">
    <f:facet name="header"><h:outputText value="#{appl_text.dtc_header_alarmtyp}" escape="false"/></f:facet>
    <h:outputText escape="false" value="#{row.alarmtyp}"/>
    </rich:column>
    <rich:column width="#{DTCOccurencyColumnWidthConstantsBean.responsible_cebis_col_width}" id="occu_col_responsibleC">
    <f:facet name="header"><h:outputText value="#{appl_text.dtc_header_responsibleC}" escape="false"/></f:facet>
    <h:outputText escape="false" value="#{row.devname}"/>
    </rich:column>
    <rich:column width="#{DTCOccurencyColumnWidthConstantsBean.confirmedby_col_width}" id="occu_col_confirm">
    <f:facet name="header"><h:outputText value="#{appl_text.dtc_header_confirmedby}" escape="false"/></f:facet>
    <h:outputText escape="false" value="#{row.confirmedby}"/>
    </rich:column>
    <rich:column width="#{DTCOccurencyColumnWidthConstantsBean.aktivierungsdatum_col_width}" id="occu_col_activtime">
    <f:facet name="header"><h:outputText value="#{appl_text.dtc_header_activatedate}" escape="false"/></f:facet>
    <h:outputText escape="false" value="#{row.aktivierungsdatum}"/>
    </rich:column>
    <rich:column width="#{DTCOccurencyColumnWidthConstantsBean.prioritaet_col_width}" id="occu_col_prior">
    <f:facet name="header"><h:outputText value="#{appl_text.dtc_header_priority}" escape="false"/></f:facet>
    <h:outputText escape="false" value="#{row.prioritaet}"/>
    </rich:column>
    <rich:column width="#{DTCOccurencyColumnWidthConstantsBean.partnumber_col_width}" id="occu_col_pnum">
    <f:facet name="header"><h:outputText value="#{appl_text.dtc_header_partnumber}" escape="false"/></f:facet>
    <h:outputText escape="false" value="#{row.partnumber}"/>
    </rich:column>
    <rich:column width="#{DTCOccurencyColumnWidthConstantsBean.reaktionen_col_width}" id="occu_col_reakt">
    <f:facet name="header"><h:outputText value="#{appl_text.dtc_header_reactions}" escape="false"/></f:facet>
    <h:outputText escape="false" value="#{row.reaktionen}"/>
    </rich:column>
    <rich:column width="#{DTCOccurencyColumnWidthConstantsBean.tray_col_width}" id="occu_col_tray">
    <f:facet name="header"><h:outputText value="#{appl_text.dtc_header_tray}" escape="false"/></f:facet>
    <h:outputText escape="false" value="#{row.tray}"/>
    </rich:column>
    <rich:column width="#{DTCOccurencyColumnWidthConstantsBean.ecudefine_col_width}" id="occu_col_ecudefine">
    <f:facet name="header"><h:outputText value="#{appl_text.dtc_header_ecudefine}" escape="false"/></f:facet>
    <h:outputText escape="false" value="#{row.ecudefine}"/>
    </rich:column>

    </rich:scrollableDataTable>




    <h:commandLink action="#{_DTCEdit.goBackOW}" id="cancelButton1" onmouseup="showLoadInfo()">


    </h:commandLink>
    <tx:role right="dtc_editieren">
    <h:commandLink action="#{DTCDetails.editDTC}" id="editDTCButton" title="#{appl_text.general_edit}" onmouseup="showLoadInfo()">


    </h:commandLink>
    </tx:role>


    </rich:tab>
    <%--////////////////////////////////////////////////////////////////////////////////////////////////// --%>
    <%--CF-Kombinationentab --%>
    <%--////////////////////////////////////////////////////////////////////////////////////////////////// --%>
    <rich:tab labelWidth="200" id="dtcCFcombitab" name="dtcCFcombitab" label="#{DTCDetails.cftab}">

    <h:outputLabel id="dtcdetail_ccnfmi_panel_label_1"
    value="#{appl_text.dtcdetail_label_ccnfmi}"
    styleClass="dctdb_dtcdetail_ccnfmi_label"
    style="position:absolute;top: 0px; left:0px;">
    </h:outputLabel>
    <rich:scrollableDataTable value="#{_DTCEdit.ccnfmidata}"
    var="_row"
    id="ccnfmitable_cftab"
    rowClasses="dtc_overview_row_light,dtc_overview_row_dark"
    height="100px"
    width="1013px"
    styleClass="sdt-detail-ccnfmitable-cftab"
    rowKeyVar="rk"
    rows="#{_DTCEdit.ccnrows}"
    selectedClass="sdt-overview-darkselection">
    <rich:column width="#{DTCCCNFMIColumnWidthConstantsBean.ccn_col_width}" id="ccnfmi_col_cftab">
    <f:facet name="header"><h:outputText value="CCN/SPN" escape="false"/></f:facet>
    <h:outputText value="#{_row.ccn}" escape="false" />
    </rich:column>
    <rich:column width="444" id="ccnfmi_text_col_cftab">
    <f:facet name="header"><h:outputText value="CCN/SPN- Text" escape="false"/></f:facet>
    <h:outputText value="#{_row.ccn_text}" />
    </rich:column>
    <rich:column width="#{DTCCCNFMIColumnWidthConstantsBean.fmi_col_width}" id="fmi_col_cftab">
    <f:facet name="header"><h:outputText value="FMI" escape="false"/></f:facet>
    <h:outputText value="#{_row.fmi}" escape="false" />
    </rich:column>
    <rich:column width="444" id="fmi_text_col_cftab">
    <f:facet name="header"><h:outputText value="FMI- Text" escape="false"/></f:facet>
    <h:outputText value="#{_row.fmi_text}" />
    </rich:column>
    <a4j:support actionListener="#{_DTCEdit.selectedCCNFMIRowChanged}"
    event="onselectionchange"
    eventsQueue="REQ_QUEUE_CCNFMI"
    requestDelay="150"/>
    </rich:scrollableDataTable>




    <h:commandLink action="#{_DTCEdit.goBackOW}" id="cancelButton" onmouseup="showLoadInfo()">


    </h:commandLink>
    <tx:role right="CCNFMIcombi_loeschen">
    <h:commandLink action="#{_DTCEdit.removeCCNFMICombi}" title="#{appl_text.general_remove}" onmouseup="showLoadInfo()">

    </h:commandLink>
    </tx:role>
    <tx:role right="CCNFMIcombi_erstellen">
    <h:commandLink action="#{_DTCEdit.createCCNFMICombi}" title="#{appl_text.general_create}" onmouseup="showLoadInfo()">

    </h:commandLink>
    </tx:role>


    </rich:tab>
    <%--////////////////////////////////////////////////////////////////////////////////////////////////// --%>
    <%--Auspraegungentab --%>
    <%--////////////////////////////////////////////////////////////////////////////////////////////////// --%>
    <rich:tab labelWidth="200" id="dtcoccutab" name="dtcoccutab" label="#{DTCDetails.occutab}">
    <h:outputLabel id="dtcdetail_occurency_panel_label_occutab"
    value="#{appl_text.dtcdetail_label_occurency}"
    styleClass="dctdb_dtcdetail_ccnfmi_label"
    style="position:absolute;top: 0px; left:0px;"
    escape="false">
    </h:outputLabel>
    <rich:scrollableDataTable value="#{_DTCEdit.occurencydata}"
    var="row2"
    id="occurencytable_occutab"
    rowClasses="dtc_overview_row_light,dtc_overview_row_dark"
    height="160px"
    width="1013px"
    styleClass="sdt-detail-occutable"
    rowKeyVar="rkv"
    rows="#{_DTCEdit.occurows}"
    hideWhenScrolling="true"
    selectedClass="sdt-overview-darkselection">
    <rich:column width="#{DTCOccurencyColumnWidthConstantsBean.freigabe_col_width}" id="occu_col_release_occutab">
    <f:facet name="header"><h:outputText value="#{appl_text.dtc_header_release}" escape="false"/></f:facet>
    <h:outputText escape="false" value="#{row2.freigabe}"/>
    </rich:column>
    <rich:column width="50" style="text-align:center;" id="occu_col_atyp_occutab">
    <f:facet name="header"><h:outputText value="#{appl_text.dtc_header_alarmtyp}" escape="false"/></f:facet>
    <h:outputText escape="false" value="#{row2.alarmtyp}"/>
    </rich:column>
    <rich:column width="#{DTCOccurencyColumnWidthConstantsBean.alarmtext_tic_col_width}" id="occu_col_atexttic_occutab">
    <f:facet name="header"><h:outputText value="#{appl_text.dtc_header_atextTIC}" escape="false"/></f:facet>
    <h:outputText escape="false" value="#{row2.alarmtextTIC}"/>
    </rich:column>
    <rich:column width="#{DTCOccurencyColumnWidthConstantsBean.infotext_tic_col_width}" id="occu_col_itexttic_occutab">
    <f:facet name="header"><h:outputText value="#{appl_text.dtc_header_itextTIC}" escape="false"/></f:facet>
    <h:outputText escape="false" value="#{row2.infotextTIC}"/>
    </rich:column>
    <rich:column width="#{DTCOccurencyColumnWidthConstantsBean.confirmedby_col_width}" id="occu_col_confirm_occutab">
    <f:facet name="header"><h:outputText value="#{appl_text.dtc_header_confirmedby}" escape="false"/></f:facet>
    <h:outputText escape="false" value="#{row2.confirmedby}"/>
    </rich:column>
    <rich:column width="#{DTCOccurencyColumnWidthConstantsBean.aktivierungsdatum_col_width}" id="occu_col_activtime_occutab">
    <f:facet name="header"><h:outputText value="#{appl_text.dtc_header_activatedate}" escape="false"/></f:facet>
    <h:outputText escape="false" value="#{row2.aktivierungsdatum}"/>
    </rich:column>
    <rich:column width="#{DTCOccurencyColumnWidthConstantsBean.prioritaet_col_width}" id="occu_col_prior_occutab">
    <f:facet name="header"><h:outputText value="#{appl_text.dtc_header_priority}" escape="false"/></f:facet>
    <h:outputText escape="false" value="#{row2.prioritaet}"/>
    </rich:column>
    <rich:column width="#{DTCOccurencyColumnWidthConstantsBean.partnumber_col_width}" id="occu_col_pnum_occutab">
    <f:facet name="header"><h:outputText value="#{appl_text.dtc_header_partnumber}" escape="false"/></f:facet>
    <h:outputText escape="false" value="#{row2.partnumber}"/>
    </rich:column>
    <rich:column width="#{DTCOccurencyColumnWidthConstantsBean.tray_col_width}" id="occu_col_tray_occutab">
    <f:facet name="header"><h:outputText value="#{appl_text.dtc_header_tray}" escape="false"/></f:facet>
    <h:outputText escape="false" value="#{row2.tray}"/>
    </rich:column>
    <rich:column width="#{DTCOccurencyColumnWidthConstantsBean.reaktionen_col_width}" id="occu_col_reakt_occutab">
    <f:facet name="header"><h:outputText value="#{appl_text.dtc_header_reactions}" escape="false"/></f:facet>
    <h:outputText escape="false" value="#{row2.reaktionen}"/>
    </rich:column>
    <rich:column width="#{DTCOccurencyColumnWidthConstantsBean.responsible_cebis_col_width}" id="occu_col_responsibleC_occutab">
    <f:facet name="header"><h:outputText value="#{appl_text.dtc_header_responsibleC}" escape="false"/></f:facet>
    <h:outputText escape="false" value="#{row2.devname}"/>
    </rich:column>
    <rich:column width="#{DTCOccurencyColumnWidthConstantsBean.ecudefine_col_width}" id="occu_col_ecudefine_occutab">
    <f:facet name="header"><h:outputText value="#{appl_text.dtc_header_ecudefine}" escape="false"/></f:facet>
    <h:outputText escape="false" value="#{row2.ecudefine}"/>
    </rich:column>
    <a4j:support actionListener="#{_DTCEdit.selectedOccurencyRowChanged}"
    event="onselectionchange"
    reRender=" dtcdetail_alarmtyp_text_occutab,
    dtcdetail_maschine_text_occutab,
    dtcdetail_ecu_text_occutab,
    dtcdetail_confirmedby_text_occutab,
    dtcdetail_tray_text_occutab,
    dtcoccudetail_alarm_text_occutab,
    dtcoccudetail_alarmtic_text_occutab,
    dtcoccudetail_info_text_occutab,
    dtcoccudetail_infotic_text_occutab,
    dtcoccudetail_reaktion_text_occutab,
    dtcoccudetail_feedback_text_occutab"
    id="a4jsupportdtcoccurencytable_occutab"
    requestDelay="150"
    eventsQueue="REQ_QUEUE_DTCA" />
    </rich:scrollableDataTable>

    <%-- details --%>
    <h:outputLabel id="dtcdetail_alarmtyp_label_occutab" value="#{appl_text.dtc_header_alarmtyp}" styleClass="dctdb_dtcdetail_alarmtyp_label_occutab"></h:outputLabel>
    <h:outputLabel id="dtcdetail_maschine_label_occutab" value="#{appl_text.general_name_modell}" styleClass="dctdb_dtcdetail_maschine_label_occutab"></h:outputLabel>
    <h:outputLabel id="dtcdetail_ecu_label_occutab" value="#{appl_text.dtc_header_ecuname}" styleClass="dctdb_dtcdetail_ecu_label_occutab"></h:outputLabel>
    <h:outputLabel id="dtcdetail_confirmedby_label_occutab" value="#{appl_text.dtc_header_confirmedby}" styleClass="dctdb_dtcdetail_confirmedby_label_occutab"></h:outputLabel>
    <h:outputLabel id="dtcdetail_tray_label_occutab" value="#{appl_text.dtc_header_tray}" styleClass="dctdb_dtcdetail_tray_label_occutab"></h:outputLabel>

    <h:outputText id="dtcdetail_alarmtyp_text_occutab" value="#{_DTCEdit.selectedOccurency.alarmtyp}" styleClass="dctdb_dtcdetail_alarmtyp_text_occutab" escape="false"></h:outputText>
    <h:outputText id="dtcdetail_maschine_text_occutab" value="#{_DTCEdit.selectedOccurency.maschine}" styleClass="dctdb_dtcdetail_maschine_text_occutab" escape="false"></h:outputText>
    <h:outputText id="dtcdetail_ecu_text_occutab" value="#{_DTCEdit.selectedOccurency.ecuname}" styleClass="dctdb_dtcdetail_ecu_text_occutab" escape="false"></h:outputText>
    <h:outputText id="dtcdetail_confirmedby_text_occutab" value="#{_DTCEdit.selectedOccurency.confirmedby}" styleClass="dctdb_dtcdetail_confirmedby_text_occutab" escape="false"></h:outputText>
    <h:outputText id="dtcdetail_tray_text_occutab" value="#{_DTCEdit.selectedOccurency.tray}" styleClass="dctdb_dtcdetail_tray_text_occutab" escape="false"></h:outputText>


    <h:outputLabel id="dtcoccudetail_alarm_label_occutab" value="#{appl_text.dtc_header_alarmtext}" styleClass="dctdb_dtcoccudetail_alarm_label_occutab"></h:outputLabel>
    <h:outputLabel id="dtcoccudetail_alarmtic_label_occutab" value="#{appl_text.dtc_header_atextTIC}" styleClass="dctdb_dtcoccudetail_alarmtic_label_occutab"></h:outputLabel>
    <h:outputLabel id="dtcoccudetail_info_label_occutab" value="#{appl_text.dtc_header_infotext}" styleClass="dctdb_dtcoccudetail_info_label_occutab"></h:outputLabel>
    <h:outputLabel id="dtcoccudetail_infotic_label_occutab" value="#{appl_text.dtc_header_itextTIC}" styleClass="dctdb_dtcoccudetail_infotic_label_occutab"></h:outputLabel>
    <h:outputLabel id="dtcoccudetail_reaktion_label_occutab" binding="#{DTCDetails.reaklabel}" value="#{appl_text.dtc_header_reactions}" styleClass="dctdb_dtcoccudetail_reaktion_label_occutab"></h:outputLabel>
    <h:outputLabel id="dtcoccudetail_feedback_label_occutab" value="#{appl_text.dtc_header_feedback}" styleClass="dctdb_dtcoccudetail_feedback_label_occutab"></h:outputLabel>

    <h:outputText id="dtcoccudetail_alarm_text_occutab" value="#{_DTCEdit.selectedOccurency.alarmtext}" styleClass="dctdb_dtcoccudetail_alarm_text_occutab" escape="false"></h:outputText>
    <h:outputText id="dtcoccudetail_alarmtic_text_occutab" value="#{_DTCEdit.selectedOccurency.alarmtextTIC}" styleClass="dctdb_dtcoccudetail_alarmtic_text_occutab" escape="false"></h:outputText>
    <h:outputText id="dtcoccudetail_info_text_occutab" value="#{_DTCEdit.selectedOccurency.infotext}" styleClass="dctdb_dtcoccudetail_info_text_occutab" escape="false"></h:outputText>
    <h:outputText id="dtcoccudetail_infotic_text_occutab" value="#{_DTCEdit.selectedOccurency.infotextTIC}" styleClass="dctdb_dtcoccudetail_infotic_text_occutab" escape="false"></h:outputText>
    <h:outputText id="dtcoccudetail_reaktion_text_occutab" value="#{_DTCEdit.selectedOccurency.reaktionen}" styleClass="dctdb_dtcoccudetail_reaktion_text_occutab" escape="false"></h:outputText>
    <h:outputText id="dtcoccudetail_feedback_text_occutab" value="#{_DTCEdit.selectedOccurency.feedback}" styleClass="dctdb_dtcoccudetail_feedback_text_occutab" escape="false"></h:outputText>







    <h:commandLink action="#{_DTCEdit.goBackOW}" id="cancelButton2" onmouseup="showLoadInfo()">


    </h:commandLink>
    <tx:role right="occu_editieren">
    <h:commandLink action="#{_DTCEdit.editOccu}" id="editOccurencyButton" onmouseup="showLoadInfo()">


    </h:commandLink>
    </tx:role>
    <tx:role right="occu_loeschen">
    <h:commandLink action="#{_DTCEdit.deleteOccu}" id="deleteOccurencyButton" onmouseup="showLoadInfo()">


    </h:commandLink>
    </tx:role>
    <tx:role right="occu_erstellen">
    <h:commandLink action="#{_DTCEdit.createOccu}" id="addOccurencyButton" onmouseup="showLoadInfo()">


    </h:commandLink>
    </tx:role>


    </rich:tab>
    <%--////////////////////////////////////////////////////////////////////////////////////////////////// --%>

    </rich:tabPanel>
    -->
    </h:form>

    </f:view>

  • 4. Re: Javascript error RichFaces is undefined
    Dirk Mallon Newbie

    included page -><%@ include file="/app/general/DTCapphead_frac.jsp"%>

    _______________________________________________________________
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>

    <%-- JSF-TAG-LIBS --%>
    <%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
    <%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="/WEB-INF/txtdb08.tld" prefix="tx"%>



    &gt;<h:outputText value="#{appl_text.function}"></h:outputText>





    <tx:role right="dtc_suchen">
    <rich:dropDownMenu onitemselect="showLoadInfo();" value="#{_DTCMenu.ddmsearchvalue}" direction="bottom-right" showDelay="50" event="onclick" jointPoint="bl" id="III_ddm" hideDelay="500" horizontalOffset="17" verticalOffset="-1">
    <rich:menuItem value="DTC" id="III_ddm_I_mi" action="doDTCSearch" actionListener="#{_DTCMenu.checkLockAction}"/>
    <!--<rich:menuItem value="#{_DTCMenu.ddmdetailedvalue}" id="III_ddm_II_mi"/>-->
    </rich:dropDownMenu>
    </tx:role>

    <rich:dropDownMenu onitemselect="showLoadInfo();" value='#{_DTCMenu.ddmcreatevalue}' showDelay="50" event="onclick" direction="bottom-right" jointPoint="bl" id="I_ddm" hideDelay="500" horizontalOffset="17" verticalOffset="-1">
    <tx:role right="dtc_erstellen">
    <rich:menuItem value="DTC" id="I_ddm_I_mi" action="doDTCCreate" actionListener="#{_DTCMenu.resetDTCCreateBean}" ></rich:menuItem>
    </tx:role>
    <tx:role right="fmi_erstellen">
    <rich:menuItem value="FMI" id="I_ddm_II_mi" action="doFMICreate" actionListener="#{_DTCMenu.resetFMICreateBean}"/>
    </tx:role>
    <tx:role right="ccn_erstellen">
    <rich:menuItem value="CCN/SPN" id="I_ddm_III_mi" action="doCCNCreate" actionListener="#{_DTCMenu.resetCCNCreateBean}"/>
    </tx:role>
    <tx:role right="ecu_erstellen">
    <rich:menuItem value="ECU" id="I_ddm_IV_mi" action="doECUCreate" actionListener="#{_DTCMenu.resetECUCreateBean}"/>
    </tx:role>
    <tx:role right="alarm_erstellen">
    <rich:menuItem value="Alarm" id="I_ddm_V_mi" action="doAlarmCreate" actionListener="#{_DTCMenu.resetAlarmCreateBean}"/>
    </tx:role>
    <tx:role right="maschine_erstellen">
    <rich:menuItem value="#{appl_text.dtc_header_mgroup}" id="I_ddm_VI_mi" action="doMachineCreate" actionListener="#{_DTCMenu.resetMachineCreateBean}"/>
    </tx:role>
    <tx:role right="maschinenfamilie_erstellen">
    <rich:menuItem value="#{appl_text.general_name_machinefamily}" id="I_ddm_VII_mi" action="doMachinefamilyCreate" actionListener="#{_DTCMenu.resetMachinefamilyCreateBean}" />
    </tx:role>
    <tx:role right="bgz_erstellen">
    <rich:menuItem value="BGZ" id="I_ddm_VIII_mi" action="doBGZCreate" actionListener="#{_DTCMenu.resetBGZCreateBean}"/>
    </tx:role>
    <tx:role right="rolle_erstellen">
    <rich:menuItem value="#{appl_text.general_name_role}" id="I_ddm_IX_mi" action="doRoleCreate" actionListener="#{_DTCMenu.resetRoleCreateBean}" />
    </tx:role>
    <tx:role right="funktion_erstellen">
    <rich:menuItem value="#{appl_text.dtc_header_function}" id="I_ddm_X_mi" action="doFunctionCreate" actionListener="#{_DTCMenu.resetFunctionCreateBean}"/>
    </tx:role>
    <tx:role right="hersteller_erstellen">
    <rich:menuItem value="#{appl_text.general_name_hersteller}" id="I_ddm_XI_mi" action="doHerstellerCreate" actionListener="#{_DTCMenu.resetHerstellerCreateBean}"/>
    </tx:role>
    <tx:role right="benutzergruppe_erstellen">
    <rich:menuItem value="#{appl_text.general_name_bgroup}" id="I_ddm_XII_mi" action="doBgroupCreate" actionListener="#{_DTCMenu.resetBenutzergruppeCreateBean}"/>
    </tx:role>
    <%--
    <tx:role right="symbol_erstellen">
    <rich:menuItem value="#{appl_text.general_name_symbol}" id="I_ddm_XI_mi" action="doSymbolCreate" actionListener="#{_DTCMenu.resetSymbolCreateBean}"/>
    </tx:role>
    <tx:role right="sound_erstellen">
    <rich:menuItem value="#{appl_text.dtc_header_sound}" id="I_ddm_XII_mi" action="doSoundCreate" actionListener="#{_DTCMenu.resetSoundCreateBean}" />
    </tx:role> --%>

    </rich:dropDownMenu>



    <rich:dropDownMenu onitemselect="showLoadInfo();" value="#{_DTCMenu.ddmeditvalue}" direction="bottom-right" showDelay="50" event="onclick" jointPoint="bl" id="VI_ddm" hideDelay="500" horizontalOffset="17" verticalOffset="-1">
    <tx:role right="ecu_editieren">
    <rich:menuItem value="ECU" action="doECUEdit" actionListener="#{_DTCMenu.checkLockAction}" id="VI_ddm_I_mi"/>
    </tx:role>
    <tx:role right="alarm_editieren">
    <rich:menuItem value="#{appl_text.general_name_alarm}" id="VI_ddm_II_mi" action="doAlarmEdit" actionListener="#{_DTCMenu.resetAlarmEditBean}"/>
    </tx:role>
    <tx:role right="maschine_editieren">
    <rich:menuItem value="#{appl_text.general_name_modell}" id="VI_ddm_III_mi" action="doMachineEdit" actionListener="#{_DTCMenu.resetMachineEditBean}"/>
    </tx:role>
    <tx:role right="bgz_editieren">
    <rich:menuItem value="BGZ" id="VI_ddm_IV_mi" action="doBGZEdit" actionListener="#{_DTCMenu.resetBGZEditBean}"/>
    </tx:role>
    <tx:role right="rolle_editieren">
    <rich:menuItem value="#{appl_text.general_name_role}" id="VI_ddm_V_mi" action="doRoleEdit" actionListener="#{_DTCMenu.resetRoleEditBean}"/>
    </tx:role>
    <tx:role right="funktion_editieren">
    <rich:menuItem value="#{appl_text.dtc_header_function}" id="VI_ddm_VI_mi" action="doFunctionEdit" actionListener="#{_DTCMenu.resetFunctionEditBean}"/>
    </tx:role>
    <tx:role right="benutzergruppe_editieren">
    <rich:menuItem value="#{appl_text.general_name_bgroup}" id="VI_ddm_VII_mi" action="doBgroupEdit" actionListener="#{_DTCMenu.resetBenutzergruppeEditBean}"/>
    </tx:role>
    <%--
    <tx:role right="symbol_editieren">
    <rich:menuItem value="#{appl_text.general_name_symbol}" id="VI_ddm_VII_mi" action="doSymbolEdit" actionListener="#{_DTCMenu.resetSymbolEditBean}"/>
    </tx:role>
    <tx:role right="sound_editieren">
    <rich:menuItem value="#{appl_text.dtc_header_sound}" id="VI_ddm_VIII_mi" action="doSoundEdit" actionListener="#{_DTCMenu.resetSoundEditBean}"/>
    </tx:role> --%>
    </rich:dropDownMenu>



    <rich:dropDownMenu onitemselect="showLoadInfo();" value="#{_DTCMenu.ddmdeletevalue}" direction="bottom-right" showDelay="50" event="onclick" jointPoint="bl" id="II_ddm" hideDelay="500" horizontalOffset="17" verticalOffset="-1">
    <tx:role right="dtc_loeschen">
    <rich:menuItem value="DTC" id="II_ddm_XII_mi" action="#{_DTCMenu.checkDTCPresent}"/>
    </tx:role>
    <tx:role right="fmi_loeschen">
    <rich:menuItem value="FMI" id="II_ddm_I_mi" action="doFMIDelete" actionListener="#{_DTCMenu.checkLockAction}"/>
    </tx:role>
    <tx:role right="ccn_loeschen">
    <rich:menuItem value="CCN/SPN" id="II_ddm_II_mi" action="doCCNDelete" actionListener="#{_DTCMenu.checkLockAction}"/>
    </tx:role>
    <tx:role right="ecu_loeschen">
    <rich:menuItem value="ECU" id="II_ddm_III_mi" action="doECUDelete" actionListener="#{_DTCMenu.checkLockAction}"/>
    </tx:role>
    <tx:role right="alarm_loeschen">
    <rich:menuItem value="Alarm" id="II_ddm_IV_mi" action="doAlarmDelete" actionListener="#{_DTCMenu.checkLockAction}"/>
    </tx:role>
    <tx:role right="maschine_loeschen">
    <rich:menuItem value="#{appl_text.dtc_header_mgroup}" id="II_ddm_V_mi" action="doMachineDelete" actionListener="#{_DTCMenu.checkLockAction}"/>
    </tx:role>
    <tx:role right="maschinenfamilie_loeschen">
    <rich:menuItem value="#{appl_text.general_name_machinefamily}" id="II_ddm_VI_mi" action="doMachinefamilyDelete" actionListener="#{_DTCMenu.checkLockAction}"/>
    </tx:role>
    <tx:role right="bgz_loeschen">
    <rich:menuItem value="BGZ" id="II_ddm_VII_mi" action="doBGZDelete" actionListener="#{_DTCMenu.checkLockAction}"/>
    </tx:role>
    <tx:role right="rolle_loeschen">
    <rich:menuItem value="#{appl_text.general_name_role}" id="II_ddm_VIII_mi" action="doRoleDelete" actionListener="#{_DTCMenu.checkLockAction}"/>
    </tx:role>
    <tx:role right="funktion_loeschen">
    <rich:menuItem value="#{appl_text.dtc_header_function}" id="II_ddm_IX_mi" action="doFunctionDelete" actionListener="#{_DTCMenu.checkLockAction}"/>
    </tx:role>
    <tx:role right="benutzergruppe_loeschen">
    <rich:menuItem value="#{appl_text.general_name_bgroup}" id="II_ddm_X_mi" action="doBgroupDelete" actionListener="#{_DTCMenu.checkLockAction}"/>
    </tx:role>
    <tx:role right="hersteller_loeschen">
    <rich:menuItem value="#{appl_text.general_name_hersteller}" id="II_ddm_XI_mi" action="doHerstellerDelete" actionListener="#{_DTCMenu.checkLockAction}"/>
    </tx:role>
    <%--
    <tx:role right="symbol_loeschen">
    <rich:menuItem value="#{appl_text.general_name_symbol}" id="II_ddm_X_mi" action="doSymbolDelete" actionListener="#{_DTCMenu.checkLockAction}"/>
    </tx:role>
    <tx:role right="sound_loeschen">
    <rich:menuItem value="#{appl_text.dtc_header_sound}" id="II_ddm_XI_mi" action="doSoundDelete" actionListener="#{_DTCMenu.checkLockAction}"/>
    </tx:role> --%>
    </rich:dropDownMenu>





    <rich:dropDownMenu onitemselect="showLoadInfo();" value="Export" direction="bottom-right" showDelay="50" event="onclick" jointPoint="bl" id="IV_ddm" hideDelay="500" horizontalOffset="17" verticalOffset="-1">
    <tx:role right="export_candela">
    <rich:menuItem value="Candela" id="IV_ddm_I_mi" action="doExportCandela" actionListener="#{_DTCMenu.resetEXCandelaBean}"/>
    </tx:role>

    <tx:role right="export_alarms">
    <rich:menuItem value="CEBIS Alarm(XML)" id="IV_ddm_II_mi" action="doExportAlarmXML" actionListener="#{_DTCMenu.resetEXAlarmBean}"/>
    </tx:role>
    <tx:role right="export_cds">
    <rich:menuItem value="CDS" id="IV_ddm_III_mi" action="doExportCDS" actionListener="#{_DTCMenu.resetEXCDSBean}"/>
    </tx:role>
    <tx:role right="export_trans_dtc">
    <rich:menuItem value="#{_DTCMenu.ddmtransDTCvalue}" id="IV_ddm_IV_mi" action="doExportTranslationsDTC" actionListener="#{_DTCMenu.resetEXTranslationsDTCBean}"/>
    </tx:role>
    <tx:role right="export_trans_cebis">
    <rich:menuItem value="#{_DTCMenu.ddmtransCEBISvalue}" id="IV_ddm_V_mi" action="doExportTranslationsCEBIS" actionListener="#{_DTCMenu.resetEXTranslationsCEBISBean}"/>
    </tx:role>
    </rich:dropDownMenu>



    <rich:dropDownMenu onitemselect="showLoadInfo();" value="Import" direction="bottom-right" showDelay="50" event="onclick" jointPoint="bl" id="V_ddm" hideDelay="200" horizontalOffset="17" verticalOffset="-1">
    <tx:role right="import_trans">
    <rich:menuItem value="#{_DTCMenu.ddmtransvalue}" id="V_ddm_I_mi" action="doImportTranslations" actionListener="#{_DTCMenu.resetIMTranslationsBean}"/>
    </tx:role>
    </rich:dropDownMenu>


    <%--
    <rich:dropDownMenu onitemselect="showLoadInfo();" value="tests" direction="bottom-right" showDelay="50" event="onclick" jointPoint="bl" id="test_ddm" hideDelay="200" horizontalOffset="17" verticalOffset="-1">
    <rich:menuItem value="testtabs" id="test_ddm_I_mi" action="doTestTabs"/>
    </rich:dropDownMenu>

    --%>


  • 5. Re: Javascript error RichFaces is undefined
    Dirk Mallon Newbie

    Hi Ilya!
    The last post is the code for <%@ include file="/app/general/DTCmenu_frac.jsp"%>

    not the code for <%@ include file="/app/general/DTCapphead_frac.jsp"%>
    as mentioned in the firstline.

    code for <%@ include file="/app/general/DTCapphead_frac.jsp"%> follows next post..

  • 6. Re: Javascript error RichFaces is undefined
    Dirk Mallon Newbie

    included page-><%@ include file="/app/general/DTCapphead_frac.jsp"%>

    _______________________________________________________________
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>

    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    <%-- JSF-TAG-LIBS --%>
    <%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
    <%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>



    keyerrortext='<h:outputText value="#{_Messages.general_nokeys}" escape="false"></h:outputText>';
    function useNoKeys(e) {
    if(navigator.appName.indexOf("Explorer") != -1) {//Browserunterschiede ausgleichen
    e = window.event;
    }

    // Tastencode abfangen
    var tastencode = 0;
    if (e.which) {
    tastencode = e.which;
    } else if (e.keyCode) {
    tastencode = e.keyCode;
    }
    //alert(tastencode);
    if(tastencode==13){
    showAlertScreen(keyerrortext);
    if (e.which) {
    e.which=123;
    } else if (e.keyCode) {
    e.keyCode=123;
    }
    return false;
    }
    }
    document.onkeypress=useNoKeys;









    <h:outputText value="#{appl_text.appl_name}" escape="false"></h:outputText>











    <h:commandButton image="/style/image/ExitAction.gif"
    action="#{LogoutBean.doLogout}"
    immediate="true"
    alt="#{appl_text.logout}" style="height: 16px;width : 30px;">
    </h:commandButton>






    <h:outputText value="#{_userObj.username}" escape="false"></h:outputText>
    <h:outputText value="/ " escape="false"></h:outputText>
    <h:outputText value="#{_userObj.rollen}" escape="false"></h:outputText>


    <rich:messages ajaxRendered="true" globalOnly="true" id="messagePanel" binding="#{_Messages.messagepanel}" ></rich:messages>


    <a4j:status onstart="showLoadInfo()"
    onstop= "hideLoadInfo()"
    id="status_for_ajax" />









    <h:outputText id="EXCL_message_alert" value="...!.."></h:outputText>





    <h:outputText value="#{appl_text.general_goon}" escape="false"></h:outputText>







    <h:outputText id="EXCL_message_confirm" value="...!.."></h:outputText>





    <h:outputText value="#{appl_text.general_goon}" escape="false"></h:outputText>


    <h:outputText value="#{appl_text.general_cancel}" escape="false"></h:outputText>







  • 7. Re: Javascript error RichFaces is undefined
    Dirk Mallon Newbie

    web.xml

    _______________________________________________________________
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns="http://java.sun.com/xml/ns/javaee"
    xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
    id="WebApp_ID" version="2.5">
    <display-name>TXTDBpresentation</display-name>
    <welcome-file-list>

    <welcome-file>index.jsp</welcome-file>

    </welcome-file-list>

    <!-- errors umleiten zur Errorpage-->
    <!-- <error-page>-->
    <!-- <error-code>404</error-code>-->
    <!-- /app/general/fail.jsp-->
    <!-- </error-page>-->
    <!-- <error-page>-->
    <!-- <error-code>408</error-code>-->
    <!-- /app/general/fail.jsp-->
    <!-- </error-page>-->
    <!-- <error-page>-->
    <!-- <error-code>400</error-code>-->
    <!-- /app/general/fail.jsp-->
    <!-- </error-page>-->
    <error-page>
    <error-code>500</error-code>
    /app/general/fail500.jsp
    </error-page>
    <!-- sessionTimeout-->
    <session-config>
    <session-timeout>45</session-timeout><!-- minutes-->
    </session-config>
    <!-- securityfilter-->
    <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>server</param-value>
    </context-param>
    <context-param>
    <param-name>javax.faces.application.CONFIG_FILES</param-name>
    <param-value>/WEB-INF/faces-config.xml</param-value>
    </context-param>
    <context-param>
    <param-name>com.sun.faces.validateXml</param-name>
    <param-value>true</param-value>
    </context-param>


    <filter-name>hibernateFilter</filter-name>
    <filter-class>
    com.claas.txtdb.web.HibernateSessionCloseFilter
    </filter-class>


    <display-name>AjaxFilter</display-name>
    <filter-name>ajax4jsfFilter</filter-name>
    <filter-class>org.ajax4jsf.Filter</filter-class>
    <init-param>
    <param-name>createTempFiles</param-name>
    <param-value>false</param-value>
    </init-param>
    <init-param>
    <param-name>maxRequestSize</param-name>
    <param-value>200000000</param-value>
    </init-param>


    <filter-name>loginFilter</filter-name>
    <filter-class>com.claas.txtdb.web.LoginFilter</filter-class>


    <filter-name>userSessionFilter</filter-name>
    <filter-class>
    com.claas.txtdb.web.UserSessionFilter
    </filter-class>



    <filter-mapping>
    <filter-name>hibernateFilter</filter-name>
    <url-pattern>/*</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>ajax4jsfFilter</filter-name>
    <servlet-name>Faces Servlet</servlet-name>
    REQUEST
    FORWARD
    INCLUDE
    </filter-mapping>
    <filter-mapping>
    <filter-name>loginFilter</filter-name>
    <url-pattern>/app/*</url-pattern>
    </filter-mapping>

    <filter-mapping>
    <filter-name>userSessionFilter</filter-name>
    <url-pattern>/*</url-pattern>
    </filter-mapping>


    <listener-class>com.claas.txtdb.web.UserSessionFilter</listener-class>


    <listener-class>
    com.sun.faces.config.ConfigureListener
    </listener-class>


    <!-- Faces Servlet -->


    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>


    <!--Faces Servlet Mapping -->
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>*.faces</url-pattern>
    </servlet-mapping>

    <login-config>
    <auth-method>BASIC</auth-method>
    </login-config>

    <!--ExportServlet -->

    <servlet-name>Export Servlet</servlet-name>
    <servlet-class>com.claas.txtdb.web.ExportServlet</servlet-class>


    <servlet-mapping>
    <servlet-name>Export Servlet</servlet-name>
    <url-pattern>*.export</url-pattern>
    </servlet-mapping>


    </web-app>

  • 8. Re: Javascript error RichFaces is undefined
    Dirk Mallon Newbie

    More :

    The included pages menu_frac and apphead_frac are included in every further page. There they produce no errors . The scrollableDataTables on mainpage are displayed sometimes without headers and afer reload with F5 they got headers but the cloumnwidth is not correct and equal in all 4 tables(all 4 wrong). after reload not Javascripterror appears anymore. Navigation and BackingBeans seem to be allright because functionality is allright.

    further info:

    We use only Iexplorer 6 .
    Tomcat 6.0.16
    Eclipse Ganimed for Development



    I'll answer tomorrow on questions.

    greets Dirk


  • 9. Re: Javascript error RichFaces is undefined
    Ilya Shaikovsky Master

    try to put the ajax4jsf filter to the top of filter chain in web.xml. (Define it first)

    If not helps seems it will be really easier if you will able to send me war sample directly. It's difficult to look through you code there.