Re: Re: ExtVal: NullPointerException for meta data of UIViewParameter
hi tom, you can find the current version at [1]. currently it looks like a combination of EXTVAL-94 and a jsf/el issue. regards, gerhard [1] http://people.apache.org/~gpetracek/myfaces/extval/milestones/ http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces 2010/5/26 > Hi Gerhard, > > I would appreciate if you provide the current binaries. > > Can you give statement what the problem is? Did you add a bugfix adhoc? > > Thanks a lot, > Tom > > > > - Original Nachricht > Von: Gerhard Petracek > An: MyFaces Discussion > Datum: 25.05.2010 19:58 > Betreff: Re: ExtVal: NullPointerException for meta data of UIViewParameter > > > hi, > > > > please try the current snapshot for jsf 2 [1]. > > just use: > > mvn clean install > > after the checkout. > > > > if you don't use maven, i'll provide the current binaries. > > > > regards, > > gerhard > > > > [1] > > > https://svn.apache.org/repos/asf/myfaces/extensions/validator/branches/branc > > h_for_jsf_2_0/ > > > > http://www.irian.at > > > > Your JSF powerhouse - > > JSF Consulting, Development and > > Courses in English and German > > > > Professional Support for Apache MyFaces > > > > > > > > 2010/5/25 > > > > > I'm using Facelets for a JSF 2.0 project with redirect and view params: > > > > > > > > > > > > > > > > > > > > value="#{bean.data.refID}" /> > > > > > > > > > > > > > > > > > > > > > > > value="#{bean.data.refID}" /> > > > > > value="Suchen" > > > > > > action="list?faces-redirect=true&includeViewParams=true" /> > > > > > > > > > > > > > > > > > > Using ExtVal and BeanValidation I receive a NPE evaluating on the view > > > param which seems to be a JSF problem rather than ExtVal itself!? > > > > > > > > > org.apache.myfaces.extensions.validator.beanval.util.BeanValidationUtils.add > > MetaDataToContext(UIComponent, > > > PropertyDetails, boolean) > > > --> > > > > > > > > > org.apache.myfaces.extensions.validator.core.el.DefaultELHelper.getPropertyD > > etailsOfValueBinding(UIComponent) > > > --> > > > javax.faces.component.UIComponent.getValueExpression(String) returns > null > > > for "UIComponentBase.PropertyKeys.bindings". > > > > > > What is the problem here? > > > > > > > > > == > > > > > > Stacktrace: > > > > > > java.lang.NullPointerException > > >at > > > > > > org.apache.myfaces.extensions.validator.beanval.util.BeanValidationUtils.add > > MetaDataToContext(BeanValidationUtils.java:56) > > >at > > > > > > org.apache.myfaces.extensions.validator.beanval.interceptor.ExtValBeanValida > > > tionMetaDataExtractionInterceptor.processExtValBeanValidationMetaData(ExtValB > > eanValidationMetaDataExtractionInterceptor.java:78) > > >at > > > > > > org.apache.myfaces.extensions.validator.beanval.interceptor.ExtValBeanValida > > > tionMetaDataExtractionInterceptor.afterExtracting(ExtValBeanValidationMetaDat > > aExtractionInterceptor.java:59) > > >at > > > > > > org.apache.myfaces.extensions.validator.util.ExtValUtils.invokeMetaDataExtra > > ctionInterceptors(ExtValUtils.java:269) > > >at > > > > > > org.apache.myfaces.extensions.validator.util.ExtValUtils.access$100(ExtValUt > > ils.java:80) > > >at > > > > > > org.apache.myfaces.extensions.validator.util.ExtValUtils$1.extract(ExtValUti > > ls.java:237) > > >at > > > > > > org.apache.myfaces.extensions.validator.core.interceptor.AbstractValidationI > > nterceptor.getPropertyInformation(AbstractValidationInterceptor.java:173) > > >at > > > > > > org.apache.myfaces.extensions.validator.core.interceptor.AbstractValidationI > > nterceptor.processAfterValidation(AbstractValidationInterceptor.java:163) > > >at > > > > > > org.apache.myfaces.extensions.validator.core.interceptor.AbstractValidationI > > > nterceptor.beforeGetConvertedValue(AbstractValidationInterceptor.java:150) > > >at > > > > > > org.apache.myfaces.extensions.validator.core.renderkit.ExtValRendererWrapper > > .getConvertedValue(ExtValRendererWrapper.java:468) > > >at > > > > > > javax.faces.component.UIViewParameter.getConvertedValue(UIViewParameter.java > > :391) > > >at javax.faces.component.UIInput.validate(UIInput.java:934) > > >at > > javax.faces.component.UIInput.executeValidate(UIInput.java:1189) > > >at > > javax.faces.component.UIInput.processValidators(UIInput.java:691) > > >at > > > > > > javax.faces.component.UIViewParameter.processValidators(UIViewParameter.java > > :270) > > >at > > > > > > javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java > > :1115) > > >
Re: [Trinidad] PartialSubmit and Alert
Thanks all, i got it working now. Jozef On 25.5.2010 23:29, Walter Mourão wrote: If using partial page rendering You can send some javascript from the server, using the ExtendedRenderKitService's addScript() method. Walter Mourão http://waltermourao.com.br http://arcadian.com.br http://oriens.com.br On Tue, May 25, 2010 at 3:05 PM, Vinod Krishnan wrote: you can use FacesMessages to show popup.. Thanks, Vinod http://vtkrishn.wordpress.com/ On Tue, May 25, 2010 at 11:09 PM, Jozef Dropco wrote: Hi all, and I want: If method saveChanges returns error from business logic, show javascript alert on page Is it possible to do and how? Thanks Jozef
Aw: Re: ExtVal: NullPointerException for meta data of UIViewParameter
Hi Gerhard, I would appreciate if you provide the current binaries. Can you give statement what the problem is? Did you add a bugfix adhoc? Thanks a lot, Tom - Original Nachricht Von: Gerhard Petracek An: MyFaces Discussion Datum: 25.05.2010 19:58 Betreff: Re: ExtVal: NullPointerException for meta data of UIViewParameter > hi, > > please try the current snapshot for jsf 2 [1]. > just use: > mvn clean install > after the checkout. > > if you don't use maven, i'll provide the current binaries. > > regards, > gerhard > > [1] > https://svn.apache.org/repos/asf/myfaces/extensions/validator/branches/branc > h_for_jsf_2_0/ > > http://www.irian.at > > Your JSF powerhouse - > JSF Consulting, Development and > Courses in English and German > > Professional Support for Apache MyFaces > > > > 2010/5/25 > > > I'm using Facelets for a JSF 2.0 project with redirect and view params: > > > > > > > > > > > > > value="#{bean.data.refID}" /> > > > > > > > > > > > > > > > value="#{bean.data.refID}" /> > > > value="Suchen" > > > > action="list?faces-redirect=true&includeViewParams=true" /> > > > > > > > > > > > > Using ExtVal and BeanValidation I receive a NPE evaluating on the view > > param which seems to be a JSF problem rather than ExtVal itself!? > > > > > org.apache.myfaces.extensions.validator.beanval.util.BeanValidationUtils.add > MetaDataToContext(UIComponent, > > PropertyDetails, boolean) > > --> > > > > > org.apache.myfaces.extensions.validator.core.el.DefaultELHelper.getPropertyD > etailsOfValueBinding(UIComponent) > > --> > > javax.faces.component.UIComponent.getValueExpression(String) returns null > > for "UIComponentBase.PropertyKeys.bindings". > > > > What is the problem here? > > > > > > == > > > > Stacktrace: > > > > java.lang.NullPointerException > >at > > > org.apache.myfaces.extensions.validator.beanval.util.BeanValidationUtils.add > MetaDataToContext(BeanValidationUtils.java:56) > >at > > > org.apache.myfaces.extensions.validator.beanval.interceptor.ExtValBeanValida > tionMetaDataExtractionInterceptor.processExtValBeanValidationMetaData(ExtValB > eanValidationMetaDataExtractionInterceptor.java:78) > >at > > > org.apache.myfaces.extensions.validator.beanval.interceptor.ExtValBeanValida > tionMetaDataExtractionInterceptor.afterExtracting(ExtValBeanValidationMetaDat > aExtractionInterceptor.java:59) > >at > > > org.apache.myfaces.extensions.validator.util.ExtValUtils.invokeMetaDataExtra > ctionInterceptors(ExtValUtils.java:269) > >at > > > org.apache.myfaces.extensions.validator.util.ExtValUtils.access$100(ExtValUt > ils.java:80) > >at > > > org.apache.myfaces.extensions.validator.util.ExtValUtils$1.extract(ExtValUti > ls.java:237) > >at > > > org.apache.myfaces.extensions.validator.core.interceptor.AbstractValidationI > nterceptor.getPropertyInformation(AbstractValidationInterceptor.java:173) > >at > > > org.apache.myfaces.extensions.validator.core.interceptor.AbstractValidationI > nterceptor.processAfterValidation(AbstractValidationInterceptor.java:163) > >at > > > org.apache.myfaces.extensions.validator.core.interceptor.AbstractValidationI > nterceptor.beforeGetConvertedValue(AbstractValidationInterceptor.java:150) > >at > > > org.apache.myfaces.extensions.validator.core.renderkit.ExtValRendererWrapper > .getConvertedValue(ExtValRendererWrapper.java:468) > >at > > > javax.faces.component.UIViewParameter.getConvertedValue(UIViewParameter.java > :391) > >at javax.faces.component.UIInput.validate(UIInput.java:934) > >at > javax.faces.component.UIInput.executeValidate(UIInput.java:1189) > >at > javax.faces.component.UIInput.processValidators(UIInput.java:691) > >at > > > javax.faces.component.UIViewParameter.processValidators(UIViewParameter.java > :270) > >at > > > javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java > :1115) > >at > > > javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java > :1115) > >at > > javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:1180) > > > > Und was machen Sie heute abend? Alles Events Ihrer Gegend auf einen Blick > > im Arcor.de-Veranstaltungskalender: http://www.arcor.de/rd/footer.events > > > Und was machen Sie heute abend? Alles Events Ihrer Gegend auf einen Blick im Arcor.de-Veranstaltungskalender: http://www.arcor.de/rd/footer.events
Re: [Trinidad] PartialSubmit and Alert
If using partial page rendering You can send some javascript from the server, using the ExtendedRenderKitService's addScript() method. Walter Mourão http://waltermourao.com.br http://arcadian.com.br http://oriens.com.br On Tue, May 25, 2010 at 3:05 PM, Vinod Krishnan wrote: > you can use FacesMessages to show popup.. > > Thanks, > Vinod > > http://vtkrishn.wordpress.com/ > > > On Tue, May 25, 2010 at 11:09 PM, Jozef Dropco >wrote: > > > Hi all, > > > > > partialSubmit="true" text="#{msg.save}"/> > > > > and I want: If method saveChanges returns error from business logic, show > > javascript alert on page > > > > Is it possible to do and how? > > Thanks > > Jozef > > >
ApacheCon 2010: Technical Talks CFP
MyFaces Community, Reminder of the Call For Participation for ApacheCon North America 2010:https://blogs.apache.org/foundation/entry/call_for_participation_technical_talks Submissions are due Friday, May 28 by midnight PDT. --kevan
Trinidad XMLMenuModel - Napu
I am trying to create a menu with two level navigation. The first level is tabs and the second level is bar. The problem is the second level bar never gets showed. /WEB-INF/menu-metadata.xml: http://myfaces.apache.org/trinidad/menu";> (note: destination is set to # because I want stay in the same page) /WEB-INF/faces-config.xml ... root_menu org.apache.myfaces.trinidad.model.XMLMenuModel request createHiddenNodes true source java.lang.String /WEB-INF/menu-metadata.xml form1 /callForm1 form2 /callForm2 form3 /callForm3 ... xmlMenuModelTest.jspx The result on xmlMenuModelTest.jspx page is like: - /Global 0 / Global 1/ |Global 0 | Global 1| As you see, the page shows the menu with 2 levels. The top level shows as tabs and the lower level shows bar which is good. The problem is the lower level shows the labels same as the first level. According to menu-meta.xml and the navigationPane level which set to level 1, it should show Tab 0 and Tab 1 for the level 1. Thanks for your help. Napu Sun
Re: Problem with ui:debug encoding
Hi Bruno, I guess PrimeFaces is using their own PartialResponseWriter implementation, because Werner made sure that the MyFaces PartialResponseWriterImpl gets rid of any nested CDATA sections (see MYFACES-2585 for details). That's why it works fine on my machine (simple without PrimeFaces). However it really is not necessary to create this CDATA section on a partial request, so I will change UIDebug.encodeBegin() accordingly. I hope this will also solve the issue with PrimeFaces! Regards, Jakob 2010/5/24 Bruno Aranda > Hi, > > I have a problem when using ui:debug and rendering the area where this > component is with a partial request (with primefaces - jquery). As part of > the PPR response we get the markup surrounded by CDATA sections. The debug > component is adding an additional CDATA, invalidating the XML (it is not > possible to nest CDATA sections). Any ideas how this could be fixed? > > Cheers, > > Bruno > -- Jakob Korherr blog: http://www.jakobk.com twitter: http://twitter.com/jakobkorherr work: http://www.irian.at
Re: [Trinidad] PartialSubmit and Alert
you can use FacesMessages to show popup.. Thanks, Vinod http://vtkrishn.wordpress.com/ On Tue, May 25, 2010 at 11:09 PM, Jozef Dropco wrote: > Hi all, > > partialSubmit="true" text="#{msg.save}"/> > > and I want: If method saveChanges returns error from business logic, show > javascript alert on page > > Is it possible to do and how? > Thanks > Jozef >
Re: ExtVal: NullPointerException for meta data of UIViewParameter
hi, please try the current snapshot for jsf 2 [1]. just use: mvn clean install after the checkout. if you don't use maven, i'll provide the current binaries. regards, gerhard [1] https://svn.apache.org/repos/asf/myfaces/extensions/validator/branches/branch_for_jsf_2_0/ http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces 2010/5/25 > I'm using Facelets for a JSF 2.0 project with redirect and view params: > > > > > > value="#{bean.data.refID}" /> > > > > > > > value="#{bean.data.refID}" /> > value="Suchen" > > action="list?faces-redirect=true&includeViewParams=true" /> > > > > > > Using ExtVal and BeanValidation I receive a NPE evaluating on the view > param which seems to be a JSF problem rather than ExtVal itself!? > > org.apache.myfaces.extensions.validator.beanval.util.BeanValidationUtils.addMetaDataToContext(UIComponent, > PropertyDetails, boolean) > --> > > org.apache.myfaces.extensions.validator.core.el.DefaultELHelper.getPropertyDetailsOfValueBinding(UIComponent) > --> > javax.faces.component.UIComponent.getValueExpression(String) returns null > for "UIComponentBase.PropertyKeys.bindings". > > What is the problem here? > > > == > > Stacktrace: > > java.lang.NullPointerException >at > org.apache.myfaces.extensions.validator.beanval.util.BeanValidationUtils.addMetaDataToContext(BeanValidationUtils.java:56) >at > org.apache.myfaces.extensions.validator.beanval.interceptor.ExtValBeanValidationMetaDataExtractionInterceptor.processExtValBeanValidationMetaData(ExtValBeanValidationMetaDataExtractionInterceptor.java:78) >at > org.apache.myfaces.extensions.validator.beanval.interceptor.ExtValBeanValidationMetaDataExtractionInterceptor.afterExtracting(ExtValBeanValidationMetaDataExtractionInterceptor.java:59) >at > org.apache.myfaces.extensions.validator.util.ExtValUtils.invokeMetaDataExtractionInterceptors(ExtValUtils.java:269) >at > org.apache.myfaces.extensions.validator.util.ExtValUtils.access$100(ExtValUtils.java:80) >at > org.apache.myfaces.extensions.validator.util.ExtValUtils$1.extract(ExtValUtils.java:237) >at > org.apache.myfaces.extensions.validator.core.interceptor.AbstractValidationInterceptor.getPropertyInformation(AbstractValidationInterceptor.java:173) >at > org.apache.myfaces.extensions.validator.core.interceptor.AbstractValidationInterceptor.processAfterValidation(AbstractValidationInterceptor.java:163) >at > org.apache.myfaces.extensions.validator.core.interceptor.AbstractValidationInterceptor.beforeGetConvertedValue(AbstractValidationInterceptor.java:150) >at > org.apache.myfaces.extensions.validator.core.renderkit.ExtValRendererWrapper.getConvertedValue(ExtValRendererWrapper.java:468) >at > javax.faces.component.UIViewParameter.getConvertedValue(UIViewParameter.java:391) >at javax.faces.component.UIInput.validate(UIInput.java:934) >at javax.faces.component.UIInput.executeValidate(UIInput.java:1189) >at javax.faces.component.UIInput.processValidators(UIInput.java:691) >at > javax.faces.component.UIViewParameter.processValidators(UIViewParameter.java:270) >at > javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1115) >at > javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1115) >at > javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:1180) > > Und was machen Sie heute abend? Alles Events Ihrer Gegend auf einen Blick > im Arcor.de-Veranstaltungskalender: http://www.arcor.de/rd/footer.events >
[Trinidad] PartialSubmit and Alert
Hi all, partialSubmit="true" text="#{msg.save}"/> and I want: If method saveChanges returns error from business logic, show javascript alert on page Is it possible to do and how? Thanks Jozef
Re: MyFaces Test
Hello Jakob, It's messy in what way? Is it any worse than Shale Test was? On May 25, 2010, at 1:04 PM, Jakob Korherr wrote: > Hi Kito, > > (1) There are two versions of MyFaces-Test: test12 for JSF 1.2 and test20 > for JSF 2.0. > (2) It only uses the JSF-API, so it is not implementation specific. > > However MyFaces test currently is kinda messy, but we are trying to improve > it. That's why there is a MyFaces-Test GSoC project (as Gerhard already > pointed out). > > I hope this helps. > > Regards, > Jakob > > 2010/5/24 Kito Mann > >> Hello Leonardo, >> >> Thanks for the update. Two questions: >> >> (1) Does it work with JSF 1.2? >> (2) Can it be used without MyFaces (i.e. with Mojarra) >> >> --- >> Kito D. Mann | twitter: kito99 | Author, JSF in Action >> Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and consulting >> http://www.JSFCentral.com - JavaServer Faces FAQ, news, and info | >> twitter: >> jsfcentral >> +1 203-404-4848 x3 >> >> Sign up for the JSFCentral newsletter: http://oi.vresp.com/?fid=ac048d0e17 >> >> >> >> On Mon, May 24, 2010 at 4:48 PM, Leonardo Uribe wrote: >> >>> Hi Kito >>> >>> There is no site for myfaces-test project yet. Currently, this project is >>> used by myfaces core 2.0.x. Some code that should be on myfaces-test is >> on >>> myfaces-core so in the long term it is necessary to move this code and do >> a >>> cleanup. Right now, on myfaces impl there are some tests (facelet testing >>> stuff) that requires create another module on myfaces-test project to be >>> moved. The only documentation available is the one that comes from >>> shale-test project. >>> >>> regards, >>> >>> Leonardo Uribe >>> >>> 2010/5/24 Kito Mann >>> >>> Hello, I'm looking into testing frameworks, and the only info I can find on MyFaces Test is the Maven repo: (svn.apache.org/repos/asf/myfaces/test) . Has anything been written about it? --- Kito D. Mann | twitter: kito99 | Author, JSF in Action Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and consulting http://www.JSFCentral.com - JavaServer Faces FAQ, news, and info | twitter: jsfcentral +1 203-404-4848 x3 Sign up for the JSFCentral newsletter: http://oi.vresp.com/?fid=ac048d0e17 >>> >>> >> > > > > -- > Jakob Korherr > > blog: http://www.jakobk.com > twitter: http://twitter.com/jakobkorherr > work: http://www.irian.at --- Kito D. Mann -- Author, JavaServer Faces in Action http://twitter.com/kito99 http://twitter.com/jsfcentral http://www.virtua.com - JSF/Java EE consulting, training, and mentoring http://www.JSFCentral.com - JavaServer Faces FAQ, news, and info +1 203-404-4848 x3
ExtVal: NullPointerException for meta data of UIViewParameter
I'm using Facelets for a JSF 2.0 project with redirect and view params: Using ExtVal and BeanValidation I receive a NPE evaluating on the view param which seems to be a JSF problem rather than ExtVal itself!? org.apache.myfaces.extensions.validator.beanval.util.BeanValidationUtils.addMetaDataToContext(UIComponent, PropertyDetails, boolean) --> org.apache.myfaces.extensions.validator.core.el.DefaultELHelper.getPropertyDetailsOfValueBinding(UIComponent) --> javax.faces.component.UIComponent.getValueExpression(String) returns null for "UIComponentBase.PropertyKeys.bindings". What is the problem here? == Stacktrace: java.lang.NullPointerException at org.apache.myfaces.extensions.validator.beanval.util.BeanValidationUtils.addMetaDataToContext(BeanValidationUtils.java:56) at org.apache.myfaces.extensions.validator.beanval.interceptor.ExtValBeanValidationMetaDataExtractionInterceptor.processExtValBeanValidationMetaData(ExtValBeanValidationMetaDataExtractionInterceptor.java:78) at org.apache.myfaces.extensions.validator.beanval.interceptor.ExtValBeanValidationMetaDataExtractionInterceptor.afterExtracting(ExtValBeanValidationMetaDataExtractionInterceptor.java:59) at org.apache.myfaces.extensions.validator.util.ExtValUtils.invokeMetaDataExtractionInterceptors(ExtValUtils.java:269) at org.apache.myfaces.extensions.validator.util.ExtValUtils.access$100(ExtValUtils.java:80) at org.apache.myfaces.extensions.validator.util.ExtValUtils$1.extract(ExtValUtils.java:237) at org.apache.myfaces.extensions.validator.core.interceptor.AbstractValidationInterceptor.getPropertyInformation(AbstractValidationInterceptor.java:173) at org.apache.myfaces.extensions.validator.core.interceptor.AbstractValidationInterceptor.processAfterValidation(AbstractValidationInterceptor.java:163) at org.apache.myfaces.extensions.validator.core.interceptor.AbstractValidationInterceptor.beforeGetConvertedValue(AbstractValidationInterceptor.java:150) at org.apache.myfaces.extensions.validator.core.renderkit.ExtValRendererWrapper.getConvertedValue(ExtValRendererWrapper.java:468) at javax.faces.component.UIViewParameter.getConvertedValue(UIViewParameter.java:391) at javax.faces.component.UIInput.validate(UIInput.java:934) at javax.faces.component.UIInput.executeValidate(UIInput.java:1189) at javax.faces.component.UIInput.processValidators(UIInput.java:691) at javax.faces.component.UIViewParameter.processValidators(UIViewParameter.java:270) at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1115) at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1115) at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:1180) Und was machen Sie heute abend? Alles Events Ihrer Gegend auf einen Blick im Arcor.de-Veranstaltungskalender: http://www.arcor.de/rd/footer.events
Re: MyFaces Test
Hi Kito, (1) There are two versions of MyFaces-Test: test12 for JSF 1.2 and test20 for JSF 2.0. (2) It only uses the JSF-API, so it is not implementation specific. However MyFaces test currently is kinda messy, but we are trying to improve it. That's why there is a MyFaces-Test GSoC project (as Gerhard already pointed out). I hope this helps. Regards, Jakob 2010/5/24 Kito Mann > Hello Leonardo, > > Thanks for the update. Two questions: > > (1) Does it work with JSF 1.2? > (2) Can it be used without MyFaces (i.e. with Mojarra) > > --- > Kito D. Mann | twitter: kito99 | Author, JSF in Action > Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and consulting > http://www.JSFCentral.com - JavaServer Faces FAQ, news, and info | > twitter: > jsfcentral > +1 203-404-4848 x3 > > Sign up for the JSFCentral newsletter: http://oi.vresp.com/?fid=ac048d0e17 > > > > On Mon, May 24, 2010 at 4:48 PM, Leonardo Uribe wrote: > > > Hi Kito > > > > There is no site for myfaces-test project yet. Currently, this project is > > used by myfaces core 2.0.x. Some code that should be on myfaces-test is > on > > myfaces-core so in the long term it is necessary to move this code and do > a > > cleanup. Right now, on myfaces impl there are some tests (facelet testing > > stuff) that requires create another module on myfaces-test project to be > > moved. The only documentation available is the one that comes from > > shale-test project. > > > > regards, > > > > Leonardo Uribe > > > > 2010/5/24 Kito Mann > > > > Hello, > >> > >> I'm looking into testing frameworks, and the only info I can find on > >> MyFaces > >> Test is the Maven repo: (svn.apache.org/repos/asf/myfaces/test) . Has > >> anything been written about it? > >> --- > >> Kito D. Mann | twitter: kito99 | Author, JSF in Action > >> Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and > >> consulting > >> http://www.JSFCentral.com - JavaServer Faces FAQ, news, and info | > >> twitter: > >> jsfcentral > >> +1 203-404-4848 x3 > >> > >> Sign up for the JSFCentral newsletter: > >> http://oi.vresp.com/?fid=ac048d0e17 > >> > > > > > -- Jakob Korherr blog: http://www.jakobk.com twitter: http://twitter.com/jakobkorherr work: http://www.irian.at
Re: MyFaces 2.0.0 doest not fully support EL 2.2 method invocation
Hi John, this is the diff to make your project work. I started it with: mvn clean jetty:run And it ran fine at localhost:8080 Hope this helps, Cheers, Bruno Index: src/main/webapp/WEB-INF/web.xml === --- src/main/webapp/WEB-INF/web.xml (revision ) +++ src/main/webapp/WEB-INF/web.xml (revision ) @@ -15,6 +15,11 @@ Development + + org.apache.myfaces.annotation.SCAN_PACKAGES +org.wjh.experiment.jsf + + Faces Servlet Index: pom.xml === --- pom.xml (revision ) +++ pom.xml (revision ) @@ -38,6 +38,65 @@ + + + +org.mortbay.jetty +jetty-maven-plugin +7.0.1.v20091125 + + + +8080 + + +10 + +/${pom.artifactId} + + + + +javax.servlet.jsp +jsp-api +2.2 +provided + + +javax.el +el-api +2.2.1-b01 +provided + + +org.glassfish.web +el-impl +2.2.1-b01 +provided + + +org.mortbay.jetty +jsp-2.1-glassfish +9.1.1.B60.25.p2 +provided + + +org.mortbay.jetty +jsp-api-2.1 + + +org.mortbay.jetty +start + + +org.mortbay.jetty +jetty-annotations + + + + + + @@ -48,6 +107,20 @@ runtime + + +javax.el +el-api +2.2 +compile + + +org.glassfish.web +el-impl +2.2 +runtime + + > > > > javax.el > > el-api > > 2.2 > > compile > > > > > > org.glassfish.web > > el-impl > > 2.2 > > runtime > > > > > > That works without problems, so you may be having an EL problem > > somewhere... > > > > Cheers, > > > > Bruno > > > > On 25 May 2010 16:26, John Wu wrote: > > > >> > >> A simple EL 2.2 method invocation > >> "#{helloWorldController.doSomething(helloWorldModel)}" fails with > >> following > >> exception: > >> > >> javax.faces.el.MethodNotFoundException: > javax.el.MethodNotFoundException: > >> /helloWorld.xhtml at line 15 and column 85 > >> action="#{helloWorldController.doSomething(helloWorldModel)}": Method > not > >> found: > >> > >> > com.bns.sol.brokerage.entitlement.admin.web.helloworldcontrol...@1e7fe8e.dosomething > >> (java.lang.Object) > >>at > >> > >> > javax.faces.component._MethodExpressionToMethodBinding.invoke(_MethodExpressionToMethodBinding.java:92) > >>at > >> > >> > org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:100) > >>at javax.faces.component.UICommand.broadcast(UICommand.java:120) > >>at > >> javax.faces.component.UIViewRoot._broadcastAll(UIViewRoot.java:890) > >>at > >> javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:234) > >>at > javax.faces.component.UIViewRoot._process(UIViewRoot.java:1202) > >>at > >> javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:623) > >>at > >> > >> > org.apache.myfaces.lifecycle.InvokeApplicationExecutor.execute(InvokeApplicationExecutor.java:35) > >>at > >> > >> > org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:143) > >>at > >> > org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:93) > >>at javax.faces.webapp.FacesServlet.service(FacesServlet.java:189) > >>at > >> > >> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) > >>at > >> > >> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.jav
Trinidad dialog navigation issue - Help appreciated
HI All I did finally manage to checkout the latest code base from trinidad trunk. However the dialog framework seems to be broken. h:link and h:button navigations work fine. However any dialog: page does not open the dialogs at all . can some one help me out with a solution / work around for this. I would really appreciate any help on this. Thanks Venkat -- Forwarded message -- From: Venkat Ramanan Viswanathan Date: Tue, May 25, 2010 at 8:21 AM Subject: Query on latest trinidad code base To: MyFaces Discussion Hi I am currently using Trinidad 2.0.0 alpha 2. In that the navigation handler is broken , as the trinidad navigation handler does not extend the new Navigation Handler class which is part of JSF 2.0. As a result h:link and h:button are not working. I want to try by checking out the latest code from svn. Also can some one tell me if this issue has been fixed. Can some one tell me whether i should check out trunk and do a build or check out one of the branches for 2.0.0 build ? can i do svn co http://svn.apache.org/viewvc/myfaces/trinidad/trunk/ ? Thanks for all the help Venkat
Re: MyFaces 2.0.0 doest not fully support EL 2.2 method invocation
Hi Bruno, Can you please try to deploy the attached project into Jetty and check it? I can't download Jetty at the moment, will try tomorrow. I've traced the app, and feel it more like an issue in org.apache.myfaces.el.unified.resolver.ScopedAttributeResolver.getType(..). It always return java.lang.Object.class (or null) for any scoped attribute. I don't think that's correct. John Wu Bruno Aranda wrote: > > I use EL 2.2 and MyFaces 2.0 without problems, so it must be a Tomcat > configuration issue. I use jetty... the maven jetty plugin configured like > this: > > > org.mortbay.jetty > jetty-maven-plugin > 7.0.1.v20091125 > > > implementation="org.eclipse.jetty.server.nio.SelectChannelConnector"> > ${jetty.port} > > > 10 > > /${pom.artifactId} > > > ${build.outputDirectory}/META-INF/jetty-env.xml > > > > > javax.servlet.jsp > jsp-api > 2.2 > provided > > > javax.el > el-api > 2.2.1-b01 > provided > > > org.glassfish.web > el-impl > 2.2.1-b01 > provided > > > org.mortbay.jetty > jsp-2.1-glassfish > 9.1.1.B60.25.p2 > provided > > > org.mortbay.jetty > jsp-api-2.1 > > > org.mortbay.jetty > start > > > org.mortbay.jetty > jetty-annotations > > > > > > > And then I have these dependencies: > > > > javax.el > el-api > 2.2 > compile > > > org.glassfish.web > el-impl > 2.2 > runtime > > > That works without problems, so you may be having an EL problem > somewhere... > > Cheers, > > Bruno > > On 25 May 2010 16:26, John Wu wrote: > >> >> A simple EL 2.2 method invocation >> "#{helloWorldController.doSomething(helloWorldModel)}" fails with >> following >> exception: >> >> javax.faces.el.MethodNotFoundException: javax.el.MethodNotFoundException: >> /helloWorld.xhtml at line 15 and column 85 >> action="#{helloWorldController.doSomething(helloWorldModel)}": Method not >> found: >> >> com.bns.sol.brokerage.entitlement.admin.web.helloworldcontrol...@1e7fe8e.dosomething >> (java.lang.Object) >>at >> >> javax.faces.component._MethodExpressionToMethodBinding.invoke(_MethodExpressionToMethodBinding.java:92) >>at >> >> org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:100) >>at javax.faces.component.UICommand.broadcast(UICommand.java:120) >>at >> javax.faces.component.UIViewRoot._broadcastAll(UIViewRoot.java:890) >>at >> javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:234) >>at javax.faces.component.UIViewRoot._process(UIViewRoot.java:1202) >>at >> javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:623) >>at >> >> org.apache.myfaces.lifecycle.InvokeApplicationExecutor.execute(InvokeApplicationExecutor.java:35) >>at >> >> org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:143) >>at >> org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:93) >>at javax.faces.webapp.FacesServlet.service(FacesServlet.java:189) >>at >> >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) >>at >> >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) >>at >> >> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) >>at >> >> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) >>at >> >> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) >>at >> >> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo
Re: MyFaces 2.0.0 doest not fully support EL 2.2 method invocation
Am 25.05.10 17:33, schrieb Bruno Aranda: I use EL 2.2 and MyFaces 2.0 without problems, so it must be a Tomcat configuration issue. I use jetty... the maven jetty plugin configured like this: We had the problem before, Tomcat is at fault here, because Jasper does not correctly interprete the new features of the EL 2.2 either by using facelets (and thus eliminating JSP) or by moving over to the latest JSP version and compiler resolves the issue. Myfaces is not at fault here, it just uses what the EL provides nothing more nothing less.
Re: MyFaces 2.0.0 doest not fully support EL 2.2 method invocation
I use EL 2.2 and MyFaces 2.0 without problems, so it must be a Tomcat configuration issue. I use jetty... the maven jetty plugin configured like this: org.mortbay.jetty jetty-maven-plugin 7.0.1.v20091125 ${jetty.port} 10 /${pom.artifactId} ${build.outputDirectory}/META-INF/jetty-env.xml javax.servlet.jsp jsp-api 2.2 provided javax.el el-api 2.2.1-b01 provided org.glassfish.web el-impl 2.2.1-b01 provided org.mortbay.jetty jsp-2.1-glassfish 9.1.1.B60.25.p2 provided org.mortbay.jetty jsp-api-2.1 org.mortbay.jetty start org.mortbay.jetty jetty-annotations And then I have these dependencies: javax.el el-api 2.2 compile org.glassfish.web el-impl 2.2 runtime That works without problems, so you may be having an EL problem somewhere... Cheers, Bruno On 25 May 2010 16:26, John Wu wrote: > > A simple EL 2.2 method invocation > "#{helloWorldController.doSomething(helloWorldModel)}" fails with following > exception: > > javax.faces.el.MethodNotFoundException: javax.el.MethodNotFoundException: > /helloWorld.xhtml at line 15 and column 85 > action="#{helloWorldController.doSomething(helloWorldModel)}": Method not > found: > > com.bns.sol.brokerage.entitlement.admin.web.helloworldcontrol...@1e7fe8e.dosomething > (java.lang.Object) >at > > javax.faces.component._MethodExpressionToMethodBinding.invoke(_MethodExpressionToMethodBinding.java:92) >at > > org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:100) >at javax.faces.component.UICommand.broadcast(UICommand.java:120) >at > javax.faces.component.UIViewRoot._broadcastAll(UIViewRoot.java:890) >at > javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:234) >at javax.faces.component.UIViewRoot._process(UIViewRoot.java:1202) >at > javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:623) >at > > org.apache.myfaces.lifecycle.InvokeApplicationExecutor.execute(InvokeApplicationExecutor.java:35) >at > > org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:143) >at > org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:93) >at javax.faces.webapp.FacesServlet.service(FacesServlet.java:189) >at > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) >at > > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) >at > > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) >at > > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) >at > > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) >at > > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) >at > > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) >at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) >at > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852) >at > > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) >at > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) >at java.lang.Thread.run(Thread.java:619) > Caused by: javax.el.MethodNotFoundException: /helloWorld.xhtml at line 15 > and column 85 > action="#{helloWorldController.doSomething(helloWorldModel)}": > Method not found:
MyFaces 2.0.0 doest not fully support EL 2.2 method invocation
A simple EL 2.2 method invocation "#{helloWorldController.doSomething(helloWorldModel)}" fails with following exception: javax.faces.el.MethodNotFoundException: javax.el.MethodNotFoundException: /helloWorld.xhtml at line 15 and column 85 action="#{helloWorldController.doSomething(helloWorldModel)}": Method not found: com.bns.sol.brokerage.entitlement.admin.web.helloworldcontrol...@1e7fe8e.dosomething(java.lang.Object) at javax.faces.component._MethodExpressionToMethodBinding.invoke(_MethodExpressionToMethodBinding.java:92) at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:100) at javax.faces.component.UICommand.broadcast(UICommand.java:120) at javax.faces.component.UIViewRoot._broadcastAll(UIViewRoot.java:890) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:234) at javax.faces.component.UIViewRoot._process(UIViewRoot.java:1202) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:623) at org.apache.myfaces.lifecycle.InvokeApplicationExecutor.execute(InvokeApplicationExecutor.java:35) at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:143) at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:93) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:189) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:619) Caused by: javax.el.MethodNotFoundException: /helloWorld.xhtml at line 15 and column 85 action="#{helloWorldController.doSomething(helloWorldModel)}": Method not found: com.bns.sol.brokerage.entitlement.admin.web.helloworldcontrol...@1e7fe8e.dosomething(java.lang.Object) at org.apache.myfaces.view.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:91) at javax.faces.component._MethodExpressionToMethodBinding.invoke(_MethodExpressionToMethodBinding.java:88) ... 22 more The environment: . Tomcat 6.0.26 with EL 2.2 (Replaces lib/el-api.jar and lib/jasper-el.jar with the corresponding jars from tomcat-7.0.0-RC2, available at http://people.apache.org/~markt/dev/tomcat-7/v7.0.0-RC2/); . MyFaces core 2.0.0 . I'm using Facelets, no JSP invovled at all. The JSF RI 2.0.2 has the same issue. Is that a known issue? If yes, the link? If not, how can I create one? A sample maven project is attached. http://old.nabble.com/file/p28669825/jsf-2.0-el-2.2.zip jsf-2.0-el-2.2.zip -- View this message in context: http://old.nabble.com/MyFaces-2.0.0-doest-not-fully-support-EL-2.2-method-invocation-tp28669825p28669825.html Sent from the MyFaces - Users mailing list archive at Nabble.com.
Re: [ext-scripting] Problem coercing CGLIB proxy bean, created by Spring
Hello Bruno, I found the problem it was caused by a clash between pinpointing ext-scripting onto the entire projects path and the classloader hierarchy. Myfaces tried to load the class internally which then should have been served originally from spring and cglib, and since ext-scripting had higher priority it took over and served the class falsely. I cannot fix that for now, but for such cases I added a bypass: Following: use a comma separated whitelist of root packages which are compiled those and nothing else will be compiled during all compile stages, all other files stay permanently as they are org.apache.myfaces.extensions.scripting.PGK_WHITELIST uk.ac.ebi.intact.editor.component to pinpoint ext-scripting to the packages hosting the reloadable artifacts then it should start to work (do not forget to fetch the latest version from the trunk or 1.0 branch - I fixed another bug regarding whitelisting along the way) Werner Am 18.05.10 20:19, schrieb Bruno Aranda: I will try to have a smaller app, but cannot promise anything as it is not a priority (just yet!). Thanks Werner :) Bruno On 18 May 2010 19:08, Werner Punz wrote: Bruno, can you isolate the problem to a small sample so that I can have a look at it on friday? Werner Am 18.05.10 20:04, schrieb Werner Punz: Actually not yet, unless you want to use those beans dynamically via ext-script, that is not yet supported (only pure jsf beans are) I will look into the issue on friday however, when I am going to pick up the work on Ext-Scripting again. Normally I cannot really think of an issue here, because all Ext-Scripting does is mistly to provide its own el resolver which only triggers if the class is a dynamic one, if not it resolves to the other resolvers in the chain. There is no real magic going on which interferes on class level which should prevent cglib to work. Werner Am 18.05.10 16:54, schrieb Bruno Aranda: Hi, I am testing the ext-scripting module, which is really a great time saver :) However, there seems to be some problems with Spring bean proxies that I use in my project as managed beans. For instance, I have a PublicationController, that extends an AnnotationController. Spring creates a CGLIB proxy of the former, and then I get this exception when using ext-scripting. Any ideas? at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.IllegalArgumentException: Cannot convert uk.ac.ebi.intact.editor.controller.publication.publicationcontrol...@3d3bd50eof type class uk.ac.ebi.intact.editor.controller.publication.PublicationController$$EnhancerByCGLIB$$e33d8a6b to class uk.ac.ebi.intact.editor.controller.shared.AnnotatedObjectController at com.sun.el.lang.ELSupport.coerceToType(ELSupport.java:397) at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:222) at org.apache.myfaces.view.facelets.el.TagValueExpression.getValue(TagValueExpression.java:84) at javax.faces.component._ComponentAttributesMap.get(_ComponentAttributesMap.java:246) at org.apache.myfaces.el.unified.resolver.CompositeComponentELResolver$CompositeComponentAttributesMapWrapper.get(CompositeComponentELResolver.java:236) at javax.el.MapELResolver.getValue(MapELResolver.java:196) at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:175) at org.apache.myfaces.el.unified.resolver.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:142) at org.apache.myfaces.extensions.scripting.jsf.dynamicdecorators.implemetations.ELResolverProxy.getValue(ELResolverProxy.java:49) at com.sun.el.parser.AstValue.getValue(AstValue.java:116) at com.sun.el.parser.AstValue.getValue(AstValue.java:163) at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:219) at org.apache.myfaces.view.facelets.el.LocationValueExpression.getValue(LocationValueExpression.java:89) at org.apache.myfaces.view.facelets.el.TagValueExpression.getValue(TagValueExpression.java:84) at javax.faces.component._DeltaStateHelper.eval(_DeltaStateHelper.java:243) at javax.faces.component.UIData.getValue(UIData.java:1085) at javax.faces.component.UIData.createDataModel(UIData.java:1033) at javax.faces.component.UIData.getDataModel(UIData.java:1010) at javax.faces.component.UIData.getRowCount(UIData.java:442) at org.apache.myfaces.renderkit.ErrorPageWriter$ExtendedComponentTreeVisitCallback.visit(ErrorPageWriter.java:905) at org.apache.myfaces.component.visit.FullVisitContext.invokeVisitCallback(FullVisitContext.java:139) at javax.faces.component.UIComponent.visitTree(UIComponent.java:750) at javax.faces.component.UIData.visitTree(UIData.java:1224) at javax.faces.component.UIComponent.visitTree(UIComponent.java:770) at javax.faces.component.UIComponent.visitTree(UIComponent.java:763) at javax.faces.component.UIComponent.visitTree(UIComponent.java:770) at javax.faces.component.UIComponent.visitTree(UIComponent.java:770) at javax.faces.component.UIComponent.visitTree(UIComponent
RE: Look and Feel
Thank you for that understanding -Original Message- From: Leonardo Uribe [mailto:lu4...@gmail.com] Sent: Monday, May 24, 2010 4:51 PM To: MyFaces Discussion Subject: Re: Look and Feel Hi You can change the default images or javascript stuff using "imageLocation" and "javascriptLocation" properties. There is no default css for that component. For any component in tomahawk 1.1 or 1.2 you can find the related resource looking inside the jar file or if you want to take a look at the code this is where it is located: http://svn.apache.org/repos/asf/myfaces/tomahawk/trunk/ regards, Leonardo Uribe 2010/5/24 Russell Collins > I have been looking everywhere for this information but it seems like > everything I see is kind of vague with no examples. Can someone tell me or > show me an example of how to modify the default CSS for the Tomahawk > controls? Where should I look to find the default style sheets? > > > > Russell Collins > Sr. Software Engineer > > > > CONFIDENTIALITY NOTICE: The information contained in this electronic mail > (email) transmission (including attachments), is intended by MCLANE ADVANCED > TECHNOLOGIES for the use of the named individual or entity to which it is > addressed and may contain information that is privileged, confidential > and/or protected as a trade secret. It is not intended for transmission to, > or receipt by, any individual or entity other than the named addressee(s). > If you have received this email in error, please delete it (including > attachments) and any copies thereof without printing, copying or forwarding > it, and notify the sender of the error by email reply immediately. > CONFIDENTIALITY NOTICE: The information contained in this electronic mail (email) transmission (including attachments), is intended by MCLANE ADVANCED TECHNOLOGIES for the use of the named individual or entity to which it is addressed and may contain information that is privileged, confidential and/or protected as a trade secret. It is not intended for transmission to, or receipt by, any individual or entity other than the named addressee(s). If you have received this email in error, please delete it (including attachments) and any copies thereof without printing, copying or forwarding it, and notify the sender of the error by email reply immediately.
Re: MyFaces Test
Ok since I just did the commit the logging now is under http://svn.apache.org/viewvc/myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_ExtLang.js?view=markup which is a debugging replacement for _Lang.js Werner Am 25.05.10 09:21, schrieb Werner Punz: Ok I forgot here is the link the the respective javascript classes http://svn.apache.org/viewvc/myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_UnitTest.js?view=markup http://svn.apache.org/viewvc/myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_Lang.js?view=markup the logging is at the absolute bottom of _Lang.js and later will be moved into its own class to reduce the code for the deployment jsf.js a little bit more. Werner Am 25.05.10 09:17, schrieb Werner Punz: Am 24.05.10 22:21, schrieb Kito Mann: Hello, I'm looking into testing frameworks, and the only info I can find on MyFaces Test is the Maven repo: (svn.apache.org/repos/asf/myfaces/test) . Has anything been written about it? --- Kito D. Mann | twitter: kito99 | Author, JSF in Action Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and consulting http://www.JSFCentral.com - JavaServer Faces FAQ, news, and info | twitter: jsfcentral +1 203-404-4848 x3 Sign up for the JSFCentral newsletter: http://oi.vresp.com/?fid=ac048d0e17 Hello Kito not directly related but, I also have added some basic unit testing stuff for our javascripts which are supposed to be triggered from testing webpages (see under myfaces/core/_utils/_UnitTest.js and myfaces/core/_utils/_Lang.js (respectively _ExtLang.js after the next commit on my side which moves it out into a debugging replacement class) for the attached logging functionality) This is very basic but does what you need mostly, I use it myself in some integration tests which I run before every commit of the javascripts. see also http://www.pastebin.org/277823 for a small sample of my unit tests. ideally this can be combined with selenium since the logging also works on a special logging div, if set, directly on a page (it also utilizes the console if present) Cheers Werner
Re: MyFaces Test
Ok I forgot here is the link the the respective javascript classes http://svn.apache.org/viewvc/myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_UnitTest.js?view=markup http://svn.apache.org/viewvc/myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_Lang.js?view=markup the logging is at the absolute bottom of _Lang.js and later will be moved into its own class to reduce the code for the deployment jsf.js a little bit more. Werner Am 25.05.10 09:17, schrieb Werner Punz: Am 24.05.10 22:21, schrieb Kito Mann: Hello, I'm looking into testing frameworks, and the only info I can find on MyFaces Test is the Maven repo: (svn.apache.org/repos/asf/myfaces/test) . Has anything been written about it? --- Kito D. Mann | twitter: kito99 | Author, JSF in Action Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and consulting http://www.JSFCentral.com - JavaServer Faces FAQ, news, and info | twitter: jsfcentral +1 203-404-4848 x3 Sign up for the JSFCentral newsletter: http://oi.vresp.com/?fid=ac048d0e17 Hello Kito not directly related but, I also have added some basic unit testing stuff for our javascripts which are supposed to be triggered from testing webpages (see under myfaces/core/_utils/_UnitTest.js and myfaces/core/_utils/_Lang.js (respectively _ExtLang.js after the next commit on my side which moves it out into a debugging replacement class) for the attached logging functionality) This is very basic but does what you need mostly, I use it myself in some integration tests which I run before every commit of the javascripts. see also http://www.pastebin.org/277823 for a small sample of my unit tests. ideally this can be combined with selenium since the logging also works on a special logging div, if set, directly on a page (it also utilizes the console if present) Cheers Werner
Re: MyFaces Test
Am 24.05.10 22:21, schrieb Kito Mann: Hello, I'm looking into testing frameworks, and the only info I can find on MyFaces Test is the Maven repo: (svn.apache.org/repos/asf/myfaces/test) . Has anything been written about it? --- Kito D. Mann | twitter: kito99 | Author, JSF in Action Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and consulting http://www.JSFCentral.com - JavaServer Faces FAQ, news, and info | twitter: jsfcentral +1 203-404-4848 x3 Sign up for the JSFCentral newsletter: http://oi.vresp.com/?fid=ac048d0e17 Hello Kito not directly related but, I also have added some basic unit testing stuff for our javascripts which are supposed to be triggered from testing webpages (see under myfaces/core/_utils/_UnitTest.js and myfaces/core/_utils/_Lang.js (respectively _ExtLang.js after the next commit on my side which moves it out into a debugging replacement class) for the attached logging functionality) This is very basic but does what you need mostly, I use it myself in some integration tests which I run before every commit of the javascripts. see also http://www.pastebin.org/277823 for a small sample of my unit tests. ideally this can be combined with selenium since the logging also works on a special logging div, if set, directly on a page (it also utilizes the console if present) Cheers Werner
Re: [Tobago] foreach in c:sheet
Hello Hani, I've never tried to use , so I have no experience with that tag. Your code will not work, because the content inside of the will be visited only one time. The JSTL Tag needs to be called in each row to make it work. Mixing JSTL and JSF and use of iterators have some drawbacks. This depends also on the version of the libraries. Which version you are using? You may try to make your data accessible via the var-attribute of the sheet: ... ... Regards, Udo Am 20.05.10 16:39, schrieb Abushammala, Hani (EXTERN: FTP): Hello, We want to visualize some dynamic content within a column for each row of sheet with jstl. We tried to incrment a variable (defined outside of the tc:sheet element) with: to get the row index, but it doesn't work. Jsp: ... ... Is it possible and how? Thank you.