You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Michael Trompertz <Mi...@feltengmbh.de> on 2007/05/23 13:04:00 UTC
[Trinidad] _validateAlert is not defined
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
Re: [Trinidad] _validateAlert is not defined
Posted by Luka Surija <lu...@iytim.hr>.
Just clear the browser cache.
jimDolinski wrote:
> I am experiencing the same problem, has there been a fix?
>
>
> Michael Trompertz 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
>>
>>
>>
>
>
--
Luka Ĺ urija
luka.surija@iytim.hr
+385 98 434 061
I.Y. tim d.o.o.
www.iytim.hr
info@iytim.hr
Re: [Trinidad] _validateAlert is not defined
Posted by jimDolinski <jd...@dotcomm.org>.
I am experiencing the same problem, has there been a fix?
Michael Trompertz 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
>
>
--
View this message in context: http://www.nabble.com/-Trinidad--_validateAlert-is-not-defined-tf3803335.html#a10810952
Sent from the MyFaces - Users mailing list archive at Nabble.com.
Re: [Trinidad] _validateAlert is not defined
Posted by Danny Robinson <da...@gmail.com>.
Michael,
I quickly ran your sample in both JSP and Facelets against the very latest
trunk and it works fine. I'm not able to test the 1.2 branch right now, but
might be good to know which one you've built against.
D.
On 5/24/07, Michael Trompertz <Mi...@feltengmbh.de> wrote:
>
> 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:dannyjrobinson@gmail.com]
> *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 < Michael.Trompertz@feltengmbh.de> 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:dannyjrobinson@gmail.com]
> > *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 <Mi...@feltengmbh.de> 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
>
--
Chordiant Software Inc.
www.chordiant.com
AW: [Trinidad] _validateAlert is not defined
Posted by Michael Trompertz <Mi...@feltengmbh.de>.
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:dannyjrobinson@gmail.com]
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 < Michael.Trompertz@feltengmbh.de
<ma...@feltengmbh.de> > 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:dannyjrobinson@gmail.com]
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 <Mi...@feltengmbh.de>
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
Re: [Trinidad] _validateAlert is not defined
Posted by Danny Robinson <da...@gmail.com>.
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 <Mi...@feltengmbh.de> 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:dannyjrobinson@gmail.com]
> *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 <Mi...@feltengmbh.de> 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
AW: [Trinidad] _validateAlert is not defined
Posted by Michael Trompertz <Mi...@feltengmbh.de>.
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:dannyjrobinson@gmail.com]
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 <Mi...@feltengmbh.de> 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
Re: [Trinidad] _validateAlert is not defined
Posted by Danny Robinson <da...@gmail.com>.
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 <Mi...@feltengmbh.de> 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