You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Luka Surija <lu...@iytim.hr> on 2007/05/24 17:55:08 UTC
[Trinidad] m1-incubating -> 1.0.1 SNAPSHOT changes
I've just tryed to switch from trinidad-xxx-incubator-m1-SNAPSHOT.jar to
trinidad-xxx-1.0.1-SNAPSHOT.jar but my web app doesn't working any more
(clicking on links nothing happends). I use also facelets 1.1.11, but
till now everything worked fine.
Now, all I've changed was replacing
trinidad-api-incubator-m1-SNAPSHOT.jar and
trinidad-impl-incubator-m1-SNAPSHOT.jar with
trinidad-api-1.0.1-SNAPSHOT.jar and trinidad-impl-1.0.1-SNAPSHOT.jar in
WEB-INF/lib folder.
Starting my glassfish AS and looking into server.log I've noticed
following error:
Error configuring application listener of class
org.apache.myfaces.trinidadinternal.webapp.TrinidadListenerImpl
java.lang.ClassNotFoundException:
org.apache.myfaces.trinidadinternal.webapp.TrinidadListenerImpl
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1507)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4421)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:5140)
at com.sun.enterprise.web.WebModule.start(WebModule.java:302)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1224)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:924)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1224)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:520)
at org.apache.catalina.startup.Embedded.start(Embedded.java:916)
at com.sun.enterprise.web.WebContainer.start(WebContainer.java:853)
at
com.sun.enterprise.web.PEWebContainer.startInstance(PEWebContainer.java:742)
at
com.sun.enterprise.web.PEWebContainerLifecycle.onStartup(PEWebContainerLifecycle.java:71)
at
com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:332)
at
com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:112)
at com.sun.enterprise.server.PEMain.run(PEMain.java:326)
at com.sun.enterprise.server.PEMain.main(PEMain.java:260)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.enterprise.server.PELaunch.main(PELaunch.java:272)
... hmm, odd.
OK, to workaround, I've copied all necessary jars into glassfish/lib
folder and restart glassfish.
Now, there is no more errors in server.log but still I can't do anything
(just displaying site content without clicking) .
Using firebug I've noticed following error in console every time I try
to click on some tr:commandLink or tr:commandButton:
_validateAlert is not defined
_j_id1Validator(form#j_id1 index.xhtml, "j_id1:j_id14") index.xhtml
(line 221)
_validateForm(form#j_id1 index.xhtml, "j_id1:j_id14") Common11-m7.js
(line 3579)
submitForm(form#j_id1 index.xhtml, 1, Object event=show
source=j_id1:j_id14 partial=true) Common11-m7.js (line 3830)
_submitPartialChange(form#j_id1 index.xhtml, 1, Object event=show
source=j_id1:j_id14 partial=true) Common11-m7.js (line 5187)
_submitHideShow("j_id1", 1, "show", "j_id1:j_id14", "j_id1:j_id14__xc_",
undefined) index.xhtml (line 130)
onclick(click clientX=28, clientY=9) index.xhtml (line 1)
Looking into the generated html, I've found this:
<input type="hidden" name="value">
<script>var _resetj_id1Names=["event","source","partial","state","value"];</script>
<script>var _j_id1_Validations=['new TrNumberConverter(null,\'number\',null,null)'];var _j_id1_Validators=["j_id1:searchTable:edBrPonude",0,,0,[]];function _j_id1Validator(f,s){return _validateAlert(f,s,_j_id1_Validators,0,"Form validation failures:");}var _j_id1_Labels={};var _j_id1_Formats=['{0} - {1}'];var j_id1_SF={};</script>
</span><script>_submitFormCheck();</script></form>
</body>
but there is no function called _validateAlert in Common11-m7.js.
Can someone tell me what I have to do, to switch to a new version of
trinidad?
Re: [Trinidad] m1-incubating -> 1.0.1 SNAPSHOT changes
Posted by Adam Winer <aw...@gmail.com>.
Fixed! Thanks for the test case. (I was overlooking the obvious -
alert validation "failed" when there were no validation errors,
blocking submission; a "return;" needed to be "return true;")
-- Adam
On 5/30/07, Henk Vanhoe <He...@kava.be> wrote:
> Hi,
>
> contact.jsp in the attached file gives this problem. Clicking on the
> link 'Opslaan' gives no result. When I uncomment
> <client-validation>INLINE</client-validation> in trinidad-config.xml it
> works normally...
>
> I'm using this command to checkout the trinidad source code:
>
> svn checkout http://svn.apache.org/repos/asf/myfaces/trinidad/trunk/
> trinidad
>
> Henk
>
> Adam Winer wrote:
> > Can someone provide a minimal page that is failing for
> > them? I'd like to get this debugged and eliminated
> > by 1.0.1, but haven't reproduced it yet.
> >
> > -- Adam
> >
> >
> > On 5/29/07, Henk Vanhoe <He...@kava.be> wrote:
> >> I had the same problem. It went away when I added
> >> <client-validation>INLINE</client-validation> to my trinidad-config.xml.
> >>
> >> Henk
> >>
> >> Luka Surija wrote:
> >> > No, there is no JS errors any more. Just clicking on any link nothing
> >> > happened. just like <a href="#" ></a>.
> >> > I look like the problem when you forget to put <tr:form> component
> >> > around commandLink and other components.
> >> >
> >> > Very strange. Is it maybe problem with glassfish, because I don't use
> >> > myfaces JSF implementation?
> >> >
> >> > Luka
> >> >
> >> > Adam Winer wrote:
> >> >> What problems? Do you see any Javascript errors
> >> >> in the JS console?
> >> >>
> >> >> -- Adam
> >> >>
> >> >>
> >> >> On 5/25/07, Luka Surija <lu...@iytim.hr> wrote:
> >> >>> After clearing my browser cache the javascript errors are gone, but
> >> >>> there is still a problem with navigation, links and buttons.
> >> >>>
> >> >>> Danny Robinson wrote:
> >> >>> > >> _validateAlert is not defined
> >> >>> >
> >> >>> > Clear your browser cache.
> >> >>> >
> >> >>> > On 5/24/07, *Luka Surija* <luka.surija@iytim.hr
> >> >>> > <ma...@iytim.hr>> wrote:
> >> >>> >
> >> >>> > I've just tryed to switch from
> >> >>> > trinidad-xxx-incubator-m1-SNAPSHOT.jar to
> >> >>> > trinidad-xxx-1.0.1-SNAPSHOT.jar but my web app doesn't working
> >> >>> any
> >> >>> > more
> >> >>> > (clicking on links nothing happends). I use also facelets
> >> >>> 1.1.11, but
> >> >>> > till now everything worked fine.
> >> >>> >
> >> >>> > Now, all I've changed was replacing
> >> >>> > trinidad-api-incubator-m1-SNAPSHOT.jar and
> >> >>> > trinidad-impl-incubator-m1-SNAPSHOT.jar with
> >> >>> > trinidad-api-1.0.1-SNAPSHOT.jar and
> >> >>> > trinidad-impl-1.0.1-SNAPSHOT.jar in
> >> >>> > WEB-INF/lib folder.
> >> >>> > Starting my glassfish AS and looking into server.log I've
> >> noticed
> >> >>> > following error:
> >> >>> >
> >> >>> > Error configuring application listener of class
> >> >>> >
> >> org.apache.myfaces.trinidadinternal.webapp.TrinidadListenerImpl
> >> >>> > java.lang.ClassNotFoundException:
> >> >>> >
> >> org.apache.myfaces.trinidadinternal.webapp.TrinidadListenerImpl
> >> >>> > at
> >> >>> >
> >> >>>
> >> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1507)
> >>
> >> >>>
> >> >>> > at
> >> >>> >
> >> >>>
> >> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4421)
> >>
> >> >>>
> >> >>> > at
> >> >>> > org.apache.catalina.core.StandardContext.start
> >> >>> > (StandardContext.java:5140)
> >> >>> > at com.sun.enterprise.web.WebModule.start(WebModule.java:302)
> >> >>> > at
> >> >>> >
> >> >>>
> >> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1224)
> >> >>> > at org.apache.catalina.core.StandardHost.start
> >> >>> (StandardHost.java:924)
> >> >>> > at
> >> >>> >
> >> >>>
> >> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1224)
> >> >>> > at
> >> >>> >
> >> >>>
> >> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:520)
> >> >>> > at org.apache.catalina.startup.Embedded.start
> >> (Embedded.java:916)
> >> >>> > at
> >> >>> com.sun.enterprise.web.WebContainer.start(WebContainer.java:853)
> >> >>> > at
> >> >>> >
> >> >>>
> >> com.sun.enterprise.web.PEWebContainer.startInstance(PEWebContainer.java:742)
> >>
> >> >>>
> >> >>> > at
> >> >>> > com.sun.enterprise.web.PEWebContainerLifecycle.onStartup
> >> >>> > (PEWebContainerLifecycle.java:71)
> >> >>> > at
> >> >>> >
> >> >>>
> >> com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:332)
> >>
> >> >>>
> >> >>> > at
> >> >>> >
> >> >>>
> >> com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java
> >>
> >> >>>
> >> >>> > :112)
> >> >>> > at com.sun.enterprise.server.PEMain.run(PEMain.java:326)
> >> >>> > at com.sun.enterprise.server.PEMain.main(PEMain.java:260)
> >> >>> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >> >>> > at
> >> >>> > sun.reflect.NativeMethodAccessorImpl.invoke
> >> >>> > (NativeMethodAccessorImpl.java:39)
> >> >>> > at
> >> >>> >
> >> >>>
> >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >>
> >> >>>
> >> >>> > at java.lang.reflect.Method.invoke(Method.java:585)
> >> >>> > at com.sun.enterprise.server.PELaunch.main (PELaunch.java:272)
> >> >>> >
> >> >>> > ... hmm, odd.
> >> >>> >
> >> >>> > OK, to workaround, I've copied all necessary jars into
> >> >>> glassfish/lib
> >> >>>
> >> >>> > folder and restart glassfish.
> >> >>> >
> >> >>> > Now, there is no more errors in server.log but still I
> >> can't do
> >> >>> > anything
> >> >>> > (just displaying site content without clicking) .
> >> >>> > Using firebug I've noticed following error in console every
> >> >>> time I try
> >> >>> > to click on some tr:commandLink or tr:commandButton:
> >> >>> > _validateAlert is not defined
> >> >>> > _j_id1Validator(form#j_id1 index.xhtml, "j_id1:j_id14")
> >> >>> index.xhtml
> >> >>> > (line 221)
> >> >>> > _validateForm(form#j_id1 index.xhtml, "j_id1:j_id14")
> >> >>> Common11-m7.js
> >> >>> > (line 3579)
> >> >>> > submitForm(form#j_id1 index.xhtml , 1, Object event=show
> >> >>> > source=j_id1:j_id14 partial=true) Common11-m7.js (line 3830)
> >> >>> > _submitPartialChange(form#j_id1 index.xhtml, 1, Object
> >> event=show
> >> >>> > source=j_id1:j_id14 partial=true) Common11-m7.js (line 5187)
> >> >>> > _submitHideShow("j_id1", 1, "show", "j_id1:j_id14",
> >> >>> > "j_id1:j_id14__xc_",
> >> >>> > undefined) index.xhtml (line 130)
> >> >>> > onclick(click clientX=28, clientY=9) index.xhtml (line 1)
> >> >>> >
> >> >>> >
> >> >>> > Looking into the generated html, I've found this:
> >> >>> >
> >> >>> > <input type="hidden" name="value">
> >> >>> > <script>var
> >> >>> >
> >> >>>
> >> _resetj_id1Names=["event","source","partial","state","value"];</script>
> >> >>> >
> >> >>> > <script>var _j_id1_Validations=['new
> >> >>> > TrNumberConverter(null,\'number\',null,null)'];var
> >> >>> >
> >> >>> _j_id1_Validators=["j_id1:searchTable:edBrPonude",0,,0,[]];function
> >> >>> > _j_id1Validator(f,s){return
> >> >>> > _validateAlert(f,s,_j_id1_Validators,0,"Form validation
> >> >>> > failures:");}var _j_id1_Labels={};var _j_id1_Formats=['{0} -
> >> >>> > {1}'];var j_id1_SF={};</script>
> >> >>> > </span><script>_submitFormCheck();</script></form>
> >> >>> > </body>
> >> >>> >
> >> >>> > but there is no function called _validateAlert in
> >> Common11-m7.js.
> >> >>> >
> >> >>> > Can someone tell me what I have to do, to switch to a new
> >> >>> version of
> >> >>> > trinidad?
> >> >>> >
> >> >>> >
> >> >>> >
> >> >>> >
> >> >>> >
> >> >>> > --
> >> >>> > Chordiant Software Inc.
> >> >>> > www.chordiant.com <http://www.chordiant.com>
> >> >
> >>
> >>
> >
>
>
>
Re: [Trinidad] m1-incubating -> 1.0.1 SNAPSHOT changes
Posted by Henk Vanhoe <He...@kava.be>.
Hi,
contact.jsp in the attached file gives this problem. Clicking on the
link 'Opslaan' gives no result. When I uncomment
<client-validation>INLINE</client-validation> in trinidad-config.xml it
works normally...
I'm using this command to checkout the trinidad source code:
svn checkout http://svn.apache.org/repos/asf/myfaces/trinidad/trunk/
trinidad
Henk
Adam Winer wrote:
> Can someone provide a minimal page that is failing for
> them? I'd like to get this debugged and eliminated
> by 1.0.1, but haven't reproduced it yet.
>
> -- Adam
>
>
> On 5/29/07, Henk Vanhoe <He...@kava.be> wrote:
>> I had the same problem. It went away when I added
>> <client-validation>INLINE</client-validation> to my trinidad-config.xml.
>>
>> Henk
>>
>> Luka Surija wrote:
>> > No, there is no JS errors any more. Just clicking on any link nothing
>> > happened. just like <a href="#" ></a>.
>> > I look like the problem when you forget to put <tr:form> component
>> > around commandLink and other components.
>> >
>> > Very strange. Is it maybe problem with glassfish, because I don't use
>> > myfaces JSF implementation?
>> >
>> > Luka
>> >
>> > Adam Winer wrote:
>> >> What problems? Do you see any Javascript errors
>> >> in the JS console?
>> >>
>> >> -- Adam
>> >>
>> >>
>> >> On 5/25/07, Luka Surija <lu...@iytim.hr> wrote:
>> >>> After clearing my browser cache the javascript errors are gone, but
>> >>> there is still a problem with navigation, links and buttons.
>> >>>
>> >>> Danny Robinson wrote:
>> >>> > >> _validateAlert is not defined
>> >>> >
>> >>> > Clear your browser cache.
>> >>> >
>> >>> > On 5/24/07, *Luka Surija* <luka.surija@iytim.hr
>> >>> > <ma...@iytim.hr>> wrote:
>> >>> >
>> >>> > I've just tryed to switch from
>> >>> > trinidad-xxx-incubator-m1-SNAPSHOT.jar to
>> >>> > trinidad-xxx-1.0.1-SNAPSHOT.jar but my web app doesn't working
>> >>> any
>> >>> > more
>> >>> > (clicking on links nothing happends). I use also facelets
>> >>> 1.1.11, but
>> >>> > till now everything worked fine.
>> >>> >
>> >>> > Now, all I've changed was replacing
>> >>> > trinidad-api-incubator-m1-SNAPSHOT.jar and
>> >>> > trinidad-impl-incubator-m1-SNAPSHOT.jar with
>> >>> > trinidad-api-1.0.1-SNAPSHOT.jar and
>> >>> > trinidad-impl-1.0.1-SNAPSHOT.jar in
>> >>> > WEB-INF/lib folder.
>> >>> > Starting my glassfish AS and looking into server.log I've
>> noticed
>> >>> > following error:
>> >>> >
>> >>> > Error configuring application listener of class
>> >>> >
>> org.apache.myfaces.trinidadinternal.webapp.TrinidadListenerImpl
>> >>> > java.lang.ClassNotFoundException:
>> >>> >
>> org.apache.myfaces.trinidadinternal.webapp.TrinidadListenerImpl
>> >>> > at
>> >>> >
>> >>>
>> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1507)
>>
>> >>>
>> >>> > at
>> >>> >
>> >>>
>> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4421)
>>
>> >>>
>> >>> > at
>> >>> > org.apache.catalina.core.StandardContext.start
>> >>> > (StandardContext.java:5140)
>> >>> > at com.sun.enterprise.web.WebModule.start(WebModule.java:302)
>> >>> > at
>> >>> >
>> >>>
>> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1224)
>> >>> > at org.apache.catalina.core.StandardHost.start
>> >>> (StandardHost.java:924)
>> >>> > at
>> >>> >
>> >>>
>> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1224)
>> >>> > at
>> >>> >
>> >>>
>> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:520)
>> >>> > at org.apache.catalina.startup.Embedded.start
>> (Embedded.java:916)
>> >>> > at
>> >>> com.sun.enterprise.web.WebContainer.start(WebContainer.java:853)
>> >>> > at
>> >>> >
>> >>>
>> com.sun.enterprise.web.PEWebContainer.startInstance(PEWebContainer.java:742)
>>
>> >>>
>> >>> > at
>> >>> > com.sun.enterprise.web.PEWebContainerLifecycle.onStartup
>> >>> > (PEWebContainerLifecycle.java:71)
>> >>> > at
>> >>> >
>> >>>
>> com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:332)
>>
>> >>>
>> >>> > at
>> >>> >
>> >>>
>> com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java
>>
>> >>>
>> >>> > :112)
>> >>> > at com.sun.enterprise.server.PEMain.run(PEMain.java:326)
>> >>> > at com.sun.enterprise.server.PEMain.main(PEMain.java:260)
>> >>> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> >>> > at
>> >>> > sun.reflect.NativeMethodAccessorImpl.invoke
>> >>> > (NativeMethodAccessorImpl.java:39)
>> >>> > at
>> >>> >
>> >>>
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>
>> >>>
>> >>> > at java.lang.reflect.Method.invoke(Method.java:585)
>> >>> > at com.sun.enterprise.server.PELaunch.main (PELaunch.java:272)
>> >>> >
>> >>> > ... hmm, odd.
>> >>> >
>> >>> > OK, to workaround, I've copied all necessary jars into
>> >>> glassfish/lib
>> >>>
>> >>> > folder and restart glassfish.
>> >>> >
>> >>> > Now, there is no more errors in server.log but still I
>> can't do
>> >>> > anything
>> >>> > (just displaying site content without clicking) .
>> >>> > Using firebug I've noticed following error in console every
>> >>> time I try
>> >>> > to click on some tr:commandLink or tr:commandButton:
>> >>> > _validateAlert is not defined
>> >>> > _j_id1Validator(form#j_id1 index.xhtml, "j_id1:j_id14")
>> >>> index.xhtml
>> >>> > (line 221)
>> >>> > _validateForm(form#j_id1 index.xhtml, "j_id1:j_id14")
>> >>> Common11-m7.js
>> >>> > (line 3579)
>> >>> > submitForm(form#j_id1 index.xhtml , 1, Object event=show
>> >>> > source=j_id1:j_id14 partial=true) Common11-m7.js (line 3830)
>> >>> > _submitPartialChange(form#j_id1 index.xhtml, 1, Object
>> event=show
>> >>> > source=j_id1:j_id14 partial=true) Common11-m7.js (line 5187)
>> >>> > _submitHideShow("j_id1", 1, "show", "j_id1:j_id14",
>> >>> > "j_id1:j_id14__xc_",
>> >>> > undefined) index.xhtml (line 130)
>> >>> > onclick(click clientX=28, clientY=9) index.xhtml (line 1)
>> >>> >
>> >>> >
>> >>> > Looking into the generated html, I've found this:
>> >>> >
>> >>> > <input type="hidden" name="value">
>> >>> > <script>var
>> >>> >
>> >>>
>> _resetj_id1Names=["event","source","partial","state","value"];</script>
>> >>> >
>> >>> > <script>var _j_id1_Validations=['new
>> >>> > TrNumberConverter(null,\'number\',null,null)'];var
>> >>> >
>> >>> _j_id1_Validators=["j_id1:searchTable:edBrPonude",0,,0,[]];function
>> >>> > _j_id1Validator(f,s){return
>> >>> > _validateAlert(f,s,_j_id1_Validators,0,"Form validation
>> >>> > failures:");}var _j_id1_Labels={};var _j_id1_Formats=['{0} -
>> >>> > {1}'];var j_id1_SF={};</script>
>> >>> > </span><script>_submitFormCheck();</script></form>
>> >>> > </body>
>> >>> >
>> >>> > but there is no function called _validateAlert in
>> Common11-m7.js.
>> >>> >
>> >>> > Can someone tell me what I have to do, to switch to a new
>> >>> version of
>> >>> > trinidad?
>> >>> >
>> >>> >
>> >>> >
>> >>> >
>> >>> >
>> >>> > --
>> >>> > Chordiant Software Inc.
>> >>> > www.chordiant.com <http://www.chordiant.com>
>> >
>>
>>
>
Re: [Trinidad] m1-incubating -> 1.0.1 SNAPSHOT changes
Posted by Adam Winer <aw...@gmail.com>.
Can someone provide a minimal page that is failing for
them? I'd like to get this debugged and eliminated
by 1.0.1, but haven't reproduced it yet.
-- Adam
On 5/29/07, Henk Vanhoe <He...@kava.be> wrote:
> I had the same problem. It went away when I added
> <client-validation>INLINE</client-validation> to my trinidad-config.xml.
>
> Henk
>
> Luka Surija wrote:
> > No, there is no JS errors any more. Just clicking on any link nothing
> > happened. just like <a href="#" ></a>.
> > I look like the problem when you forget to put <tr:form> component
> > around commandLink and other components.
> >
> > Very strange. Is it maybe problem with glassfish, because I don't use
> > myfaces JSF implementation?
> >
> > Luka
> >
> > Adam Winer wrote:
> >> What problems? Do you see any Javascript errors
> >> in the JS console?
> >>
> >> -- Adam
> >>
> >>
> >> On 5/25/07, Luka Surija <lu...@iytim.hr> wrote:
> >>> After clearing my browser cache the javascript errors are gone, but
> >>> there is still a problem with navigation, links and buttons.
> >>>
> >>> Danny Robinson wrote:
> >>> > >> _validateAlert is not defined
> >>> >
> >>> > Clear your browser cache.
> >>> >
> >>> > On 5/24/07, *Luka Surija* <luka.surija@iytim.hr
> >>> > <ma...@iytim.hr>> wrote:
> >>> >
> >>> > I've just tryed to switch from
> >>> > trinidad-xxx-incubator-m1-SNAPSHOT.jar to
> >>> > trinidad-xxx-1.0.1-SNAPSHOT.jar but my web app doesn't working
> >>> any
> >>> > more
> >>> > (clicking on links nothing happends). I use also facelets
> >>> 1.1.11, but
> >>> > till now everything worked fine.
> >>> >
> >>> > Now, all I've changed was replacing
> >>> > trinidad-api-incubator-m1-SNAPSHOT.jar and
> >>> > trinidad-impl-incubator-m1-SNAPSHOT.jar with
> >>> > trinidad-api-1.0.1-SNAPSHOT.jar and
> >>> > trinidad-impl-1.0.1-SNAPSHOT.jar in
> >>> > WEB-INF/lib folder.
> >>> > Starting my glassfish AS and looking into server.log I've noticed
> >>> > following error:
> >>> >
> >>> > Error configuring application listener of class
> >>> > org.apache.myfaces.trinidadinternal.webapp.TrinidadListenerImpl
> >>> > java.lang.ClassNotFoundException:
> >>> > org.apache.myfaces.trinidadinternal.webapp.TrinidadListenerImpl
> >>> > at
> >>> >
> >>> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1507)
> >>>
> >>> > at
> >>> >
> >>> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4421)
> >>>
> >>> > at
> >>> > org.apache.catalina.core.StandardContext.start
> >>> > (StandardContext.java:5140)
> >>> > at com.sun.enterprise.web.WebModule.start(WebModule.java:302)
> >>> > at
> >>> >
> >>> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1224)
> >>> > at org.apache.catalina.core.StandardHost.start
> >>> (StandardHost.java:924)
> >>> > at
> >>> >
> >>> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1224)
> >>> > at
> >>> >
> >>> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:520)
> >>> > at org.apache.catalina.startup.Embedded.start (Embedded.java:916)
> >>> > at
> >>> com.sun.enterprise.web.WebContainer.start(WebContainer.java:853)
> >>> > at
> >>> >
> >>> com.sun.enterprise.web.PEWebContainer.startInstance(PEWebContainer.java:742)
> >>>
> >>> > at
> >>> > com.sun.enterprise.web.PEWebContainerLifecycle.onStartup
> >>> > (PEWebContainerLifecycle.java:71)
> >>> > at
> >>> >
> >>> com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:332)
> >>>
> >>> > at
> >>> >
> >>> com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java
> >>>
> >>> > :112)
> >>> > at com.sun.enterprise.server.PEMain.run(PEMain.java:326)
> >>> > at com.sun.enterprise.server.PEMain.main(PEMain.java:260)
> >>> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >>> > at
> >>> > sun.reflect.NativeMethodAccessorImpl.invoke
> >>> > (NativeMethodAccessorImpl.java:39)
> >>> > at
> >>> >
> >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >>>
> >>> > at java.lang.reflect.Method.invoke(Method.java:585)
> >>> > at com.sun.enterprise.server.PELaunch.main (PELaunch.java:272)
> >>> >
> >>> > ... hmm, odd.
> >>> >
> >>> > OK, to workaround, I've copied all necessary jars into
> >>> glassfish/lib
> >>>
> >>> > folder and restart glassfish.
> >>> >
> >>> > Now, there is no more errors in server.log but still I can't do
> >>> > anything
> >>> > (just displaying site content without clicking) .
> >>> > Using firebug I've noticed following error in console every
> >>> time I try
> >>> > to click on some tr:commandLink or tr:commandButton:
> >>> > _validateAlert is not defined
> >>> > _j_id1Validator(form#j_id1 index.xhtml, "j_id1:j_id14")
> >>> index.xhtml
> >>> > (line 221)
> >>> > _validateForm(form#j_id1 index.xhtml, "j_id1:j_id14")
> >>> Common11-m7.js
> >>> > (line 3579)
> >>> > submitForm(form#j_id1 index.xhtml , 1, Object event=show
> >>> > source=j_id1:j_id14 partial=true) Common11-m7.js (line 3830)
> >>> > _submitPartialChange(form#j_id1 index.xhtml, 1, Object event=show
> >>> > source=j_id1:j_id14 partial=true) Common11-m7.js (line 5187)
> >>> > _submitHideShow("j_id1", 1, "show", "j_id1:j_id14",
> >>> > "j_id1:j_id14__xc_",
> >>> > undefined) index.xhtml (line 130)
> >>> > onclick(click clientX=28, clientY=9) index.xhtml (line 1)
> >>> >
> >>> >
> >>> > Looking into the generated html, I've found this:
> >>> >
> >>> > <input type="hidden" name="value">
> >>> > <script>var
> >>> >
> >>> _resetj_id1Names=["event","source","partial","state","value"];</script>
> >>> >
> >>> > <script>var _j_id1_Validations=['new
> >>> > TrNumberConverter(null,\'number\',null,null)'];var
> >>> >
> >>> _j_id1_Validators=["j_id1:searchTable:edBrPonude",0,,0,[]];function
> >>> > _j_id1Validator(f,s){return
> >>> > _validateAlert(f,s,_j_id1_Validators,0,"Form validation
> >>> > failures:");}var _j_id1_Labels={};var _j_id1_Formats=['{0} -
> >>> > {1}'];var j_id1_SF={};</script>
> >>> > </span><script>_submitFormCheck();</script></form>
> >>> > </body>
> >>> >
> >>> > but there is no function called _validateAlert in Common11-m7.js.
> >>> >
> >>> > Can someone tell me what I have to do, to switch to a new
> >>> version of
> >>> > trinidad?
> >>> >
> >>> >
> >>> >
> >>> >
> >>> >
> >>> > --
> >>> > Chordiant Software Inc.
> >>> > www.chordiant.com <http://www.chordiant.com>
> >
>
>
Re: [Trinidad] m1-incubating -> 1.0.1 SNAPSHOT changes
Posted by Henk Vanhoe <He...@kava.be>.
I had the same problem. It went away when I added
<client-validation>INLINE</client-validation> to my trinidad-config.xml.
Henk
Luka Surija wrote:
> No, there is no JS errors any more. Just clicking on any link nothing
> happened. just like <a href="#" ></a>.
> I look like the problem when you forget to put <tr:form> component
> around commandLink and other components.
>
> Very strange. Is it maybe problem with glassfish, because I don't use
> myfaces JSF implementation?
>
> Luka
>
> Adam Winer wrote:
>> What problems? Do you see any Javascript errors
>> in the JS console?
>>
>> -- Adam
>>
>>
>> On 5/25/07, Luka Surija <lu...@iytim.hr> wrote:
>>> After clearing my browser cache the javascript errors are gone, but
>>> there is still a problem with navigation, links and buttons.
>>>
>>> Danny Robinson wrote:
>>> > >> _validateAlert is not defined
>>> >
>>> > Clear your browser cache.
>>> >
>>> > On 5/24/07, *Luka Surija* <luka.surija@iytim.hr
>>> > <ma...@iytim.hr>> wrote:
>>> >
>>> > I've just tryed to switch from
>>> > trinidad-xxx-incubator-m1-SNAPSHOT.jar to
>>> > trinidad-xxx-1.0.1-SNAPSHOT.jar but my web app doesn't working
>>> any
>>> > more
>>> > (clicking on links nothing happends). I use also facelets
>>> 1.1.11, but
>>> > till now everything worked fine.
>>> >
>>> > Now, all I've changed was replacing
>>> > trinidad-api-incubator-m1-SNAPSHOT.jar and
>>> > trinidad-impl-incubator-m1-SNAPSHOT.jar with
>>> > trinidad-api-1.0.1-SNAPSHOT.jar and
>>> > trinidad-impl-1.0.1-SNAPSHOT.jar in
>>> > WEB-INF/lib folder.
>>> > Starting my glassfish AS and looking into server.log I've noticed
>>> > following error:
>>> >
>>> > Error configuring application listener of class
>>> > org.apache.myfaces.trinidadinternal.webapp.TrinidadListenerImpl
>>> > java.lang.ClassNotFoundException:
>>> > org.apache.myfaces.trinidadinternal.webapp.TrinidadListenerImpl
>>> > at
>>> >
>>> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1507)
>>>
>>> > at
>>> >
>>> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4421)
>>>
>>> > at
>>> > org.apache.catalina.core.StandardContext.start
>>> > (StandardContext.java:5140)
>>> > at com.sun.enterprise.web.WebModule.start(WebModule.java:302)
>>> > at
>>> >
>>> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1224)
>>> > at org.apache.catalina.core.StandardHost.start
>>> (StandardHost.java:924)
>>> > at
>>> >
>>> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1224)
>>> > at
>>> >
>>> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:520)
>>> > at org.apache.catalina.startup.Embedded.start (Embedded.java:916)
>>> > at
>>> com.sun.enterprise.web.WebContainer.start(WebContainer.java:853)
>>> > at
>>> >
>>> com.sun.enterprise.web.PEWebContainer.startInstance(PEWebContainer.java:742)
>>>
>>> > at
>>> > com.sun.enterprise.web.PEWebContainerLifecycle.onStartup
>>> > (PEWebContainerLifecycle.java:71)
>>> > at
>>> >
>>> com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:332)
>>>
>>> > at
>>> >
>>> com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java
>>>
>>> > :112)
>>> > at com.sun.enterprise.server.PEMain.run(PEMain.java:326)
>>> > at com.sun.enterprise.server.PEMain.main(PEMain.java:260)
>>> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> > at
>>> > sun.reflect.NativeMethodAccessorImpl.invoke
>>> > (NativeMethodAccessorImpl.java:39)
>>> > at
>>> >
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>
>>> > at java.lang.reflect.Method.invoke(Method.java:585)
>>> > at com.sun.enterprise.server.PELaunch.main (PELaunch.java:272)
>>> >
>>> > ... hmm, odd.
>>> >
>>> > OK, to workaround, I've copied all necessary jars into
>>> glassfish/lib
>>>
>>> > folder and restart glassfish.
>>> >
>>> > Now, there is no more errors in server.log but still I can't do
>>> > anything
>>> > (just displaying site content without clicking) .
>>> > Using firebug I've noticed following error in console every
>>> time I try
>>> > to click on some tr:commandLink or tr:commandButton:
>>> > _validateAlert is not defined
>>> > _j_id1Validator(form#j_id1 index.xhtml, "j_id1:j_id14")
>>> index.xhtml
>>> > (line 221)
>>> > _validateForm(form#j_id1 index.xhtml, "j_id1:j_id14")
>>> Common11-m7.js
>>> > (line 3579)
>>> > submitForm(form#j_id1 index.xhtml , 1, Object event=show
>>> > source=j_id1:j_id14 partial=true) Common11-m7.js (line 3830)
>>> > _submitPartialChange(form#j_id1 index.xhtml, 1, Object event=show
>>> > source=j_id1:j_id14 partial=true) Common11-m7.js (line 5187)
>>> > _submitHideShow("j_id1", 1, "show", "j_id1:j_id14",
>>> > "j_id1:j_id14__xc_",
>>> > undefined) index.xhtml (line 130)
>>> > onclick(click clientX=28, clientY=9) index.xhtml (line 1)
>>> >
>>> >
>>> > Looking into the generated html, I've found this:
>>> >
>>> > <input type="hidden" name="value">
>>> > <script>var
>>> >
>>> _resetj_id1Names=["event","source","partial","state","value"];</script>
>>> >
>>> > <script>var _j_id1_Validations=['new
>>> > TrNumberConverter(null,\'number\',null,null)'];var
>>> >
>>> _j_id1_Validators=["j_id1:searchTable:edBrPonude",0,,0,[]];function
>>> > _j_id1Validator(f,s){return
>>> > _validateAlert(f,s,_j_id1_Validators,0,"Form validation
>>> > failures:");}var _j_id1_Labels={};var _j_id1_Formats=['{0} -
>>> > {1}'];var j_id1_SF={};</script>
>>> > </span><script>_submitFormCheck();</script></form>
>>> > </body>
>>> >
>>> > but there is no function called _validateAlert in Common11-m7.js.
>>> >
>>> > Can someone tell me what I have to do, to switch to a new
>>> version of
>>> > trinidad?
>>> >
>>> >
>>> >
>>> >
>>> >
>>> > --
>>> > Chordiant Software Inc.
>>> > www.chordiant.com <http://www.chordiant.com>
>
Re: [Trinidad] m1-incubating -> 1.0.1 SNAPSHOT changes
Posted by Luka Surija <lu...@iytim.hr>.
No, there is no JS errors any more. Just clicking on any link nothing
happened. just like <a href="#" ></a>.
I look like the problem when you forget to put <tr:form> component
around commandLink and other components.
Very strange. Is it maybe problem with glassfish, because I don't use
myfaces JSF implementation?
Luka
Adam Winer wrote:
> What problems? Do you see any Javascript errors
> in the JS console?
>
> -- Adam
>
>
> On 5/25/07, Luka Surija <lu...@iytim.hr> wrote:
>> After clearing my browser cache the javascript errors are gone, but
>> there is still a problem with navigation, links and buttons.
>>
>> Danny Robinson wrote:
>> > >> _validateAlert is not defined
>> >
>> > Clear your browser cache.
>> >
>> > On 5/24/07, *Luka Surija* <luka.surija@iytim.hr
>> > <ma...@iytim.hr>> wrote:
>> >
>> > I've just tryed to switch from
>> > trinidad-xxx-incubator-m1-SNAPSHOT.jar to
>> > trinidad-xxx-1.0.1-SNAPSHOT.jar but my web app doesn't working any
>> > more
>> > (clicking on links nothing happends). I use also facelets
>> 1.1.11, but
>> > till now everything worked fine.
>> >
>> > Now, all I've changed was replacing
>> > trinidad-api-incubator-m1-SNAPSHOT.jar and
>> > trinidad-impl-incubator-m1-SNAPSHOT.jar with
>> > trinidad-api-1.0.1-SNAPSHOT.jar and
>> > trinidad-impl-1.0.1-SNAPSHOT.jar in
>> > WEB-INF/lib folder.
>> > Starting my glassfish AS and looking into server.log I've noticed
>> > following error:
>> >
>> > Error configuring application listener of class
>> > org.apache.myfaces.trinidadinternal.webapp.TrinidadListenerImpl
>> > java.lang.ClassNotFoundException:
>> > org.apache.myfaces.trinidadinternal.webapp.TrinidadListenerImpl
>> > at
>> >
>> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1507)
>>
>> > at
>> >
>> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4421)
>>
>> > at
>> > org.apache.catalina.core.StandardContext.start
>> > (StandardContext.java:5140)
>> > at com.sun.enterprise.web.WebModule.start(WebModule.java:302)
>> > at
>> >
>> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1224)
>> > at org.apache.catalina.core.StandardHost.start
>> (StandardHost.java:924)
>> > at
>> >
>> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1224)
>> > at
>> >
>> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:520)
>> > at org.apache.catalina.startup.Embedded.start (Embedded.java:916)
>> > at
>> com.sun.enterprise.web.WebContainer.start(WebContainer.java:853)
>> > at
>> >
>> com.sun.enterprise.web.PEWebContainer.startInstance(PEWebContainer.java:742)
>>
>> > at
>> > com.sun.enterprise.web.PEWebContainerLifecycle.onStartup
>> > (PEWebContainerLifecycle.java:71)
>> > at
>> >
>> com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:332)
>>
>> > at
>> >
>> com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java
>>
>> > :112)
>> > at com.sun.enterprise.server.PEMain.run(PEMain.java:326)
>> > at com.sun.enterprise.server.PEMain.main(PEMain.java:260)
>> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> > at
>> > sun.reflect.NativeMethodAccessorImpl.invoke
>> > (NativeMethodAccessorImpl.java:39)
>> > at
>> >
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>
>> > at java.lang.reflect.Method.invoke(Method.java:585)
>> > at com.sun.enterprise.server.PELaunch.main (PELaunch.java:272)
>> >
>> > ... hmm, odd.
>> >
>> > OK, to workaround, I've copied all necessary jars into
>> glassfish/lib
>>
>> > folder and restart glassfish.
>> >
>> > Now, there is no more errors in server.log but still I can't do
>> > anything
>> > (just displaying site content without clicking) .
>> > Using firebug I've noticed following error in console every
>> time I try
>> > to click on some tr:commandLink or tr:commandButton:
>> > _validateAlert is not defined
>> > _j_id1Validator(form#j_id1 index.xhtml, "j_id1:j_id14")
>> index.xhtml
>> > (line 221)
>> > _validateForm(form#j_id1 index.xhtml, "j_id1:j_id14")
>> Common11-m7.js
>> > (line 3579)
>> > submitForm(form#j_id1 index.xhtml , 1, Object event=show
>> > source=j_id1:j_id14 partial=true) Common11-m7.js (line 3830)
>> > _submitPartialChange(form#j_id1 index.xhtml, 1, Object event=show
>> > source=j_id1:j_id14 partial=true) Common11-m7.js (line 5187)
>> > _submitHideShow("j_id1", 1, "show", "j_id1:j_id14",
>> > "j_id1:j_id14__xc_",
>> > undefined) index.xhtml (line 130)
>> > onclick(click clientX=28, clientY=9) index.xhtml (line 1)
>> >
>> >
>> > Looking into the generated html, I've found this:
>> >
>> > <input type="hidden" name="value">
>> > <script>var
>> >
>> _resetj_id1Names=["event","source","partial","state","value"];</script>
>> >
>> > <script>var _j_id1_Validations=['new
>> > TrNumberConverter(null,\'number\',null,null)'];var
>> >
>> _j_id1_Validators=["j_id1:searchTable:edBrPonude",0,,0,[]];function
>> > _j_id1Validator(f,s){return
>> > _validateAlert(f,s,_j_id1_Validators,0,"Form validation
>> > failures:");}var _j_id1_Labels={};var _j_id1_Formats=['{0} -
>> > {1}'];var j_id1_SF={};</script>
>> > </span><script>_submitFormCheck();</script></form>
>> > </body>
>> >
>> > but there is no function called _validateAlert in Common11-m7.js.
>> >
>> > Can someone tell me what I have to do, to switch to a new
>> version of
>> > trinidad?
>> >
>> >
>> >
>> >
>> >
>> > --
>> > Chordiant Software Inc.
>> > www.chordiant.com <http://www.chordiant.com>
Re: [Trinidad] m1-incubating -> 1.0.1 SNAPSHOT changes
Posted by Adam Winer <aw...@gmail.com>.
What problems? Do you see any Javascript errors
in the JS console?
-- Adam
On 5/25/07, Luka Surija <lu...@iytim.hr> wrote:
> After clearing my browser cache the javascript errors are gone, but
> there is still a problem with navigation, links and buttons.
>
> Danny Robinson wrote:
> > >> _validateAlert is not defined
> >
> > Clear your browser cache.
> >
> > On 5/24/07, *Luka Surija* <luka.surija@iytim.hr
> > <ma...@iytim.hr>> wrote:
> >
> > I've just tryed to switch from
> > trinidad-xxx-incubator-m1-SNAPSHOT.jar to
> > trinidad-xxx-1.0.1-SNAPSHOT.jar but my web app doesn't working any
> > more
> > (clicking on links nothing happends). I use also facelets 1.1.11, but
> > till now everything worked fine.
> >
> > Now, all I've changed was replacing
> > trinidad-api-incubator-m1-SNAPSHOT.jar and
> > trinidad-impl-incubator-m1-SNAPSHOT.jar with
> > trinidad-api-1.0.1-SNAPSHOT.jar and
> > trinidad-impl-1.0.1-SNAPSHOT.jar in
> > WEB-INF/lib folder.
> > Starting my glassfish AS and looking into server.log I've noticed
> > following error:
> >
> > Error configuring application listener of class
> > org.apache.myfaces.trinidadinternal.webapp.TrinidadListenerImpl
> > java.lang.ClassNotFoundException:
> > org.apache.myfaces.trinidadinternal.webapp.TrinidadListenerImpl
> > at
> > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1507)
> > at
> > org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4421)
> > at
> > org.apache.catalina.core.StandardContext.start
> > (StandardContext.java:5140)
> > at com.sun.enterprise.web.WebModule.start(WebModule.java:302)
> > at
> > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1224)
> > at org.apache.catalina.core.StandardHost.start (StandardHost.java:924)
> > at
> > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1224)
> > at
> > org.apache.catalina.core.StandardEngine.start(StandardEngine.java:520)
> > at org.apache.catalina.startup.Embedded.start (Embedded.java:916)
> > at com.sun.enterprise.web.WebContainer.start(WebContainer.java:853)
> > at
> > com.sun.enterprise.web.PEWebContainer.startInstance(PEWebContainer.java:742)
> > at
> > com.sun.enterprise.web.PEWebContainerLifecycle.onStartup
> > (PEWebContainerLifecycle.java:71)
> > at
> > com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:332)
> > at
> > com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java
> > :112)
> > at com.sun.enterprise.server.PEMain.run(PEMain.java:326)
> > at com.sun.enterprise.server.PEMain.main(PEMain.java:260)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> > sun.reflect.NativeMethodAccessorImpl.invoke
> > (NativeMethodAccessorImpl.java:39)
> > at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > at java.lang.reflect.Method.invoke(Method.java:585)
> > at com.sun.enterprise.server.PELaunch.main (PELaunch.java:272)
> >
> > ... hmm, odd.
> >
> > OK, to workaround, I've copied all necessary jars into glassfish/lib
>
> > folder and restart glassfish.
> >
> > Now, there is no more errors in server.log but still I can't do
> > anything
> > (just displaying site content without clicking) .
> > Using firebug I've noticed following error in console every time I try
> > to click on some tr:commandLink or tr:commandButton:
> > _validateAlert is not defined
> > _j_id1Validator(form#j_id1 index.xhtml, "j_id1:j_id14") index.xhtml
> > (line 221)
> > _validateForm(form#j_id1 index.xhtml, "j_id1:j_id14") Common11-m7.js
> > (line 3579)
> > submitForm(form#j_id1 index.xhtml , 1, Object event=show
> > source=j_id1:j_id14 partial=true) Common11-m7.js (line 3830)
> > _submitPartialChange(form#j_id1 index.xhtml, 1, Object event=show
> > source=j_id1:j_id14 partial=true) Common11-m7.js (line 5187)
> > _submitHideShow("j_id1", 1, "show", "j_id1:j_id14",
> > "j_id1:j_id14__xc_",
> > undefined) index.xhtml (line 130)
> > onclick(click clientX=28, clientY=9) index.xhtml (line 1)
> >
> >
> > Looking into the generated html, I've found this:
> >
> > <input type="hidden" name="value">
> > <script>var
> > _resetj_id1Names=["event","source","partial","state","value"];</script>
> >
> > <script>var _j_id1_Validations=['new
> > TrNumberConverter(null,\'number\',null,null)'];var
> > _j_id1_Validators=["j_id1:searchTable:edBrPonude",0,,0,[]];function
> > _j_id1Validator(f,s){return
> > _validateAlert(f,s,_j_id1_Validators,0,"Form validation
> > failures:");}var _j_id1_Labels={};var _j_id1_Formats=['{0} -
> > {1}'];var j_id1_SF={};</script>
> > </span><script>_submitFormCheck();</script></form>
> > </body>
> >
> > but there is no function called _validateAlert in Common11-m7.js.
> >
> > Can someone tell me what I have to do, to switch to a new version of
> > trinidad?
> >
> >
> >
> >
> >
> > --
> > Chordiant Software Inc.
> > www.chordiant.com <http://www.chordiant.com>
>
>
> --
> Luka Šurija
> luka.surija@iytim.hr
> +385 98 434 061
>
> I.Y. tim d.o.o.
> www.iytim.hr
> info@iytim.hr
>
>
>
Re: [Trinidad] m1-incubating -> 1.0.1 SNAPSHOT changes
Posted by Luka Surija <lu...@iytim.hr>.
After clearing my browser cache the javascript errors are gone, but
there is still a problem with navigation, links and buttons.
Danny Robinson wrote:
> >> _validateAlert is not defined
>
> Clear your browser cache.
>
> On 5/24/07, *Luka Surija* <luka.surija@iytim.hr
> <ma...@iytim.hr>> wrote:
>
> I've just tryed to switch from
> trinidad-xxx-incubator-m1-SNAPSHOT.jar to
> trinidad-xxx-1.0.1-SNAPSHOT.jar but my web app doesn't working any
> more
> (clicking on links nothing happends). I use also facelets 1.1.11, but
> till now everything worked fine.
>
> Now, all I've changed was replacing
> trinidad-api-incubator-m1-SNAPSHOT.jar and
> trinidad-impl-incubator-m1-SNAPSHOT.jar with
> trinidad-api-1.0.1-SNAPSHOT.jar and
> trinidad-impl-1.0.1-SNAPSHOT.jar in
> WEB-INF/lib folder.
> Starting my glassfish AS and looking into server.log I've noticed
> following error:
>
> Error configuring application listener of class
> org.apache.myfaces.trinidadinternal.webapp.TrinidadListenerImpl
> java.lang.ClassNotFoundException:
> org.apache.myfaces.trinidadinternal.webapp.TrinidadListenerImpl
> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1507)
> at
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4421)
> at
> org.apache.catalina.core.StandardContext.start
> (StandardContext.java:5140)
> at com.sun.enterprise.web.WebModule.start(WebModule.java:302)
> at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1224)
> at org.apache.catalina.core.StandardHost.start (StandardHost.java:924)
> at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1224)
> at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:520)
> at org.apache.catalina.startup.Embedded.start (Embedded.java:916)
> at com.sun.enterprise.web.WebContainer.start(WebContainer.java:853)
> at
> com.sun.enterprise.web.PEWebContainer.startInstance(PEWebContainer.java:742)
> at
> com.sun.enterprise.web.PEWebContainerLifecycle.onStartup
> (PEWebContainerLifecycle.java:71)
> at
> com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:332)
> at
> com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java
> :112)
> at com.sun.enterprise.server.PEMain.run(PEMain.java:326)
> at com.sun.enterprise.server.PEMain.main(PEMain.java:260)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke
> (NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at com.sun.enterprise.server.PELaunch.main (PELaunch.java:272)
>
> ... hmm, odd.
>
> OK, to workaround, I've copied all necessary jars into glassfish/lib
> folder and restart glassfish.
>
> Now, there is no more errors in server.log but still I can't do
> anything
> (just displaying site content without clicking) .
> Using firebug I've noticed following error in console every time I try
> to click on some tr:commandLink or tr:commandButton:
> _validateAlert is not defined
> _j_id1Validator(form#j_id1 index.xhtml, "j_id1:j_id14") index.xhtml
> (line 221)
> _validateForm(form#j_id1 index.xhtml, "j_id1:j_id14") Common11-m7.js
> (line 3579)
> submitForm(form#j_id1 index.xhtml , 1, Object event=show
> source=j_id1:j_id14 partial=true) Common11-m7.js (line 3830)
> _submitPartialChange(form#j_id1 index.xhtml, 1, Object event=show
> source=j_id1:j_id14 partial=true) Common11-m7.js (line 5187)
> _submitHideShow("j_id1", 1, "show", "j_id1:j_id14",
> "j_id1:j_id14__xc_",
> undefined) index.xhtml (line 130)
> onclick(click clientX=28, clientY=9) index.xhtml (line 1)
>
>
> Looking into the generated html, I've found this:
>
> <input type="hidden" name="value">
> <script>var
> _resetj_id1Names=["event","source","partial","state","value"];</script>
>
> <script>var _j_id1_Validations=['new
> TrNumberConverter(null,\'number\',null,null)'];var
> _j_id1_Validators=["j_id1:searchTable:edBrPonude",0,,0,[]];function
> _j_id1Validator(f,s){return
> _validateAlert(f,s,_j_id1_Validators,0,"Form validation
> failures:");}var _j_id1_Labels={};var _j_id1_Formats=['{0} -
> {1}'];var j_id1_SF={};</script>
> </span><script>_submitFormCheck();</script></form>
> </body>
>
> but there is no function called _validateAlert in Common11-m7.js.
>
> Can someone tell me what I have to do, to switch to a new version of
> trinidad?
>
>
>
>
>
> --
> Chordiant Software Inc.
> www.chordiant.com <http://www.chordiant.com>
--
Luka Šurija
luka.surija@iytim.hr
+385 98 434 061
I.Y. tim d.o.o.
www.iytim.hr
info@iytim.hr
Re: [Trinidad] m1-incubating -> 1.0.1 SNAPSHOT changes
Posted by Danny Robinson <da...@gmail.com>.
>> _validateAlert is not defined
Clear your browser cache.
On 5/24/07, Luka Surija <lu...@iytim.hr> wrote:
>
> I've just tryed to switch from trinidad-xxx-incubator-m1-SNAPSHOT.jar to
> trinidad-xxx-1.0.1-SNAPSHOT.jar but my web app doesn't working any more
> (clicking on links nothing happends). I use also facelets 1.1.11, but
> till now everything worked fine.
>
> Now, all I've changed was replacing
> trinidad-api-incubator-m1-SNAPSHOT.jar and
> trinidad-impl-incubator-m1-SNAPSHOT.jar with
> trinidad-api-1.0.1-SNAPSHOT.jar and trinidad-impl-1.0.1-SNAPSHOT.jar in
> WEB-INF/lib folder.
> Starting my glassfish AS and looking into server.log I've noticed
> following error:
>
> Error configuring application listener of class
> org.apache.myfaces.trinidadinternal.webapp.TrinidadListenerImpl
> java.lang.ClassNotFoundException:
> org.apache.myfaces.trinidadinternal.webapp.TrinidadListenerImpl
> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(
> WebappClassLoader.java:1507)
> at
> org.apache.catalina.core.StandardContext.listenerStart(
> StandardContext.java:4421)
> at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:5140)
> at com.sun.enterprise.web.WebModule.start(WebModule.java:302)
> at org.apache.catalina.core.ContainerBase.start(ContainerBase.java
> :1224)
> at org.apache.catalina.core.StandardHost.start(StandardHost.java:924)
> at org.apache.catalina.core.ContainerBase.start(ContainerBase.java
> :1224)
> at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:520)
> at org.apache.catalina.startup.Embedded.start(Embedded.java:916)
> at com.sun.enterprise.web.WebContainer.start(WebContainer.java:853)
> at
> com.sun.enterprise.web.PEWebContainer.startInstance(PEWebContainer.java
> :742)
> at
> com.sun.enterprise.web.PEWebContainerLifecycle.onStartup(
> PEWebContainerLifecycle.java:71)
> at
> com.sun.enterprise.server.ApplicationServer.onStartup(
> ApplicationServer.java:332)
> at
> com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(
> OnDemandServer.java:112)
> at com.sun.enterprise.server.PEMain.run(PEMain.java:326)
> at com.sun.enterprise.server.PEMain.main(PEMain.java:260)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
> :39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at com.sun.enterprise.server.PELaunch.main(PELaunch.java:272)
>
> ... hmm, odd.
>
> OK, to workaround, I've copied all necessary jars into glassfish/lib
> folder and restart glassfish.
>
> Now, there is no more errors in server.log but still I can't do anything
> (just displaying site content without clicking) .
> Using firebug I've noticed following error in console every time I try
> to click on some tr:commandLink or tr:commandButton:
> _validateAlert is not defined
> _j_id1Validator(form#j_id1 index.xhtml, "j_id1:j_id14") index.xhtml
> (line 221)
> _validateForm(form#j_id1 index.xhtml, "j_id1:j_id14") Common11-m7.js
> (line 3579)
> submitForm(form#j_id1 index.xhtml, 1, Object event=show
> source=j_id1:j_id14 partial=true) Common11-m7.js (line 3830)
> _submitPartialChange(form#j_id1 index.xhtml, 1, Object event=show
> source=j_id1:j_id14 partial=true) Common11-m7.js (line 5187)
> _submitHideShow("j_id1", 1, "show", "j_id1:j_id14", "j_id1:j_id14__xc_",
> undefined) index.xhtml (line 130)
> onclick(click clientX=28, clientY=9) index.xhtml (line 1)
>
>
> Looking into the generated html, I've found this:
>
> <input type="hidden" name="value">
> <script>var
> _resetj_id1Names=["event","source","partial","state","value"];</script>
> <script>var _j_id1_Validations=['new
> TrNumberConverter(null,\'number\',null,null)'];var
> _j_id1_Validators=["j_id1:searchTable:edBrPonude",0,,0,[]];function
> _j_id1Validator(f,s){return _validateAlert(f,s,_j_id1_Validators,0,"Form
> validation failures:");}var _j_id1_Labels={};var _j_id1_Formats=['{0} -
> {1}'];var j_id1_SF={};</script>
> </span><script>_submitFormCheck();</script></form>
> </body>
>
> but there is no function called _validateAlert in Common11-m7.js.
>
> Can someone tell me what I have to do, to switch to a new version of
> trinidad?
>
>
>
--
Chordiant Software Inc.
www.chordiant.com