myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Danny Robinson" <dannyjrobin...@gmail.com>
Subject Re: [Trinidad] _validateAlert is not defined
Date Thu, 24 May 2007 16:18:51 GMT
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 <Michael.Trompertz@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 <Michael.Trompertz@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

Mime
View raw message