Here is my example. Without the required-attribute in the tr:input-tag ist works. <?xml version="1.0" encoding="ISO-8859-1" ?> <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:tr="http://myfaces.apache.org/trinidad" xmlns:f="http://java.sun.com/jsf/core" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:c="http://java.sun.com/jstl/core" version="2.0"> <c:set var="webRoot" value="#{facesContext.externalContext.requestContextPath}" /> <ui:composition id="comp"> <tr:document title="PMScada-Demo" initialFocusId="form1:user"> <tr:form id="form1"> <tr:inputText label="Filename" id="filename" required="true" value="${logging.filename}"></tr:inputText> <tr:commandButton action="logging" text="Logging" /> </tr:form> </tr:document> </ui:composition> </jsp:root>
________________________________ Von: Danny Robinson [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 23. Mai 2007 23:23 An: MyFaces Discussion Betreff: Re: [Trinidad] _validateAlert is not defined Are you able to reproduce this in the 'demo' or put together a small snippet that can be replicated? On 5/23/07, Michael Trompertz < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: Thanks - it was indeed a caching problem. But now my submit fails without any error message. I stepped through the javascript code, but I did not have any idea. At least the DoSubmit variable is set to false. All my required fields has values. It seems that it has something to with the required="true" attribute. Michael ________________________________ Von: Danny Robinson [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 23. Mai 2007 14:50 An: MyFaces Discussion Betreff: Re: [Trinidad] _validateAlert is not defined Michael, This method was modified a few days ago, so it sounds like your browser cache needs to re-read the javascript. Did you clear it? Danny On 5/23/07, Michael Trompertz <[EMAIL PROTECTED]> wrote: Hello After switching from trinidad-1.0.1-incubating-SNAPSHOT to trinidad-1.0.1-SNAPSHOT I got the message "_validateAlert is not defined" after pressing the <tr:commandButton action="#{loginData.login}" text="Anmelden" /> With switching back to the incubator jars everything is ok. I am using trinidad with facelets. Any ideas? Michael -- Chordiant Software Inc. www.chordiant.com -- Chordiant Software Inc. www.chordiant.com

