Re: EXTVAL - DefaultValidatorId will not be set

2016-09-29 Thread Gerhard Petracek
hi markus, it's great that you have a workaround for your applications. however, you will also see limitations once you need to use e.g. the client-window-handling. -> it would be great if you share the workaround (e.g. attach the class and config to the jira-ticket) - maybe there are also other u

Re: EXTVAL - DefaultValidatorId will not be set

2016-09-28 Thread Gerhard Petracek
hi markus, jsf 2.2 introduced some incompatibilities impacting the (out-of-the-box) forward compatibility of extval (as it was available for jsf 2.1). if you are interested in it, please file a feature-request/jira-ticket. regards, gerhard 2016-09-28 6:56 GMT+02:00 md : > Hi all, > we use Ext

Re: [COMMUNITY] Thomas Andraschko - Committer

2015-07-03 Thread Gerhard Petracek
welcome! regards, gerhard 2015-07-02 23:16 GMT+02:00 Mike Kienenberger : > The MyFaces PMC is proud to announce a new addition to our community. > > Please welcome Thomas Andraschko as the newest MyFaces committer! > Thomas is a long-time active member of the MyFaces community, > especially in

PMC chair rotation

2015-05-03 Thread Gerhard Petracek
Hi @ all, I'm stepping back from being the Apache MyFaces PMC chair, because it's time for a rotation after four years! As usual there was an internal vote and the result was approved by the ASF board during the previous meeting. -> Please join me in welcoming our new PMC chair: Mike Kienenberge

Re: Custom converter as tag with attributes?

2015-02-16 Thread Gerhard Petracek
hi karl, in deltaspike that should work since v1.1.0 once you add javassist. at least we have tests for it which pass... regards, gerhard http://www.irian.at Your JavaEE powerhouse - JavaEE Consulting, Development and Courses in English and German Professional Support for Apache MyFaces, Delta

[ANNOUNCE] Release of Apache MyFaces Extensions Validator 2.0.8

2014-06-26 Thread Gerhard Petracek
otes: http://s.apache.org/EXTVAL_208 Enjoy! Gerhard Petracek

Re: BeanManager lookup returing null !

2014-06-12 Thread Gerhard Petracek
hi felipe, you pass in a scope-annotation as qualifier. -> it can't work, since a scope is no qualifier. (fyi: please ask questions about cdi on the list for openwebbeans.) regards, gerhard http://www.irian.at Your JSF/JavaEE powerhouse - JavaEE Consulting, Development and Courses in English a

Re: Problem with clientWindow id and Deltaspike 0.7

2014-05-21 Thread Gerhard Petracek
javax.faces.CLIENT_WINDOW_MODE > url > > > > solves my problem > > > On 21 May 2014 20:57, Gerhard Petracek wrote: > > > @thomas: > > the bridge just gets active once you enable the client-window of jsf > > (otherwise deltaspike continues

Re: Problem with clientWindow id and Deltaspike 0.7

2014-05-21 Thread Gerhard Petracek
@thomas: the bridge just gets active once you enable the client-window of jsf (otherwise deltaspike continues as usual). regards, gerhard http://www.irian.at Your JSF/JavaEE powerhouse - JavaEE Consulting, Development and Courses in English and German Professional Support for Apache MyFaces

Re: Subscribe

2014-05-05 Thread Gerhard Petracek
va:87) > > > com.sun.faces.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:161) > > > com.sun.faces.application.view.FaceletViewHandlingStrategy.buildView(FaceletViewHandlingStrategy.java:995) > > > com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderRespon

Re: Subscribe

2014-05-03 Thread Gerhard Petracek
hi felipe, the project-setup isn't complete. you can use e.g. the myfaces archetype to have a look at the correct setup of openwebbeans (= cdi implementation) + codi (= cdi extension) (see [1]) or a basic project-template (see [2]) for openwebbeans and deltaspike. (+ fyi: you have mixed jsf annota

Re: CODI issue with CDI Observer

2014-03-23 Thread Gerhard Petracek
nce; > > } else { > > T t = (T) bean.create(creationalContext);//NPE here, > > contextual is null > > > > > > I'll open an issue at glassfish tracker. > > > > thanks for your help > > > > > > > > > &

Re: CODI issue with CDI Observer

2014-03-23 Thread Gerhard Petracek
67) > > > > > > Att, > Rafael M. Pestano > Desenvolvedor Java Cia. de Processamento de Dados do Rio Grande do Sul > Graduando em Ciência da Computação UFRGS > http://conventions.github.io/home/ > > http://rpestano.wordpress.com/ > @realpestano > > > > Em Dom

Re: CODI issue with CDI Observer

2014-03-23 Thread Gerhard Petracek
hi rafael, please test the same with deltaspike 0.6 regards, gerhard http://www.irian.at Your JSF/JavaEE powerhouse - JavaEE Consulting, Development and Courses in English and German Professional Support for Apache MyFaces 2014-03-23 18:23 GMT+01:00 Rafael Pestano : > Hi guys, > > i'm faci

[ANNOUNCE] Release of Apache MyFaces Extensions CDI 1.0.6

2014-03-04 Thread Gerhard Petracek
/download.html Apache MyFaces CODI is available in the central Maven repository under Group ID "org.apache.myfaces.extensions.cdi.*". Release Notes: http://s.apache.org/CODI_106 Enjoy! Gerhard Petracek

Re: @FlowScoped, @Named and @ManagedBean

2014-02-12 Thread Gerhard Petracek
nd Courses in English and German Professional Support for Apache MyFaces 2014-02-12 14:38 GMT+01:00 l.pe...@senat.fr : > On 12/02/2014 10:37, l.pe...@senat.fr wrote: > >> On 12/02/2014 10:22, Gerhard Petracek wrote: >> >>> hi ludovic, >>> >>> @ProjectS

Re: @FlowScoped, @Named and @ManagedBean

2014-02-12 Thread Gerhard Petracek
@howard: (as announced back then) codi is in maintenance-mode, because new features will be added to deltaspike. you might have seen the latest updates for using it with ee7. regards, gerhard http://www.irian.at Your JSF/JavaEE powerhouse - JavaEE Consulting, Development and Courses in English a

Re: @FlowScoped, @Named and @ManagedBean

2014-02-12 Thread Gerhard Petracek
:37 GMT+01:00 l.pe...@senat.fr : > On 12/02/2014 10:22, Gerhard Petracek wrote: > >> hi ludovic, >> >> @ProjectStageActivated is called @Exclude in deltaspike and you can just >> drop @Advanced. >> > > ok, thank you. > > I still had the same situa

Re: @FlowScoped, @Named and @ManagedBean

2014-02-12 Thread Gerhard Petracek
GMT+01:00 l.pe...@senat.fr : > On 12/02/2014 00:42, Thomas Andraschko wrote: > >> Can't you just switch to DS? >> > I gave a look to «migrate codi 1.x to deltaspike 0.5» by someone who seems > to know a bit on this topic, posts on this mailing list and is also known a &g

Re: JSF 2.2 Exit Flow

2014-01-18 Thread Gerhard Petracek
hi geoffrey, just fyi (in addition to the answer from michael): that's one of the major use-cases we had for codi/deltaspike (grouped-)conversations. you can use a listener (or an observer for PreViewConfigNavigateEvent + custom view-config meta-data) which just calls (WindowContext#closeConversat

Re: Apache ExtVal: Annotation "@BeanValidation(useGroups = SkipValidation.class)" has no effect for properties, annotated with @Column

2013-11-13 Thread Gerhard Petracek
googlecode.com > http://os890-m2-repository.googlecode.com/svn/tags/os890 > > > > at.gp.web.jsf.extval > extval-annotation-based-bypass-validation > 1.2.2 > > > > But it seems, like this version is not compatible with extval 2.0.7 > > Best regards, > > Ale

Re: Apache ExtVal: Annotation "@BeanValidation(useGroups = SkipValidation.class)" has no effect for properties, annotated with @Column

2013-11-12 Thread Gerhard Petracek
-) scoped) java-bean having intermediate > Ajax-requests (JSF-Actions) at the background. > > Thank you in advance for your help. > > Best regards, > > Alexey > > Am 11.11.2013 23:40, schrieb Gerhard Petracek: > > hi alexey, >> >> #1 is supported by

Re: Apache ExtVal: Annotation "@BeanValidation(useGroups = SkipValidation.class)" has no effect for properties, annotated with @Column

2013-11-11 Thread Gerhard Petracek
ate String name; > > > It is still not clear for me, why they are differently handled by > @BeanValidation(useGroups = SkipValidation.class) > > Regards, > Alexey > > Am 11.11.2013 15:12, schrieb Gerhard Petracek: > > hi alexey, >> >> there are 2 d

Re: Apache ExtVal: Annotation "@BeanValidation(useGroups = SkipValidation.class)" has no effect for properties, annotated with @Column

2013-11-11 Thread Gerhard Petracek
hi alexey, there are 2 different validation-modules: #1 property-validation (= extval-constraints + jpa-based validation) #2 bean-validation (= better jsf-integration of bv) they follow different concepts -> with @BeanValidation (provided by #2) you can't control jpa-based validation (provided by

Re: Apache CODI x JEE7 Glassfish4

2013-10-31 Thread Gerhard Petracek
at CODI can do. > > LieGrue, > strub > > > > > > >____ > > From: Gerhard Petracek > >To: MyFaces Discussion ; Mark Struberg < > strub...@yahoo.de> > >Sent: Thursday, 31 October 2013, 0:24 > >Subj

Re: Apache CODI x JEE7 Glassfish4

2013-10-30 Thread Gerhard Petracek
> One could still investigate if @ConversatioScoped has improved in CDI > > 1.1 and is on par with how CODI 1.0.5 handles it. Again, I am not the > > right person to discuss that annotation, but it's a thought. > > > > On 10/30/2013 04:33 PM, Gerhard Petrace

Re: Apache CODI x JEE7 Glassfish4

2013-10-30 Thread Gerhard Petracek
on par with how CODI 1.0.5 handles it. Again, I am not the right > person to discuss that annotation, but it's a thought. > > > On 10/30/2013 04:33 PM, Gerhard Petracek wrote: > >> hi edilmar, >> >> apache deltaspike is the official successor of codi/seam/... (i

Re: Apache CODI x JEE7 Glassfish4

2013-10-30 Thread Gerhard Petracek
hi edilmar, apache deltaspike is the official successor of codi/seam/... (including support for ee7+). some parts (including codi-conversations) are still on our list, however, you can try it with [1] (it's the same code - just different packages and based on deltaspike). @kay (and your comment a

Re: [MyFaces 2.2] invoke @PreDestroy on (CDI) ViewScoped beans upon session expiration

2013-10-18 Thread Gerhard Petracek
che MyFaces 2013/10/18 Howard W. Smith, Jr. > Cool! If your test works against Leonardo's latest changes/fixes, please > post/share your test results (and test steps). Thanks! > > > On Fri, Oct 18, 2013 at 3:45 PM, Gerhard Petracek < > gerhard.petra...@gmail.com> wrote:

Re: [MyFaces 2.2] invoke @PreDestroy on (CDI) ViewScoped beans upon session expiration

2013-10-18 Thread Gerhard Petracek
. > Gerhard, you're welcome. since i don't have bandwidth (right now), > maybe/hopefully, you can develop test case(s) per what we're > discussing/testing/reporting here...if you have bandwidth to do so. :) > > > On Fri, Oct 18, 2013 at 5:14 AM, Gerhard Petracek <

Re: [MyFaces 2.2] invoke @PreDestroy on (CDI) ViewScoped beans upon session expiration

2013-10-18 Thread Gerhard Petracek
@howard: that's one of the issues i mentioned during the discussion for MYFACES-3797 and i was going to test it tomorrow. -> thx for testing it and starting this thread. regards, gerhard http://www.irian.at Your JSF/JavaEE powerhouse - JavaEE Consulting, Development and Courses in English and Ge

Re: Future of MyFaces in non-CDI environments

2013-10-17 Thread Gerhard Petracek
hi moritz, @myfaces-core: the minimal goal is to be spec. compliant. @osgi+cdi: you might be interested in [1]. regards, gerhard [1] http://s.apache.org/Qu7 http://www.irian.at Your JSF/JavaEE powerhouse - JavaEE Consulting, Development and Courses in English and German Professional Support

Re: DOwnload codi bundle jar for use inot tomee

2013-08-05 Thread Gerhard Petracek
@ #1: please have a look e.g. at [1] @ #2: myfaces-extval doesn't implement the bv-spec. one part of it is a thin bv-integration-layer needed for jsf 1.x which can be used also for jsf 2.x to benefit from additional features. regards, gerhard [1] http://os890.blogspot.co.at/2011/08/scopes-view-sc

Re: DOwnload codi bundle jar for use inot tomee

2013-08-05 Thread Gerhard Petracek
tomee shouldn't have issues with the separated jar-files, however, see e.g. [1] regards, gerhard [1] http://repo2.maven.org/maven2/org/apache/myfaces/extensions/cdi/bundles/myfaces-extcdi-bundle-jsf20/1.0.5/myfaces-extcdi-bundle-jsf20-1.0.5.jar http://www.irian.at Your JSF/JavaEE powerhouse - J

Re: [ CODI ] redirect loop

2013-04-25 Thread Gerhard Petracek
hi stephen, please try to reproduce it with a reduced session-timeout. regards, gerhard http://www.irian.at Your JSF/JavaEE powerhouse - JavaEE Consulting, Development and Courses in English and German Professional Support for Apache MyFaces 2013/4/22 Stephen More > I am running mojarra 2

Re: config web.xml myfaces for use with primefaces

2013-04-09 Thread Gerhard Petracek
hi, @ #1: it shouldn't be needed (myfaces-core is doing it automatically). if you have issues after removing it, please report it to the team of tomee. regards, gerhard http://www.irian.at Your JSF/JavaEE powerhouse - JavaEE Consulting, Development and Courses in English and German Professio

Re: CODI ViewAccessScoped issue with EAR on JBoss 7.1.x

2013-04-04 Thread Gerhard Petracek
hi adrian, we can do EXTCDI-308 easily, but basically it isn't an issue of codi -> please file an issue for WAS8. regards, gerhard http://www.irian.at Your JSF/JavaEE powerhouse - JavaEE Consulting, Development and Courses in English and German Professional Support for Apache MyFaces 2013/

Re: CODI ViewAccessScoped issue with EAR on JBoss 7.1.x

2013-03-21 Thread Gerhard Petracek
repos/asf?p=incubator-deltaspike.git;a=tree;f=deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/listener/phase;hb=HEAD > > > - Mail original - > De : Gerhard Petracek > À : MyFaces Discussion > Cc : > Envoyé le : Vendredi 22 mars 2013 0h41 > Ob

Re: CODI ViewAccessScoped issue with EAR on JBoss 7.1.x

2013-03-21 Thread Gerhard Petracek
hi adrian, you can try if the approach i used in deltaspike would help. regards, gerhard http://www.irian.at Your JSF/JavaEE powerhouse - JavaEE Consulting, Development and Courses in English and German Professional Support for Apache MyFaces 2013/3/21 Adrian Gonzalez > Hi Mark, > > I fin

[ANNOUNCE] Release of Apache MyFaces Extensions Validator 2.0.7

2013-03-10 Thread Gerhard Petracek
otes: http://s.apache.org/EXTVAL_207 Enjoy! Gerhard Petracek

Re: ExtVal with multiple RenderKit's (Primeface + Primeface Mobile) does not work correctly

2013-02-19 Thread Gerhard Petracek
hi @ all, i've moved the renderkit-cache used in GenericRenderKitWrapperFactory to AbstractRenderKitWrapperFactory and simplified the rest (see [1]). regards, gerhard [1] https://issues.apache.org/jira/browse/EXTVAL-151 2013/1/30 Howard W. Smith, Jr. > On Tue, Jan 29, 2013 at 6:11 AM, Reto

Re: ExtVal with multiple RenderKit's (Primeface + Primeface Mobile) does not work correctly

2013-01-29 Thread Gerhard Petracek
hi reto, first of all: welcome @ myfaces! you are welcome to provide the patch for such an improvement (just attach it to a jira ticket). regards, gerhard http://www.irian.at Your JSF/JavaEE powerhouse - JavaEE Consulting, Development and Courses in English and German Professional Support for

[ANNOUNCE] Release of Apache MyFaces Extensions Validator 1.2.6 and 2.0.6

2012-12-15 Thread Gerhard Petracek
otes: http://s.apache.org/EXTVAL_126 http://s.apache.org/EXTVAL_206 Enjoy! Gerhard Petracek

Re: [CODI] CODI v1.0.5 + WebSphere v8.5.0.1 problem

2012-12-10 Thread Gerhard Petracek
hi denis, maybe rohit can provide further details. regards, gerhard 2012/12/10 Denis Forveille > Hello > > I'm trying to use CODI v1.0.5 in WebSphere v8.5.0.1 with a very simple > application, Even if the applications deploys and starts well, on the > first page I receive a NPE > It seems to

Re: el issue with weld (was: Bug EXTVAL-130?)

2012-12-05 Thread Gerhard Petracek
h and German Professional Support for Apache MyFaces 2012/12/6 Gerhard Petracek > hi gerald, > > @ el issue with weld: > that sounds like a serious weld bug. > extval is just using the std. jsf-api (in this > case: javax.faces.application.Application#evaluateExpressionGet). &g

Re: el issue with weld (was: Bug EXTVAL-130?)

2012-12-05 Thread Gerhard Petracek
ttp://www.irian.at Your JSF/JavaEE powerhouse - JavaEE Consulting, Development and Courses in English and German Professional Support for Apache MyFaces 2012/12/6 Gerhard Petracek > hi gerald, > > @ veto: > ClassDeactivator is just for classes which are listed in config files of > cdi

Re: Bug EXTVAL-130?

2012-12-05 Thread Gerhard Petracek
, Development and Courses in English and German Professional Support for Apache MyFaces 2012/12/5 Gerald Turner > Hi Gerhard, thanks for the response! > > > Gerhard Petracek writes: > > > @codi + seam > > yes - that's possible. > > it depends on what y

Re: Bug EXTVAL-130?

2012-12-05 Thread Gerhard Petracek
hi howard, please ensure that you are using the current snapshot from [1]. if you still have issues, please provide a link to a simple demo. (maybe you are facing an issue which affects codi but which isn't an issue of codi itself.) regards, gerhard [1] https://repository.apache.org/content/gro

Re: Bug EXTVAL-130?

2012-12-04 Thread Gerhard Petracek
hi gerald, @codi + seam yes - that's possible. it depends on what you are using from both. e.g. in case of the jsf-module of codi + seam-faces you have to veto one of the producers for the FacesContext. @ "No CreationalContext registered for EL evaluation, it is likely that the the expression fac

Re: CODI: Exclude windowId from certain pages

2012-11-30 Thread Gerhard Petracek
e session is not released that > memory > > will not be restored and the stress testing will not be accurate (or > realistic). > > > > regards, > > > > Leonardo Uribe > > > > 2012/11/29 Gerhard Petracek : > >> hi andreas, > >>

Re: CODI: Exclude windowId from certain pages

2012-11-29 Thread Gerhard Petracek
eat this until you are out of ids or the > server is out of memory ;-) > > This is whats happend in my application due to stress testing > > Regards > > > On Thu, Nov 29, 2012 at 11:03 PM, Gerhard Petracek < > gerhard.petra...@gmail.com> wrote: > > > hi andrea

Re: CODI: Exclude windowId from certain pages

2012-11-29 Thread Gerhard Petracek
hi andreas, first of all: welcome @ myfaces! there are different approaches - e.g. you can use urls with windowId=automatedEntryPoint (see the javadoc in WindowContextManager) regards, gerhard http://www.irian.at Your JSF/JavaEE powerhouse - JavaEE Consulting, Development and Courses in Engl

Re: Injection into filters with Tomcat

2012-11-26 Thread Gerhard Petracek
hi laurent, first of all: welcome @ myfaces! that isn't supported out-of-the-box (for filters). if you would like to do it on your own, you can have a look at the implementation of CodiUtils#tryToInjectFields . regards, gerhard http://www.irian.at Your JSF/JavaEE powerhouse - JavaEE Consulting

Re: Migration to TomEE/CDI complete, regression testing, ViewAccessScoped

2012-11-21 Thread Gerhard Petracek
hi howard, you can have a look at [1] (e.g. slide #9) the mentioned public application is using codi scopes like @ViewAccessScoped without any performance and/or memory issue. regards, gerhard [1] http://os890.blogspot.co.at/2012/11/slides-apache-myfaces-universe.html http://www.irian.at Your

Re: Migrating to CDI: injecting stateless/facade in Converter via facescontext

2012-11-21 Thread Gerhard Petracek
ble, is this jsf1.2 or jsf2.0? I > hope jsf2.0, since my app has been jsf2.1 ever since the start (a little > over 1 year ago). > > Thanks, > Howard > > > On Wed, Nov 21, 2012 at 4:40 AM, Gerhard Petracek < > gerhard.petra...@gmail.com> wrote: > >> hi howa

Re: Migrating to CDI: injecting stateless/facade in Converter via facescontext

2012-11-21 Thread Gerhard Petracek
username that matches username of my email address > (above). > > Hmmm, now I need to find out how I can get the latest snapshot. Can I > locate on Maven Central repository? > > Thanks, > Howard > > > On Wed, Nov 21, 2012 at 4:13 AM, Gerhard Petracek < > gerhard.pe

Re: Can start in debug, but not in release

2012-11-21 Thread Gerhard Petracek
> On 20/11/2012 20:16, Gerhard Petracek wrote: > >> hi ludovic, >> >> to get rid of >>"... no >> org.apache.myfaces.extensions.**cdi.core.api.provider.**BeanManagerProvider >> in >> place! ..." >> you have to ensure that all config

Re: Migrating to CDI: injecting stateless/facade in Converter via facescontext

2012-11-21 Thread Gerhard Petracek
e/EXTCDI> >- EXTCDI-302 <https://issues.apache.org/jira/browse/EXTCDI-302> > > > is a new issue that you just created and resolved per this email I just > sent? :) > > Thanks, > Howard > > > > On Wed, Nov 21, 2012 at 2:55 AM, Gerhard Petrac

Re: Migrating to CDI: injecting stateless/facade in Converter via facescontext

2012-11-20 Thread Gerhard Petracek
please have a look at [1] and [2]. regards, gerhard [1] https://issues.apache.org/jira/browse/EXTCDI-302 [2] http://people.apache.org/~gpetracek/myfaces/codi/demos/ http://www.irian.at Your JSF/JavaEE powerhouse - JavaEE Consulting, Development and Courses in English and German Professional Su

Re: MyFaces 2.1.9 / Glassfish 3.1.2.2: Migrating to CDI Managed Beans

2012-11-20 Thread Gerhard Petracek
with every email that I > send to the mailing list. > > I am still in the progress of migrating from Glassfish 3.1.2.2 and JSF > managed beans to TomEE/OpenEJB/OpenWebBeans/CDI, and apache user groups > have been a huge help so far. So thanks! :) > > Howard > > > On

Re: MyFaces 2.1.9 / Glassfish 3.1.2.2: Migrating to CDI Managed Beans

2012-11-20 Thread Gerhard Petracek
hi howard, @ codi (documentation and setup): see [1] (and e.g. [2]) + you can generate a simple demo e.g. with mvn archetype:generate -DarchetypeCatalog= http://people.apache.org/~gpetracek/myfaces/ (it's a subset of mvn archetype:generate -DarchetypeCatalog= http://myfaces.apache.org) and as su

Re: MyFaces 2.1.9 / Glassfish 3.1.2.2: Migrating to CDI Managed Beans

2012-11-17 Thread Gerhard Petracek
hi jose, just fyi: with tomee you don't need weld, because you get openwebbeans out-of-the-box. regards, gerhard http://www.irian.at Your JSF/JavaEE powerhouse - JavaEE Consulting, Development and Courses in English and German Professional Support for Apache MyFaces 2012/11/17 José Luis Cet

Re: @BeanValidation annotation at class level

2012-10-19 Thread Gerhard Petracek
restrictedGroupsForPropertyValidation, > modelValidationEntryList, > restrictedGroupsForModelValidation, > activeViewId, > processModelValidation); > > classToInspect = classToInspect.getSuperclass(); >

Re: @BeanValidation annotation at class level

2012-10-19 Thread Gerhard Petracek
me more information about the ProxyHelper? > > Regards, > Manuel > > > -----Ursprüngliche Nachricht- > Von: Gerhard Petracek [mailto:gerhard.petra...@gmail.com] > Gesendet: Freitag, 19. Oktober 2012 16:01 > An: MyFaces Discussion > Betreff: Re: @BeanValidation an

Re: @BeanValidation annotation at class level

2012-10-19 Thread Gerhard Petracek
could get a patch soon! > Thanx, > Manuel > > > > -Ursprüngliche Nachricht- > Von: Gerhard Petracek [mailto:gerhard.petra...@gmail.com] > Gesendet: Freitag, 19. Oktober 2012 13:19 > An: MyFaces Discussion > Betreff: Re: @BeanValidation annotation at class level > > hi manuel

Re: @BeanValidation annotation at class level

2012-10-19 Thread Gerhard Petracek
I also wonder a little why > ExtValBeanValidationMetaDataInternals#processClass does not use the > classToInspect (Unproxied Class) to gather the Annotations. If this method > would pass classToInspect instead of objectToInspect to the > #transferGroupValidationInformationToFo

Re: @BeanValidation annotation at class level

2012-10-18 Thread Gerhard Petracek
hi manuel, you can check it in ExtValBeanValidationMetaDataInternals# extractExtValBeanValidationMetaData (see #inspectFirstBean (= class level), #inspectFirstProperty, #inspectBaseOfProperty (= class level) and #inspectLastProperty) regards, gerhard http://www.irian.at Your JSF/JavaEE powerhou

Re: MyFaces ExtVal at WAS 8.0.0.4 - Call in violation of protocol

2012-10-08 Thread Gerhard Petracek
hi heiko, imo it isn't an issue in extval. you can check if both jar-files (extval-core and extval-bv-module) are packaged correctly (in the application). regards, gerhard http://www.irian.at Your JSF/JavaEE powerhouse - JavaEE Consulting, Development and Courses in English and German Profe

Re: CODI scoped beans @PreDestroy not running after redirect

2012-09-07 Thread Gerhard Petracek
hi brendan, in case of @javax.faces.bean.ViewScoped it looks like javax.faces.event.PreDestroyViewMapEvent doesn't get fired. in case of @ViewAccessScoped it's just not possible by definition to do it autom. (before the session expires) if you redirect to an external page, but you can use WindowCo

Re: EXTCDI/CODI: Message: Posibility to use messageContext.message() for a specific componentId?

2012-09-04 Thread Gerhard Petracek
hi heiko, first of all: welcome @ myfaces! currently it isn't supported out-of-the-box. (you would have to implement an own payload-type and a custom MessageHandler which is aware of the payload-type.) however, you are welcome to share your (concrete) use-case with us -> we can think about adding

Re: Apache CODI Bug in version 1.0.5

2012-08-28 Thread Gerhard Petracek
hi christian, please file a jira ticket and attach the demo there. thx & regards, gerhard 2012/8/28 Christian Beikov > Hello guys! > > I just found a "bug" in the CODI code and wanted to report that to you. In > The attachment you can find a maven WAR project that will show the error > when

Re: [EXTVAL] Disable ExtVal for specific pages

2012-07-10 Thread Gerhard Petracek
hi thomas, thx - i'll have a look at it. regards, gerhard http://www.irian.at Your JSF/JavaEE powerhouse - JavaEE Consulting, Development and Courses in English and German Professional Support for Apache MyFaces 2012/7/10 Thomas Andraschko > Hi, > > I created EXTVAL-145 and EXTVAL-146 wit

Re: Apache CODI and TomEE problem

2012-07-04 Thread Gerhard Petracek
hi martin, first of all: welcome @ myfaces! that's a tomee issue - there is nothing we can do about it in codi. please contact the tomee team. regards, gerhard http://www.irian.at Your JSF/JavaEE powerhouse - JavaEE Consulting, Development and Courses in English and German Professional Suppor

Re: CODI addParameter problem while using PrettyFaces and windowId is null

2012-07-04 Thread Gerhard Petracek
hi glister, first of all: welcome @ myfaces! you can compare your setup with [1]. also see threads like [2] and [3]. regards, gerhard [1] http://s.apache.org/0IZ [2] http://s.apache.org/bzs [3] http://s.apache.org/6WK http://www.irian.at Your JSF/JavaEE powerhouse - JavaEE Consulting, Develop

Re: Extval ClassCastException when displaying entities

2012-07-03 Thread Gerhard Petracek
but every > redeployment > is causing this error. > > > Gerhard Petracek wrote: > > > > hi markus, > > > > it looks like an issue with your environment (see [1]). however, please > > try > > the current snapshot of extval. > > > > regar

Re: DefaultErrorView

2012-06-26 Thread Gerhard Petracek
> its possible to use an interceptor (CODI Security) win a DefaultErrorView, > if yes why i alway's get Response already committed? > > Thanks > > > 2012/6/26 Gerhard Petracek > > > hi jose, > > > > yes - in a view-config @Secured is a simple annota

Re: DefaultErrorView

2012-06-26 Thread Gerhard Petracek
rise.context.ApplicationScoped > public class PermissionAccessDecisionVoter implements AccessDecisionVoter { > . > } > > If i use my @SecurityModule in ViewConfig my checkPermission never been > called, but if i use my @SecurityModule as interceptor (in my managedbean) > it wor

Re: DefaultErrorView

2012-06-25 Thread Gerhard Petracek
aEnum.CURSOS) > public class CursosMBean implements Serializable{ > > } > > > > 2012/6/25 Gerhard Petracek > > > hi jose, > > > > your secured bean should always get accessed before the rendering starts > > (e.g. via a PreRenderView callback). > >

Re: DefaultErrorView

2012-06-25 Thread Gerhard Petracek
hi jose, your secured bean should always get accessed before the rendering starts (e.g. via a PreRenderView callback). otherwise you get the exception during the rendering process. regards, gerhard http://www.irian.at Your JSF/JavaEE powerhouse - JavaEE Consulting, Development and Courses in En

Re: @Secured CODI

2012-06-25 Thread Gerhard Petracek
hi jose, we wrap ViewHandler#createView -> if your config is correct, it should work (you can check e.g. [1]). regards, gerhard [1] http://s.apache.org/SBP http://www.irian.at Your JSF/JavaEE powerhouse - JavaEE Consulting, Development and Courses in English and German Professional Support fo

Re: [EXTVAL] @Column.lenght -> h:inputText

2012-06-25 Thread Gerhard Petracek
tVal? > > Regards, > Thomas > > 2012/4/12 Thomas Andraschko > > > Hi, > > > > ok cool - i will try it! > > > > Thanks! > > > > > > 2012/4/12 Gerhard Petracek > > > >> hi thomas, > >> > >> that isn

Re: No active contexts for CODI on Weblogic 12c

2012-06-21 Thread Gerhard Petracek
> CODI works fine on weblogic 12c, but not working under directory > *autodeploy > * (for development). > > gerhard / rudy do you know something about it? > > On Wed, Jun 20, 2012 at 7:01 PM, Gerhard Petracek < > gerhard.petra...@gmail.com> wrote: > > > hi ma

Fwd: No active contexts for CODI on Weblogic 12c

2012-06-21 Thread Gerhard Petracek
-- Forwarded message -- From: Rudy De Busscher Date: 2012/6/21 Subject: Re: No active contexts for CODI on Weblogic 12c To: Gerhard Petracek Hi maicon, I have no access to the test machine for the moment. I'll have a look in the weekend what I changed/did to make it wo

Re: No active contexts for CODI on Weblogic 12c

2012-06-20 Thread Gerhard Petracek
es.extensions.cdi.core.api.scope.conversation.ConversationScoped > > > > at > > > org.jboss.weld.manager.BeanManagerImpl.getContext(BeanManagerImpl.java:600) > > at > > > org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:71) > > at >

Re: [CODI] redirect to ErrorView instead of Forward

2012-06-19 Thread Gerhard Petracek
s? > > Regards, > Thomas > > 2012/6/19 Gerhard Petracek > >> hi thomas, >> >> it used to cause issues with some >> constellations/use-cases/component-libs/... . >> >> before we do something about it: >> it would be nice if you just remove th

Re: [CODI] redirect to ErrorView instead of Forward

2012-06-19 Thread Gerhard Petracek
s works fine but it's only a workaround. > > Regards, > Thomas > > 2012/6/19 Gerhard Petracek > >> hi thomas, >> >> the ViewConfigAwareNavigationHandler will do the redirect (if needed). >> however, a navigation isn't possible at any p

Re: [CODI] redirect to ErrorView instead of Forward

2012-06-19 Thread Gerhard Petracek
> AFAICS CODI always use the NavigationHandler in > Security.processApplicationSecurityException which does a forward. > > Thanks, > Thomas > > 2012/6/19 Gerhard Petracek > >> hi thomas, >> >> you can use: >> @Page(navigation = Page.NavigationMode.REDIRECT) for any

Re: [CODI] redirect to ErrorView instead of Forward

2012-06-19 Thread Gerhard Petracek
hi thomas, you can use: @Page(navigation = Page.NavigationMode.REDIRECT) for any view-config. regards, gerhard 2012/6/19, Thomas Andraschko : > Hi, > > is it possible to send a redirect instead of forward for the ErrorView? > We cache some of our pages and sometimes the ErrorView will be cached

Re: CODI Page

2012-06-15 Thread Gerhard Petracek
didn't see it, Thanks a lot, i will remove the I prefix. > > > Can be a good idea that CODI support (with base path) the use of the > > > "I" > > > prefix or the "able" postfix for interfaces, as you know this is the > > > rigth > &g

Re: CODI Page

2012-06-14 Thread Gerhard Petracek
CODI with more than one level folder structure? > El 13/06/2012 21:35, "Gerhard Petracek" > escribió: > > > hi jose, > > > > right now it isn't supported (it doesn't get aggregated), because > basePath > > is more for exceptional/special cas

Re: CODI Page

2012-06-13 Thread Gerhard Petracek
hi jose, right now it isn't supported (it doesn't get aggregated), because basePath is more for exceptional/special cases. typically the used style is more like [1] (as you can see it's a simpler style - e.g. you don't need an explicit usage of @Page(name="myPageClassName") due to the default nami

Re: CODI No bean found for type

2012-05-17 Thread Gerhard Petracek
2012/5/18 José Luis Cetina > fixed in TomEE 1.0?? im using it and the problem still > > 2012/5/17 Gerhard Petracek > > > yes - they fixed the issue, added test-cases which should ensure the > > compatibility and we deployed several demos successfully. > > > &g

Re: CODI No bean found for type

2012-05-17 Thread Gerhard Petracek
54910.html > > > This is fixed in TomEE 1.0?? > > > > 2012/5/17 Gerhard Petracek > > > hi jose, > > > > it looks like myfaces-core gets started before owb in your case. > > > > regards, > > gerhard > > > > http://www.irian.

Re: CODI + TomEE

2012-05-17 Thread Gerhard Petracek
e-impl-1.0.5.jar > > CODI-myfaces-extcdi-jsf20-module-api-1.0.5.jar > > CODI-myfaces-extcdi-jsf20-module-impl-1.0.5.jar > > CODI-myfaces-extcdi-message-module-api-1.0.5.jar > > CODI-myfaces-extcdi-message-module-impl-1.0.5.jar > > > > Thanks again > > > &

Re: CODI No bean found for type

2012-05-17 Thread Gerhard Petracek
hi jose, it looks like myfaces-core gets started before owb in your case. regards, gerhard http://www.irian.at Your JSF/JavaEE powerhouse - JavaEE Consulting, Development and Courses in English and German Professional Support for Apache MyFaces 2012/5/18 José Luis Cetina > Im chanching my

Re: Re[2]: [CODI] ViewAccessScoped beans without windowId in URL

2012-05-13 Thread Gerhard Petracek
hi pavel, you can use ServerSideWindowHandler (see [1] which provides additional details - i linked the whole thread in my previous answer [2]). regards, gerhard [1] http://markmail.org/message/2chkos7y2vjmjpzy [2] http://s.apache.org/k4 http://www.irian.at Your JSF/JavaEE powerhouse - JavaEE

Re: [CODI] ViewAccessScoped beans without windowId in URL

2012-05-08 Thread Gerhard Petracek
hi pavel, you can have a look at a thread which starts at [1]. regards, gerhard [1] http://s.apache.org/Vv6 http://www.irian.at Your JSF/JavaEE powerhouse - JavaEE Consulting, Development and Courses in English and German Professional Support for Apache MyFaces 2012/5/8 Mark Struberg > H

Re: CODI + TomEE

2012-04-26 Thread Gerhard Petracek
hi jose, that's a known (and fixed) issue in tomee - details are available at [1]. (it's also mentioned in our wiki at [2]). regards, gerhard [1] http://os890.blogspot.com/2012/01/codi-meets-tomee.html [2] https://cwiki.apache.org/confluence/display/EXTCDI/Intro#Intro-Servers http://www.irian.a

Re: @Secured and Stereotypes

2012-04-21 Thread Gerhard Petracek
e to add: org.apache.myfaces.extensions.cdi.jsf.impl.security.SecurityInterceptor regards, gerhard http://www.irian.at Your JSF/JavaEE powerhouse - JavaEE Consulting, Development and Courses in English and German Professional Support for Apache MyFaces 2012/4/20 Gerhard Petracek > hi jose, > > i've te

Re: @Secured and Stereotypes

2012-04-20 Thread Gerhard Petracek
method: getConversationTimeoutInMinutes > >value: 30 > >method: isScopeBeanEventEnabled > >value: false > >method: isAccessBeanEventEnabled > >value: false > >method: isUnscopeBeanEventEnabled > >value: false > > MessageContextConfig class: > > > org.apache.myfaces.extensions.cdi.message.impl.DefaultMessageContextConfig > >Messa

  1   2   3   4   5   6   >