myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Trompertz" <>
Subject AW: [Trinidad] _validateAlert is not defined
Date Thu, 24 May 2007 07:26:13 GMT
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=""
xmlns:c="" 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"
<tr:commandButton action="logging" text="Logging" />


Von: Danny Robinson [] 
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 <
<> > 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.


	Von: Danny Robinson [] 
	Gesendet: Mittwoch, 23. Mai 2007 14:50
	An: MyFaces Discussion
	Betreff: Re: [Trinidad] _validateAlert is not defined
	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?
	On 5/23/07, Michael Trompertz <>


		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? 


	Chordiant Software Inc. 

Chordiant Software Inc. 

View raw message