Re: [ANNOUNCE] MyFaces Core v2.3.0 Release

2018-03-12 Thread Kito Mann
Congrats! Great to see.

___

Kito D. Mann | @kito99 | Java Champion | LinkedIn

Expert training and consulting: PrimeFaces, PrimeNG, JSF, Java EE, Polymer,
Web Components, Angular
Virtua, Inc. | virtua.tech
JSFCentral.com | @jsfcentral
+1 203-998-0403 <(203)%20998-0403>

* Listen to the Enterprise Java Newscast: http://enterprisejavanews.com



On Mon, Mar 12, 2018 at 9:28 AM, Eduardo B  wrote:

> The Apache MyFaces team is pleased to announce the release of MyFaces Core
> 2.3.0.
>
> MyFaces Core is a JavaServer(tm) Faces 2.3 implementation as specified by
> JSR-372.
>
> MyFaces Core 2.3.0 is available in both binary and source distributions.
>
> * http://myfaces.apache.org/download.html
>
> MyFaces Core is also available in the central Maven repository under Group
> ID "org.apache.myfaces.core".
>
> Release Notes - MyFaces Core - Version 2.3.0 can be found in the following
> link: https://issues.apache.org/jira/secure/ReleaseNote.jspa?
> projectId=10600&version=12339569
>
> Regards,
> Eduardo M. Breijo
>


[ANNOUNCE] Enterprise Java Newscast - Episode 38

2018-01-12 Thread Kito Mann
The Enterprise Java Newscast, hosted by Kito D. Mann, Ian Hlavats, and
Daniel Hinojosa, is a monthly podcast that covers the latest headlines in
the world of enterprise software development.

In this episode, Kito, Danno, and Ian discuss microservices, MicroProfile,
Java EE, Wildfly, ActiveMQ, KeyCloak, OpenShift, and Docker with special
guest Steven Pousty, Head of Developer Advocacy for Red Hat.  They also
discuss Polymer with TypeScript, Angular 5, Getting Things Done, the
Pomodoro Technique, Eclipse Che, and more.

Listen to the podcast here:
http://enterprisejavanews.com/episode-38-dec-2017
___

Kito D. Mann | @kito99 | Java Champion | LinkedIn

Expert training and consulting: PrimeFaces, PrimeNG, JSF, Java EE, Polymer,
Web Components, Angular
Virtua, Inc. | virtua.tech
JSFCentral.com | @jsfcentral
+1 203-998-0403 <(203)%20998-0403>

* Listen to the Enterprise Java Newscast: http://enterprisejavanews.com


[ANNOUNCE] Enterprise Java Newscast - Episode 37 - Nov 2017

2017-11-29 Thread Kito Mann
The Enterprise Java Newscast, hosted by Kito D. Mann, Ian Hlavats, and
Daniel Hinojosa, is a monthly podcast that covers the latest headlines in
the world of enterprise software development.

In this episode, Kito, Danno, and Ian discuss all things Java, Java EE, and
JavaOne with special guest JavaOne Rockstar and Java Guardian Reza Rahaman.
They also discuss Microprofile, Angular 5, and more.

Unfortunately, the video for this podcast was truncated about 1/2 way
through the podcast, but if still want to watch it, it is available on
YouTube.

Listen to the podcast here:
http://enterprisejavanews.com/episode-37-nov-2017

___


Kito D. Mann | @kito99 | Java Champion | LinkedIn

Expert training and consulting: PrimeFaces, PrimeNG, JSF, Java EE, Polymer,
Web Components, Angular
Virtua, Inc. | virtua.tech
JSFCentral.com | @jsfcentral
+1 203-998-0403 <(203)%20998-0403>

* Listen to the Enterprise Java Newscast: http://enterprisejavanews.com


[ANNOUNCE] Enterprise Java Newscast - Episode 36 - Oct 2017

2017-10-25 Thread Kito Mann
The Enterprise Java Newscast, hosted by Kito D. Mann, Ian Hlavats, and
Daniel Hinojosa, is a monthly podcast that covers the latest headlines in
the world of enterprise software development.

Due to a variety of circumstances (including the move to Libsyn for
hosting), this episode is being posted late. It was originally recorded in
September, 2017.

In this episode, Kito, Danno, and Ian discuss the Equifax hack (caused by
an unpatched version of Struts), news from the Polymer Summit, Oracle’s
donation of Java EE to Eclipse, Docker in-depth, and more.

Listen to the Podcast here:
http://enterprisejavanews.com/enterprise-java-newscast-episode-36-oct-2017



Kito D. Mann | @kito99 | Author, JSF in Action
Web Components, Polymer, JSF, PrimeFaces, Java EE, and Liferay training and
consulting
Virtua, Inc. | virtua.tech
JSFCentral.com | @jsfcentral
+1 203-998-0403
Listen to the Enterprise Java Newscast: http://enterprisejavanews.com


[ANNOUNCE] Enterprise Java Newscast - Episode 34

2017-04-28 Thread Kito Mann
The Enterprise Java Newscast, hosted by Kito D. Mann, Ian Hlavats, and
Daniel Hinojosa, is a monthly podcast that covers the latest headlines,
trends, and technologies in the world of enterprise software development.
In this episode, Kito and Danno discuss JSF, Polymer, BootsFaces, Java EE
8, microprofile.io, AWS S3 going down, and more.

Listen to the podcast here:
http://enterprisejavanews.com/home/-/blogs/enterprise-java-newscast-episode-34-april-20-1


___

Kito D. Mann | @kito99 | Author, JSF in Action
Web Components, Polymer, JSF, PrimeFaces, Java EE training and consulting
Virtua, Inc. | virtua.tech
JSFCentral.com | @jsfcentral | knowesis.io - fresh Web Components info
+1 203-998-0403

* See me speak at the ng-conf April 5th-8th: http://bit.ly/2mw7HBj

* Listen to the Enterprise Java Newscast: http://enterprisejavanews.com


[ANNOUNCE] Enterprise Java Newscast - Episode 32 with Arun Gupta

2016-06-17 Thread Kito Mann
The Enterprise Java Newscast, hosted by Kito D. Mann, Ian Hlavats, and
Daniel Hinojosa, is a monthly podcast that covers the latest headlines in
the world of Enterprise Java development.

This episode features a lively discussion with Kito, Daniel, and special
guest Java Champion Arun Gupta. They discuss a variety of topics, including
Docker, Kubernetes, the future of Java EE, Couchbase, the impact of
removing a popular NPM package, health and fitness, and more.

Listen to the podcast here:
http://enterprisejavanews.com/home/-/blogs/enterprise-java-newscast-episode-32-mar-2016

___

Kito D. Mann | @kito99 | Author, JSF in Action
Web Components, Polymer, JSF, PrimeFaces, Java EE, and Liferay training and
consulting
Virtua, Inc. | virtua.tech
JSFCentral.com | @jsfcentral | knowesis.io
 - fresh Web Components info
+1 203-998-0403

* Listen to the Enterprise Java Newscast: *http://
enterprisejavanews.com
*


[ANNOUNCE] Enterprise Java Newscast - Episode 30 - December 2015

2015-12-28 Thread Kito Mann
I am pleased to announce a new episode of the Enterprise Java Newscast.

The Enterprise Java Newscast, hosted by Kito D. Mann, Ian Ilavats, and
Daniel Hinojosa, is a monthly podcast that covers the latest headlines in
the world of Enterprise Java Development.

In this episode, Kito, Daniel, Ian and special guest Venkat Subramaniam
discuss a wide variety of topics including JavaOne, Java lambdas,
microservices, ES2015’s class syntax, and his new book, Pragmatic Scala
(the second edition of Programming Scala). In fact, the discussion was so
great that we skipped the new releases! They are, however, included here
for your reference.

Listen to the Podcast here:

http://content.jsfcentral.com/documents/291805/291830/The+Enterprise+Java+Newscast-Episode+30-Dec+2015.mp3/a2899be6-e5e9-4dd3-a4d3-2a6de39b7c11
___

Kito D. Mann | @kito99 | Author, JSF in Action
Web Components, Polymer, JSF, PrimeFaces, Java EE, and Liferay training and
consulting
Virtua, Inc. | virtua.tech
JSFCentral.com | @jsfcentral
+1 203-998-0403

* Listen to the Enterprise Java Newscast: *http://
enterprisejavanews.com
*


Re: ViewExpiredException: No saved view state could be found for the view identifier

2015-11-20 Thread Kito Mann
It sounds like Jetty's cookie session setting isn't working correctly. Try
looking at the request and response headers to see if it's being set. If
not, you'll need to figure out why Jetty isn't setting it correctly.

On Thursday, November 19, 2015, Jojada Tirtowidjojo 
wrote:

> Hi All,
>
> I am new to JSF and Myfaces and need answers or pointers that can help me
> fix the problem I am currently having. Would you please help ?
>
> My application embeds a Jetty 9.3.6 server and uses the Apache MyFaces
> 2.2.8. It runs well with the Jetty default session tracking modes: URL and
> COOKIE but a problem arises when I change the tracking mode to 'COOKIE'
> only. As soon as I submit login details from the login page I receive the
> following exception:
>
> javax.faces.application.ViewExpiredException: /pages/login.rs - No
> saved view state could be found for the view identifier:
> /pages/login.rs
> at
> org.apache.myfaces.lifecycle.RestoreViewExecutor.execute(RestoreViewExecutor.java:183)
> at
> org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:196)
> at
> org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:143)
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
> at
> org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:821)
> at
> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1685)
> at
> org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:357)
> at
> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)
> at
> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581)
> at
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
> at
> org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
> at
> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
> at
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1158)
> at
> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
> at
> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
> at
> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1090)
> at
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
> at
> org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:109)
> at
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:119)
> at org.eclipse.jetty.server.Server.handle(Server.java:517)
> at
> org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:308)
> at
> org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:242)
> at
> org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:261)
> at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
> at
> org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75)
> at
> org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:213)
> at
> org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:147)
> at
> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
> at
> org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
> at java.lang.Thread.run(Thread.java:745)
>
> Tracing the Myfaces code suggests that the previously saved
> SerializedViewCollection object in the servlet session, somehow, has gone
> missing during an attempt to restore the login view.
>
> Any comment, answer, and/or pointer is very much appreciated.
>
> Cheers,
>


-- 
___

Kito D. Mann | @kito99 | Author, JSF in Action
Web Components/Polymer, JSF/Java EE, and Liferay training and consulting
Virtua, Inc. | http://www.virtua.com |
http://www.JSFCentral.com | @jsfcentral
+1 203-998-0403

* Listen to the Enterprise Java Newscast: *http://
enterprisejavanews.com
*


[ANNOUNCE] Enterprise Java Newscast - Episode 29 - August 2015

2015-08-17 Thread Kito Mann
Hello,

I am pleased to announce a new episode of the Enterprise Java Newscast.

The Enterprise Java Newscast, hosted by Kito D. Mann, Ian Hlavats, and
Daniel Hinojosa, is a monthly podcast that covers the latest headlines in
the world of Enterprise Java development.

In this episode, Kito, Daniel and Ian discuss the challenges of programming
with different languages plus new releases from JBoss, Spring, PrimeFaces,
RichFaces, TypeScript, git, WebSphere, and more.  They also discuss the
rise of TypeScript as a popular alternative to other JavaScript transpiler
languages, and the possibility that web assemblies will marginalize
JavaScript altogether.

Listen to the Podcast here:
http://blogs.jsfcentral.com/JSFNewscast/entry/enterprise_java_newscast_episode_29http://blogs.jsfcentral.com/JSFNewscast/entry/enterprise_java_newscast_episode_29
___

Kito D. Mann | @kito99 | Author, JSF in Action
Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and consulting
http://www.JSFCentral.com | @jsfcentral
+1 203-998-0403

* Listen to the Enterprise Java Newscast: *http://
enterprisejavanews.com
*
* JSFCentral Interviews Podcast:
http://www.jsfcentral.com/resources/jsfcentralpodcasts/
* Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17


[ANNOUNCE] Enterprise Java Newscast - Episode 27 - May 2015

2015-05-20 Thread Kito Mann
Hello,

I am pleased to announce a new episode of the Enterprise Java Newscast.

The Enterprise Java Newscast, hosted by Kito D. Mann, Ian Hlavats, and
Daniel Hinojosa, is a monthly podcast that covers the latest headlines in
the world of Enterprise Java development.

In this episode, Kito and Daniel are joined by special guest Seb Rose
(co-author of The Cucumber for Java Book: Behavior Driven Development for
Testers and Developers).  They discuss new releases from Polymer, ICEfaces,
PrimeFaces, JBoss EAP, SonarCube, Pitest, IntelliJ IDEA, Serenity, and
more.  They also discuss Behavior-driven-testing (BDD), Cucumber, Geb,
Spock, and Test-Driven Development (TDD).

Listen to the Podcast here:
http://blogs.jsfcentral.com/JSFNewscast/entry/episode_27_enterprise_java_newscast

___

Kito D. Mann | @kito99 | Author, JSF in Action
Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and consulting
http://www.JSFCentral.com | @jsfcentral
+1 203-998-0403

* Listen to the Enterprise Java Newscast: *http://
enterprisejavanews.com
*
* JSFCentral Interviews Podcast:
http://www.jsfcentral.com/resources/jsfcentralpodcasts/
* Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17


[ANNOUNCE] Enterprise Java Newscast - Episode 26 - March 2015

2015-04-09 Thread Kito Mann
Hello,

I am pleased to announce a new episode of the Enterprise Java Newscast.

The Enterprise Java Newscast, hosted by Kito D. Mann, Ian Hlavats, and
Daniel Hinojosa, is a monthly podcast that covers the latest headlines in
the world of Enterprise Java development.

In this episode, Kito, Ian, and Daniel cover new releases from Oracle,
PrimeFaces, RichFaces, Hibernate, Spring, Apache, and more.  They also
discuss AngularJS 2.0's decision to use TypeScript, Microsoft dropping IE,
and testing with Selenium and Geb.

Listen to the Podcast here:
http://blogs.jsfcentral.com/JSFNewscast/entry/episode_26_enterprise_java_newscast

___

Kito D. Mann | @kito99 | Author, JSF in Action
Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and consulting
http://www.JSFCentral.com | @jsfcentral
+1 203-998-0403

* Listen to the Enterprise Java Newscast: *http://
enterprisejavanews.com
*
* JSFCentral Interviews Podcast:
http://www.jsfcentral.com/resources/jsfcentralpodcasts/
* Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17


[ANNOUNCE] ENTERPRISE JAVA NEWSCAST - FEBRUARY 2015

2015-02-24 Thread Kito Mann
Hello,

I am pleased to announce a new episode of the Enterprise Java Newscast.

The Enterprise Java Newscast, hosted by Kito D. Mann, Ian Hlavats, and
Daniel Hinojosa, is a monthly podcast that covers the latest headlines in
the world of enterprise Java development.

In this episode, Kito and Daniel cover new releases from HighFaces,
GISFaces, Spring, Java SE/ME, WebSphere, Arquillian, Apache, and more.
They also discuss Microsoft's new Spartan browser and Pivotal's decision to
stop sponsoring Groovy and Grails.

Listen to the Podcast here:
http://blogs.jsfcentral.com/JSFNewscast/

___

Kito D. Mann | @kito99 | Author, JSF in Action
Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and consulting
http://www.JSFCentral.com | @jsfcentral
+1 203-998-0403

* Listen to the Enterprise Java Newscast: *http://
enterprisejavanews.com
*
* JSFCentral Interviews Podcast:
http://www.jsfcentral.com/resources/jsfcentralpodcasts/
* Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17


[ANNOUNCE] Enterprise Java Newscast - Episode 24 - January 2015

2015-01-27 Thread Kito Mann
Hello,

I am pleased to announce a new episode of the Enterprise Java Newscast.

The Enterprise Java Newscast, hosted by Kito D. Mann, Ian Hlavats, and
Daniel Hinojosa, is a monthly podcast that covers the latest headlines in
the world of Enterprise Java development.  This time they are joined by
Oracle JavaEE Technical Evangelist Reza Rahman.

In this episode, Kito, Ian, Daniel and Reza cover new Enterprise Java
releases, including Jersey, RichFaces, AngularJS, TypeScript, JMS, Akka,
Spring, Hibernate OGM, JSF, Scala and more.  They also discuss Oracle's new
Alta UI project, as well as Adopt-a-JSR, JavaOne videos, and more.

Listen to the Podcast here:
http://blogs.jsfcentral.com/JSFNewscast/entry/episode_24_enterprise_java_newscast

___

Kito D. Mann | @kito99 | Author, JSF in Action
Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and consulting
http://www.JSFCentral.com | @jsfcentral
+1 203-998-0403

* Listen to the Enterprise Java Newscast: *http://
enterprisejavanews.com
*
* JSFCentral Interviews Podcast:
http://www.jsfcentral.com/resources/jsfcentralpodcasts/
* Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17


[ANNOUNCE] Enterprise Java Newscast - Episode 23 - December 2014

2015-01-13 Thread Kito Mann
Hello,

I am pleased to announce a new episode of the Enterprise Java Newscast.

The Enterprise Java Newscast, hosted by Kito D. Mann, Ian Hlavats, and
Daniel Hinojosa, is a monthly podcast that covers the latest headlines in
the world of Enterprise Java development.

In this episode, Kito, Ian, and Daniel cover new releases of AngularJS,
PrimeFaces, MyFaces, Bootstrap, Hadoop, Spring Roo, Tomcat, Arquillian,
Spring Framework, Spring Integration, Akka, Solr, Lucene, and more. They
also discuss the forking of Node.js, microservices vs app servers, and a
recent blog post about why you shouldn't use JSF.

Listen to the Podcast here:
http://blogs.jsfcentral.com/JSFNewscast/entry/enterprise_java_newscast_episode_23#.VJjaI14AKA

___

Kito D. Mann | @kito99 | Author, JSF in Action
Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and consulting
http://www.JSFCentral.com | @jsfcentral
+1 203-998-0403

* Listen to the Enterprise Java Newscast: *http://
enterprisejavanews.com
*
* JSFCentral Interviews Podcast:
http://www.jsfcentral.com/resources/jsfcentralpodcasts/
* Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17


[ANNOUNCE] JSFCentral Episode 33: Manfred Riem discusses JSF 2.3, MVC 1.0, and Mojarra

2014-12-01 Thread Kito Mann
Hello,

I'm pleased to announce a new podcast on JSFCentral.com.  In this
interview, I talk with Manfred Riem about his favorite features in JSF 2.2,
what it's like working on the Mojarra JSF implementation, upcoming features
in JSF 2.3, and the new MVC 1.0 JSR.

Read the entire interview here:
http://content.jsfcentral.com/c/journal/view_article_content?cmd=view&groupId=35702&articleId=212918&version=2.0#.VH0kxDHF-Sp

___

Kito D. Mann | @kito99 | Author, JSF in Action
Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and consulting
http://www.JSFCentral.com | @jsfcentral
+1 203-998-0403

* Listen to the Enterprise Java Newscast: *http://
enterprisejavanews.com
*
* JSFCentral Interviews Podcast:
http://www.jsfcentral.com/resources/jsfcentralpodcasts/
* Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17


Re: ViewScoped bean created multiple times?

2014-11-07 Thread Kito Mann
OK. What version do you have in your faces-config.xml file? Also, do you
have javax.faces.PARTIAL_STATE_SAVING set to false in web.xml?

___

Kito D. Mann | @kito99 | Author, JSF in Action
Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and consulting
http://www.JSFCentral.com | @jsfcentral
+1 203-998-0403

* Listen to the Enterprise Java Newscast: *http://
<http://blogs.jsfcentral.com/JSFNewscast/>enterprisejavanews.com
<http://ww.enterprisejavanews.com>*
* JSFCentral Interviews Podcast:
http://www.jsfcentral.com/resources/jsfcentralpodcasts/
* Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17

On Fri, Nov 7, 2014 at 4:09 PM, Bjørn T Johansen  wrote:

> No bindings...  And using Myfaces 2.2.5
>
> BTJ
>
> On Fri, 7 Nov 2014 15:57:00 -0500
> Kito Mann  wrote:
>
> > Hello Bjorn,
> >
> > Do you have component bindings in your page (i.e  > binding="#{myBean.comp}"/>)? That causes the exact behavior you're
> > describing in versions of JSF prior to 2.2. What version of MyFaces are
> you
> > using?
> >
> > ___
> >
> > Kito D. Mann | @kito99 | Author, JSF in Action
> > Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and
> consulting
> > http://www.JSFCentral.com | @jsfcentral
> > +1 203-998-0403
> >
> > * Listen to the Enterprise Java Newscast: *http://
> > <http://blogs.jsfcentral.com/JSFNewscast/>enterprisejavanews.com
> > <http://ww.enterprisejavanews.com>*
> > * JSFCentral Interviews Podcast:
> > http://www.jsfcentral.com/resources/jsfcentralpodcasts/
> > * Sign up for the JSFCentral Newsletter:
> http://oi.vresp.com/?fid=ac048d0e17
> >
> > On Fri, Nov 7, 2014 at 3:42 PM, Bjørn T Johansen  wrote:
> >
> > > I trying to create a webapplication using request and/or viewscope
> instead
> > > of sessionscope, which I have always used... (Neved needed to concern
> > > myself with memory usage in the apps I have implemented.. :) )
> > > But I now have a problem using @ViewScoped..
> > > When I access index.xhtml which uses a managed bean in viewscope, the
> > > constructor is called multiple times. And the same with an init
> method, that
> > > should be called only once. I am using..:
> > >
> > > 
> > > 
> > > 
> > >
> > > ..
> > >
> > > to call the init method, but I have also tried using f:event
> prerenderView
> > > and also @PostConstruct but I am not able to make the bean call the
> init
> > > method only once...
> > >
> > > What am I missing?
> > >
> > >
> > > Regards,
> > >
> > > BTJ
> > > --
> > >
> > >
> ---
> > > Bjørn T Johansen
> > >
> > > b...@havleik.no
> > >
> > >
> ---
> > > Someone wrote:
> > > "I understand that if you play a Windows CD backwards you hear strange
> > > Satanic messages"
> > > To which someone replied:
> > > "It's even worse than that; play it forwards and it installs Windows"
> > >
> > >
> ---
> > >
>


Re: ViewScoped bean created multiple times?

2014-11-07 Thread Kito Mann
Hello Bjorn,

Do you have component bindings in your page (i.e )? That causes the exact behavior you're
describing in versions of JSF prior to 2.2. What version of MyFaces are you
using?

___

Kito D. Mann | @kito99 | Author, JSF in Action
Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and consulting
http://www.JSFCentral.com | @jsfcentral
+1 203-998-0403

* Listen to the Enterprise Java Newscast: *http://
enterprisejavanews.com
*
* JSFCentral Interviews Podcast:
http://www.jsfcentral.com/resources/jsfcentralpodcasts/
* Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17

On Fri, Nov 7, 2014 at 3:42 PM, Bjørn T Johansen  wrote:

> I trying to create a webapplication using request and/or viewscope instead
> of sessionscope, which I have always used... (Neved needed to concern
> myself with memory usage in the apps I have implemented.. :) )
> But I now have a problem using @ViewScoped..
> When I access index.xhtml which uses a managed bean in viewscope, the
> constructor is called multiple times. And the same with an init method, that
> should be called only once. I am using..:
>
> 
> 
> 
>
> ..
>
> to call the init method, but I have also tried using f:event prerenderView
> and also @PostConstruct but I am not able to make the bean call the init
> method only once...
>
> What am I missing?
>
>
> Regards,
>
> BTJ
> --
>
> ---
> Bjørn T Johansen
>
> b...@havleik.no
>
> ---
> Someone wrote:
> "I understand that if you play a Windows CD backwards you hear strange
> Satanic messages"
> To which someone replied:
> "It's even worse than that; play it forwards and it installs Windows"
>
> ---
>


[ANNOUNCE] Enterprise Java Newscast - Episode 22 - October 2014

2014-10-30 Thread Kito Mann
Hello,

I am pleased to announce a new episode of the Enterprise Java Newscast on
JSFCentral.com.

The Enterprise Java Newscast, hosted by Kito D. Mann, Ian Hlavats, and
Daniel Hinojosa, is a monthly podcast that covers the latest headlines in
the world of Enterprise Java development.

In this episode, Kito, Ian, and Daniel discuss JavaOne, JSF, web
frameworks, mobile development, Internet of Things, and New JBoss, Apache,
PrimeFaces, Spring, MySQL, and TypeSafe releases.

Listen to the podcast here:
http://blogs.jsfcentral.com/JSFNewscast/entry/enterprise_java_newscast_episode_22#.VE7wEmBOVLM

If you have feedback on the new format, please let us know.

___

Kito D. Mann | @kito99 | Author, JSF in Action
Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and consulting
http://www.JSFCentral.com | @jsfcentral
+1 203-998-0403

* Listen to the Enterprise Java Newscast: *http://
enterprisejavanews.com
*
* JSFCentral Interviews Podcast:
http://www.jsfcentral.com/resources/jsfcentralpodcasts/
* Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17


Re: catch faces message with js?

2014-10-21 Thread Kito Mann
Hello Karl,

As Thomas said, it's just a rendering issue, and writing a Renderer is
pretty simple (at least for Messages). PimeFaces is open source so you can
even look at their Growl component renderer for an example.

___

Kito D. Mann | @kito99 | Author, JSF in Action
Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and consulting
http://www.JSFCentral.com | @jsfcentral
+1 203-998-0403

* Listen to the Enterprise Java Newscast: *http://
enterprisejavanews.com
*
* JSFCentral Interviews Podcast:
http://www.jsfcentral.com/resources/jsfcentralpodcasts/
* Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17

On Tue, Oct 21, 2014 at 7:29 AM, Thomas Andraschko <
andraschko.tho...@gmail.com> wrote:

> Hi Karl,
>
> just have a look at p:growl - we use an own renderer there.
> You can also overwrite the h:message/h:messages renderer of course.
>
> Regards,
> Thomas
>
> 2014-10-21 13:26 GMT+02:00 Karl Kildén :
>
> > Hello,
> >
> > I want to implement my faces messages with
> > http://codeseven.github.io/toastr/ How can I best do this? can I listen
> to
> > some js event or server side event?
> >
> > cheers
> >
>


[ANNOUNCE] Enterprise Java Newscast - Episode 21 - August 2014

2014-09-05 Thread Kito Mann
Hello,

I am pleased to announce a new episode of the Enterprise Java Newscast on
JSFCentral.com.

The Enterprise Java Newscast, hosted by Kito D. Mann, Ian Hlavats, and
Daniel Hinojosa, is a monthly podcast that covers the latest headlines in
the world of Enterprise Java development.

In this episode, Kito, Ian, and Daniel change up the format to involve more
discussion.  They discuss the new Java EE JSRs (JSF, JMS, Servlet, CDI,
Java API for JSON Binding, etc.) plus entirely new proposals such as MVC
and Java API for JSON Binding.  Other topices include RichFaces,
PrimeFaces, Apache TomEE, Delta Spike, QUnit, Angular.js. Hibernate OGM,
Spring Boot, JBoss Errai, and more, plus upcoming conferences.

Listen to the Podcast here:
http://content.jsfcentral.com/documents/35702/35731/The+Enterprise+Java+Newscast-Episode+21-Aug+2014.mp3/0c14b16c-b20f-4501-8773-35a0cc7b99ee

If you have feedback on the new format, please let us know.


___

Kito D. Mann | @kito99 | Author, JSF in Action
Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and consulting
http://www.JSFCentral.com | @jsfcentral
+1 203-998-0403

* Listen to the Enterprise Java Newscast: *http://w
ww.enterprisejavanews.com
*
* JSFCentral Interviews Podcast:
http://www.jsfcentral.com/resources/jsfcentralpodcasts/
* Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17


[ANNOUNCE] JSFCentral Episode 32: Shay Shmeltzer discusses Oracle's ADF Mobile and ADF Faces Rich Client

2014-05-16 Thread Kito Mann
Hello,

I'm pleased to announce a new podcast on JSFCentral.com.  In this
interview, I talk with Shay Shmeltzer about Oracle's ADF Mobile, ADF Faces
Rich Client, and Oracle's extensive use of JSF in its products.  Shay is
director of product management for Oracle's mobile and development tools
and frameworks.

Read the entire interview here:
http://content.jsfcentral.com/c/journal_articles/view_article_content?groupId=35702&articleId=171661&version=1.6#.U3Lgwq1dWDo


___

Kito D. Mann | @kito99 | Author, JSF in Action
Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and consulting
http://www.JSFCentral.com | @jsfcentral
+1 203-998-0403

* Listen to the Enterprise Java Newscast: *http://w
ww.enterprisejavanews.com
*
* JSFCentral Interviews Podcast:
http://www.jsfcentral.com/resources/jsfcentralpodcasts/
* Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17


[ANNOUNCE] Enterprise Java Newscast - Episode 20 - May 2014

2014-05-16 Thread Kito Mann
Hello,

I am pleased to announce a new episode of the Enterprise Java Newscast on
JSFCentral.com.

The Enterprise Java Newscast, hosted by Kito D. Mann, Ian Hlavats, and
Daniel Hinojosa, is a monthly podcast that covers the latest headlines in
the world of Enterprise Java development.

In this episode, Kito, Ian, and Daniel discuss new releases from Spring,
JBoss, ICEsoft, PrimeFaces, Apache, IBM, and TypeSafe.  They also discuss
build tools, the future of JSF, Daniel's languagematrix project, and the
Mojarra web site.

Read the newscast here:
http://blogs.jsfcentral.com/JSFNewscast/entry/enterprise_java_newscast_episode_20#.U3UdVGBOWvE



___

Kito D. Mann | @kito99 | Author, JSF in Action
Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and consulting
http://www.JSFCentral.com | @jsfcentral
+1 203-998-0403

* Listen to the Enterprise Java Newscast: *http://w
ww.enterprisejavanews.com
*
* JSFCentral Interviews Podcast:
http://www.jsfcentral.com/resources/jsfcentralpodcasts/
* Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17


[ANNOUNCE] Enterprise Java Newscast - Episode 19 - Mar 2014

2014-03-26 Thread Kito Mann
Hello,

I am pleased to announce a new episode of the Enterprise Java Newscast on
JSFCentral.com.

The Enterprise Java Newscast, hosted by Kito D. Mann, Ian Hlavats, and
Daniel Hinojosa, is a monthly podcast that covers the latest headlines in
the world of Enterprise Java development.

In this episode, Kito, Ian, and Daniel cover new releases from Spring,
MyFaces, TypeSafe, JBoss, Oracle, and Apache.  They also discuss the
Thoughtworks Technology Radar, the state of JavaServer Faces, Angular.js,
Eclipse, and more.

Read the newscast here:
http://blogs.jsfcentral.com/JSFNewscast/entry/enterprise_java_newscast_episode_19
___

Kito D. Mann | @kito99 | Author, JSF in Action
Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and consulting
http://www.JSFCentral.com | @jsfcentral
+1 203-998-0403

* Listen to the Enterprise Java Newscast: *http://w
ww.enterprisejavanews.com
*
* JSFCentral Interviews Podcast:
http://www.jsfcentral.com/resources/jsfcentralpodcasts/
* Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17


2.2 stability

2014-03-09 Thread Kito Mann
Hello everyone,

For those of you who have had a chance to kick the tires with 2.2, how
stable is it so far?

For the developers, can you give me a sense of how much of the code base
was touched for this release? I'm trying to evaluate whether or not it's
ready for one of my clients (it will be hard sale, since it's so new).
___

Kito D. Mann | @kito99 | Author, JSF in Action
Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and consulting
http://www.JSFCentral.com | @jsfcentral
+1 203-998-0403

* Listen to the Enterprise Java Newscast: *http://w
ww.enterprisejavanews.com
*
* JSFCentral Interviews Podcast:
http://www.jsfcentral.com/resources/jsfcentralpodcasts/
* Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17


Re: Composite component does not render

2014-02-13 Thread Kito Mann
Hello Johannesburg,

Your namespace is incorrect. It should be:

xmlns:meg="http://java.sun.com/jsf/composite/components/topNav";


Assuming that you the folder [Web root]/resources/components/topNav is
where your component is.

On Thursday, February 13, 2014, Johannes Murth 
wrote:

> See
>
> http://stackoverflow.com/questions/21582937/composite-component-in-jsf-2-2-will-not-render/21757729#21757729
>


Re: @FlowScoped, @Named and @ManagedBean

2014-02-12 Thread Kito Mann
Thanks for the info, Karl. Good to know.

On Wednesday, February 12, 2014, Karl Kildén  wrote:

> This question has been raised on the mailing list several times. The answer
> is always the same:
> Released functionality is mature and stable. 0.X indicates that the API
> might change but so far this has happened like 1-2 times I think and
> probably took 2 minutes to fix for depending projects. The actual impl is
> stable though.
>
> By following the discussion on the mailing list it's quite clear that they
> put effort into not only porting CODI but to enhance it as well. I have
> Deltaspike in production for many, many months with no issues (all though
> not 0.6-SNAPSHOT). And you can assume it's going to be more tested then
> code you include yourself to do something similar.
>
> The parts regarding JSF is stable for 0.6 so getting the support from a
> SNAPSHOT right now and replace with stable release later is not a very
> adventurous.
>
> These are the docs for getting started:
> http://deltaspike.apache.org/jsf.html
>
> cheers
>
>
> On 12 February 2014 11:33, Howard W. Smith, Jr. 
> 
> >wrote:
>
> > On Feb 12, 2014 1:40 AM, "Karl Kildén"  wrote:
> > >
> > > Deltaspike modules have consistently been usable off the shelf and
> would
> > be
> > > a far better solution then doing tricks to make CODI work.
> >
> > +1
> >
> > >
> > > However using JSF stuff would require you to use 0.6-SNAPSHOT. I would
> > > actually just use @SessionScoped, write a TODO and wait for 0.6 release
> > if
> > > I could. Otherwise I would use SNAPSHOT since the JSF stuff is all
> fixed
> > > for 0.6 afaik.
> >
> > When I experimented with CODI, I used 1.0.6 snapshot and had the same
> thing
> > in mind and then i heard that CODI was dead project, and most likely
> 1.0.6
> > would not be released. And I did hear and recognize that deltaspike is
> > recommended instead of CODI. Someone, please confirm.
> >
> > >
> > >
> > > On 12 February 2014 02:44, Kito Mann  wrote:
> > >
> > > > How mature is DeltaSpike? It's only at 0.05.
> >
> > +1 good question.
> >
> > > >
> > > > On Tuesday, February 11, 2014, Thomas Andraschko <
> > > > andraschko.tho...@gmail.com> wrote:
> > > >
> > > > > Can't you just switch to DS?
> > > > >
> > > > >
> > > > > 2014-02-11 18:46 GMT+01:00 Leonardo Uribe  > 
> > > > > >:
> > > > >
> > > > > > Hi
> > > > > >
> > > > > > CDI implementations does not require to provide anything to JSF
> in
> > > > > > order to make @FlowScoped to work. The code has been tested
> against
> > > > > > OWB and Weld and it works in both cases.
> > > > > >
> > > > > > But the flow stuff relies on the new ClientWindow API, and that
> > could
> > > > > > cause a conflict with CODI, because CODI provides a solution for
> > this
> > > > > > part too. In fact, the solution introduced in the standard comes
> > from
> > > > > > CODI.
> > > > > >
> > > > > > In your particular case, the best option is provide a custom
> > > > > > ClientWindowFactory / ClientWindow that implements
> > > > > > ClientWindow.getId() method and grab the value generated by CODI.
> > > > > > Theorically there is no need of the custom PhaseListener, because
> > the
> > > > > > "attachWindow" step is done in CODI. I haven't tried it but I
> > suppose
> > > > > > a custom ClientWindow will work.
> > > > > >
> > > > > > regards,
> > > > > >
> > > > > > Leonardo Uribe
> > > > > >
> > > > > > 2014-02-11 11:56 GMT-05:00 l.pe...@senat.fr :
> > > > > > > On 11/02/2014 14:51, l.pe...@senat.fr wrote:
> > > > > > >>
> > > > > > >> On 11/02/2014 10:28, l.pe...@senat.fr wrote:
> > > > > > >>>
> > > > > > >>> On 11/02/2014 03:30, Leonardo Uribe wrote:
> > > > > > >>
> > > > > > >>
> > > > > > >> [...]
> > > > > > >>>>
> > > > > > >>>> @FlowScoped annotation is for CDI only, so it will not work
> > for
> > > > JSF
> > > > > > >>>> managed beans. In your case, I believe the bean is
> > instantiated
> > > > but
> > > > > it
> > > > > > >>>> is not stored in any context, so once is created is
> discarded,
> > > > > giving
> > > > > > >>>> the impression that the bean is working but it is not.
> > > > > > >>>>
> > > > > > >>



-- 
___

Kito D. Mann | @kito99 | Author, JSF in Action
Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and consulting
http://www.JSFCentral.com | @jsfcentral
+1 203-998-0403

* Listen to the Enterprise Java Newscast: *http://w
<http://blogs.jsfcentral.com/JSFNewscast/>ww.enterprisejavanews.com
<http://ww.enterprisejavanews.com>*
* JSFCentral Interviews Podcast:
http://www.jsfcentral.com/resources/jsfcentralpodcasts/
* Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17


Re: @FlowScoped, @Named and @ManagedBean

2014-02-11 Thread Kito Mann
How mature is DeltaSpike? It's only at 0.05.

On Tuesday, February 11, 2014, Thomas Andraschko <
andraschko.tho...@gmail.com> wrote:

> Can't you just switch to DS?
>
>
> 2014-02-11 18:46 GMT+01:00 Leonardo Uribe 
> >:
>
> > Hi
> >
> > CDI implementations does not require to provide anything to JSF in
> > order to make @FlowScoped to work. The code has been tested against
> > OWB and Weld and it works in both cases.
> >
> > But the flow stuff relies on the new ClientWindow API, and that could
> > cause a conflict with CODI, because CODI provides a solution for this
> > part too. In fact, the solution introduced in the standard comes from
> > CODI.
> >
> > In your particular case, the best option is provide a custom
> > ClientWindowFactory / ClientWindow that implements
> > ClientWindow.getId() method and grab the value generated by CODI.
> > Theorically there is no need of the custom PhaseListener, because the
> > "attachWindow" step is done in CODI. I haven't tried it but I suppose
> > a custom ClientWindow will work.
> >
> > regards,
> >
> > Leonardo Uribe
> >
> > 2014-02-11 11:56 GMT-05:00 l.pe...@senat.fr :
> > > On 11/02/2014 14:51, l.pe...@senat.fr wrote:
> > >>
> > >> On 11/02/2014 10:28, l.pe...@senat.fr wrote:
> > >>>
> > >>> On 11/02/2014 03:30, Leonardo Uribe wrote:
> > >>
> > >>
> > >> [...]
> > 
> >  @FlowScoped annotation is for CDI only, so it will not work for JSF
> >  managed beans. In your case, I believe the bean is instantiated but
> it
> >  is not stored in any context, so once is created is discarded,
> giving
> >  the impression that the bean is working but it is not.
> > 
> >  In MyFaces it is possible to create a custom flow scope annotation
> for
> >  other containers that works just like @FlowScoped, implementing
> >  org.apache.myfaces.spi.FacesFlowProvider SPI interface. You are
> >  already in CDI, so you don't need to bother about that.
> > 
> >  I have seen @Named annotation working with Spring, so it is not
> >  something specific for CDI, but @FlowScoped depends of CDI API.
> > >>>
> > >>> I am using CODI 1.0.5 (I heavily use its @ViewAccessScoped
> annotation)
> > >>> with OpenWebBeans 1.2.1.
> > >>>
> > >>> So, I thought  was ok on the CDI side...
> > >>>
> > >>> ...but after reading your mail, it seems to me that this CDI
> > >>> implementation was provided before JSF 2.2 release, and so that it
> > must not
> > >>> include proper @FacesFlow support.
> > >>>
> > >>> Should I switch to another implementation, like DeltaSpike ?
> > >>>
> > >>> I must have misunderstood your mail from Sep 26 2013 (
> > >>>
> >
> http://myfaces.10567.n7.nabble.com/JSF-2-2-status-amp-snapshot-usage-td115852.html
> > >>> ) inviting us to try Faces Flows in MyFaces 2.2.
> > >>
> > >> After some debugging, I found that :
> > >> * beans are discovered and processed ok by
> > >> org.apache.myfaces.flow.cdi.FlowScopeCDIExtension
> > >> * -flow.xml is detected and processed with no errors ;
> > >> * if I use an empty -flow.xml file, an exception is raised line 716 of
> > >> org.apache.myfaces.config.DefaultFacesConfigurationProvider (on
> > >> facesConfig.getFacesFlowDefinitions().add(flow); )
> > >> * if I add a breakpoint in
> > >> org.apache.myfaces.flow.FlowHandlerImpl#clientWindowTransition, I can
> > see :
> > >> ** my flow registered in _flowMapById (with "flow1" key)
> > >> ** my flow registered in _flowMapByDocumentId (with an empty key)
> > >> ** that _facesFlowProvider is null
> > >
> > >
> > > ok, I think I got it. And, as I feared, it seems to be CODI related.
> > >
> > > In JSF2.2, a call to
> > >
> > > //JSF 2.2: attach window
> > > _lifecy



-- 
___

Kito D. Mann | @kito99 | Author, JSF in Action
Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and consulting
http://www.JSFCentral.com | @jsfcentral
+1 203-998-0403

* Listen to the Enterprise Java Newscast: *http://w
ww.enterprisejavanews.com
*
* JSFCentral Interviews Podcast:
http://www.jsfcentral.com/resources/jsfcentralpodcasts/
* Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17


Re: onload phase listener not returning facesContext.getViewRoot.getViewId

2014-01-31 Thread Kito Mann
Can you send us your onload-config.xml?

___

Kito D. Mann | @kito99 | Author, JSF in Action
Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and consulting
http://www.JSFCentral.com | @jsfcentral
+1 203-998-0403

* Listen to the Enterprise Java Newscast: *http://w
<http://blogs.jsfcentral.com/JSFNewscast/>ww.enterprisejavanews.com
<http://ww.enterprisejavanews.com>*
* JSFCentral Interviews Podcast:
http://www.jsfcentral.com/resources/jsfcentralpodcasts/
* Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17


On Fri, Jan 31, 2014 at 2:21 AM, Atul Joshi  wrote:

> Hi,
>
> Below is the method definition :
>@Override
> public PhaseId getPhaseId() {
> return PhaseId.RENDER_RESPONSE;
> }
>
> The strange part is , the viewId is returned correctly for all the
> other urls except those which are targeted for onload-config.xml.That
> is urls which are mentioned in onload-config.xml are getting affected.
>
> On 1/30/14, Kito Mann  wrote:
> > Atul, what does getPhaseId() return for the phase listener?
> >
> > ___
> >
> > Kito D. Mann | @kito99 | Author, JSF in Action
> > Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and
> consulting
> > http://www.JSFCentral.com | @jsfcentral
> > +1 203-998-0403
> >
> > * Listen to the Enterprise Java Newscast: *http://w
> > <http://blogs.jsfcentral.com/JSFNewscast/>ww.enterprisejavanews.com
> > <http://ww.enterprisejavanews.com>*
> > * JSFCentral Interviews Podcast:
> > http://www.jsfcentral.com/resources/jsfcentralpodcasts/
> > * Sign up for the JSFCentral Newsletter:
> > http://oi.vresp.com/?fid=ac048d0e17
> >
> >
> > On Thu, Jan 30, 2014 at 5:49 AM, Atul Joshi 
> wrote:
> >
> >> Hi,
> >>
> >> We are migrating from JSF 1.2 to JSF2 . We are using apache my faces 2.1
> >>
> >> I have onload-listener configured in my faces-config.xml as :
> >> 
> >>
> >>
> >>
> net.sf.jsfcomp.ext.onload.OnLoadPhaseListener
> >> 
> >>
> >> The issue is , FacesContext.getViewRoot.getViewId always returns NULL
> >> inside this phase listener.
> >> I have found out this by subclassing the above class and printing the
> log
> >> statements.
> >>
> >> Because of above issue , none of urls configured to work for
> >> onload-config.xml are not working.
> >> It used to work earlier for JSF 1.2.
> >> Please help.
> >>
> >> Regards,
> >> Atul
> >>
> >
>


Re: onload phase listener not returning facesContext.getViewRoot.getViewId

2014-01-30 Thread Kito Mann
Atul, what does getPhaseId() return for the phase listener?

___

Kito D. Mann | @kito99 | Author, JSF in Action
Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and consulting
http://www.JSFCentral.com | @jsfcentral
+1 203-998-0403

* Listen to the Enterprise Java Newscast: *http://w
ww.enterprisejavanews.com
*
* JSFCentral Interviews Podcast:
http://www.jsfcentral.com/resources/jsfcentralpodcasts/
* Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17


On Thu, Jan 30, 2014 at 5:49 AM, Atul Joshi  wrote:

> Hi,
>
> We are migrating from JSF 1.2 to JSF2 . We are using apache my faces 2.1
>
> I have onload-listener configured in my faces-config.xml as :
> 
>
>
> net.sf.jsfcomp.ext.onload.OnLoadPhaseListener
> 
>
> The issue is , FacesContext.getViewRoot.getViewId always returns NULL
> inside this phase listener.
> I have found out this by subclassing the above class and printing the log
> statements.
>
> Because of above issue , none of urls configured to work for
> onload-config.xml are not working.
> It used to work earlier for JSF 1.2.
> Please help.
>
> Regards,
> Atul
>


[ANNOUNCE] Enterprise Java Newscast - Episode 17 - November 2013

2013-12-10 Thread Kito Mann
Hello,

I am pleased to announce a new episode of the Enterprise Java Newscast on
JSFCentral.com.

The Enterprise Java Newscast, hosted by Kito D. Mann, Ian Hlavats, and
Daniel Hinojosa, is a monthly podcast that covers the latest headlines in
the world of Enterprise Java development.

In this episode, Kito, Ian, and Daniel cover new releases from Spring,
PrimeFaces ICEsoft, JBoss, IBM, Oracle, Apache, and TypeSafe.  They also
discuss Oracle's decision to drop support for GlassFish, and RebelLabs'
Decision Maker's Guide to Java Web Frameworks.

Read the newscast here:
http://blogs.jsfcentral.com/JSFNewscast/entry/enterprise_java_newscast_episode_17

___

Kito D. Mann | @kito99 | Author, JSF in Action
Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and consulting
http://www.JSFCentral.com | @jsfcentral
+1 203-998-0403

* Listen to the Enterprise Java Newscast: *http://w
ww.enterprisejavanews.com
*
* JSFCentral Interviews Podcast:
http://www.jsfcentral.com/resources/jsfcentralpodcasts/
* Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17


Re: Performance params

2013-11-01 Thread Kito Mann
Thanks for the link, Howard. Mark is definitely an "outstanding Apache
Committer" ;-).

At any rate, this client isn't using CDI, so that isn't an option. I would
definitely consider it for clients that are using CDI, though. I always
felt like OpenWebBeans was more stable than Weld.

___

Kito D. Mann | @kito99 | Author, JSF in Action
Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and consulting
http://www.JSFCentral.com | @jsfcentral
+1 203-998-0403

* Listen to the Enterprise Java Newscast:
*http://w
ww.enterprisejavanews.com*
* JSFCentral Interviews Podcast:
http://www.jsfcentral.com/resources/jsfcentralpodcasts/
* Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17


On Fri, Nov 1, 2013 at 9:48 AM, Howard W. Smith, Jr.  wrote:

> Kito,
>
> On Thu, Oct 31, 2013 at 7:46 PM, Howard W. Smith, Jr. <
> smithh032...@gmail.com> wrote:
>
> > See comments, and the URLs provided below as well. One of the outstanding
> > Apache/PrimeFaces committers wrote the blog, and I am always happy to
> share
> > and/or pass along. Hope it helps.
>
>
> Also, I couldn't help myself in saying this, another outstanding Apache
> committer wrote this blog with the following question,
>
> Why is OpenWebBeans so fast?[1]
>
> I hope your client is willing to use OpenWebBeans + JUEL + MyFaces. that is
> a happy stack which will make for happy campers/endusers/etc...
>
>
> [1] http://struberg.wordpress.com/2012/03/20/why-is-openwebbeans-so-fast/
>


Re: Performance params

2013-10-31 Thread Kito Mann
Thanks for the info, Howard. I'm pretty familiar with everything there,
with the exception of JUEL. That might make a big difference for one of my
clients, and it looks like we can get it running in WebSphere...

___

Kito D. Mann | @kito99 | Author, JSF in Action
Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and consulting
http://www.JSFCentral.com | @jsfcentral
+1 203-998-0403

* Listen to the Enterprise Java Newscast:
*http://w<http://blogs.jsfcentral.com/JSFNewscast/>
ww.enterprisejavanews.com*
* JSFCentral Interviews Podcast:
http://www.jsfcentral.com/resources/jsfcentralpodcasts/
* Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17


On Thu, Oct 31, 2013 at 7:46 PM, Howard W. Smith, Jr. <
smithh032...@gmail.com> wrote:

> Kito,
>
> Since Leonardo answered your question, and since subject/title =
> performance params, I will go ahead and pass on performance params that are
> in my web.xml.
>
> See comments, and the URLs provided below as well. One of the outstanding
> Apache/PrimeFaces committers wrote the blog, and I am always happy to share
> and/or pass along. Hope it helps.
>
> When you read the context params below, you will see that I'm using high
> performance JUEL, OpenWebBeans, and MyFaces...of course. :)
>
>
> 
> org.apache.myfaces.EXPRESSION_FACTORY
> de.odysseus.el.ExpressionFactoryImpl
> 
> 
> org.apache.myfaces.EL_RESOLVER_COMPARATOR
>
>
> org.apache.myfaces.el.unified.OpenWebBeansELResolverComparator
> 
> 
>
> org.apache.myfaces.COMPRESS_STATE_IN_SESSION
> false
> 
> 
>
> org.apache.myfaces.NUMBER_OF_VIEWS_IN_SESSION
> 10
> 
> 
>
> org.apache.myfaces.SERIALIZE_STATE_IN_SESSION
> false
> 
> 
>
> org.apache.myfaces.SUPPORT_JSP_AND_FACES_EL
> false
> 
> 
> 
> javax.faces.FACELETS_REFRESH_PERIOD
> -1
> 
> 
>
> org.apache.myfaces.CHECK_ID_PRODUCTION_MODE
> false
> 
> 
>
> org.apache.myfaces.VIEW_UNIQUE_IDS_CACHE_ENABLED
> true
> 
> 
>
>
> org.apache.myfaces.SAVE_STATE_WITH_VISIT_TREE_ON_PSS
> false
> 
> 
> 
> org.apache.myfaces.CACHE_EL_EXPRESSIONS
> always
> 
>
>
>
>
>
> On Thu, Oct 31, 2013 at 6:25 PM, Kito Mann  wrote:
>
> > Hello everyone,
> >
> > I have a couple of questions about performance parameters:
> >
> > · org.apache.myfaces.SUPPORT_JSP_AND_FACES_EL
> >
> > How significant is the performance improvement for a Facelet page if this
> > is turned off?
> >
> > · org.apache.myfaces.VIEW_UNIQUE_IDS_CACHE_ENABLED
> >
> > If I understand this correctly, this is only useful after a specific user
> > has already reached the maximum number of views stored in the session, or
> > am I missing something?
> >
> > ___
> >
> > Kito D. Mann | @kito99 | Author, JSF in Action
> > Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and
> consulting
> > http://www.JSFCentral.com | @jsfcentral
> > +1 203-998-0403
> >
> > * Listen to the Enterprise Java Newscast:
> > *http://w<http://blogs.jsfcentral.com/JSFNewscast/>
> > ww.enterprisejavanews.com*
> > * JSFCentral Interviews Podcast:
> > http://www.jsfcentral.com/resources/jsfcentralpodcasts/
> > * Sign up for the JSFCentral Newsletter:
> > http://oi.vresp.com/?fid=ac048d0e17
> >
>


Re: Performance params

2013-10-31 Thread Kito Mann
Thanks for the clarification, Leonardo.

___

Kito D. Mann | @kito99 | Author, JSF in Action
Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and consulting
http://www.JSFCentral.com | @jsfcentral
+1 203-998-0403

* Listen to the Enterprise Java Newscast:
*http://w<http://blogs.jsfcentral.com/JSFNewscast/>
ww.enterprisejavanews.com*
* JSFCentral Interviews Podcast:
http://www.jsfcentral.com/resources/jsfcentralpodcasts/
* Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17


On Thu, Oct 31, 2013 at 7:24 PM, Leonardo Uribe  wrote:

> Hi Kito
>
> 2013/10/31 Kito Mann 
>
> > Hello everyone,
> >
> > I have a couple of questions about performance parameters:
> >
> > · org.apache.myfaces.SUPPORT_JSP_AND_FACES_EL
> >
> > How significant is the performance improvement for a Facelet page if this
> > is turned off?
> >
> >
> This param avoids execute JSF 1.0 EL code, and disable jsp vdl, so EL
> expressions runs faster. The effect in performance is small but noticeable.
>
>
> > · org.apache.myfaces.VIEW_UNIQUE_IDS_CACHE_ENABLED
> >
> > If I understand this correctly, this is only useful after a specific user
> > has already reached the maximum number of views stored in the session, or
> > am I missing something?
> >
> >
> This flag enables ids storage at facelet handler level. The effect is it
> increase
> the size of the compiled facelet in memory (because all generated ids for
> the compiled facelet are stored in that level) but it gives a significant
> performance
> improvement in both memory and speed. In 2.1.x/2.0.x it is disabled by
> default,
> but in 2.2.x the idea is enable it by default, because there are no side
> effects,
> and the current code has been well tested.
>
> regards,
>
> Leonardo Uribe
>
> ___
> >
> > Kito D. Mann | @kito99 | Author, JSF in Action
> > Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and
> consulting
> > http://www.JSFCentral.com | @jsfcentral
> > +1 203-998-0403
> >
> > * Listen to the Enterprise Java Newscast:
> > *http://w<http://blogs.jsfcentral.com/JSFNewscast/>
> > ww.enterprisejavanews.com*
> > * JSFCentral Interviews Podcast:
> > http://www.jsfcentral.com/resources/jsfcentralpodcasts/
> > * Sign up for the JSFCentral Newsletter:
> > http://oi.vresp.com/?fid=ac048d0e17
> >
>


Performance params

2013-10-31 Thread Kito Mann
Hello everyone,

I have a couple of questions about performance parameters:

· org.apache.myfaces.SUPPORT_JSP_AND_FACES_EL

How significant is the performance improvement for a Facelet page if this
is turned off?

· org.apache.myfaces.VIEW_UNIQUE_IDS_CACHE_ENABLED

If I understand this correctly, this is only useful after a specific user
has already reached the maximum number of views stored in the session, or
am I missing something?

___

Kito D. Mann | @kito99 | Author, JSF in Action
Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and consulting
http://www.JSFCentral.com | @jsfcentral
+1 203-998-0403

* Listen to the Enterprise Java Newscast:
*http://w
ww.enterprisejavanews.com*
* JSFCentral Interviews Podcast:
http://www.jsfcentral.com/resources/jsfcentralpodcasts/
* Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17


[ANNOUNCE] JSFCentral Episode 31: Ed Burns, JSF Spec Lead Discusses JSF 2.2 and Java EE7

2013-10-13 Thread Kito Mann
Hello,

I'm pleased to announce a new podcast on JSFCentral.com.  In this
interview, I talk with JSF Spec Lead Ed Burns about JSF 2.2 and Java EE 7.

Read the entire interview here:
http://www.jsfcentral.com/articles/burns-10-2013.html
(podcast or transcript)

___

Kito D. Mann | @kito99 | Author, JSF in Action
Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and consulting
http://www.JSFCentral.com | @jsfcentral
+1 203-998-0403

* Listen to the Enterprise Java Newscast:
*http://w
ww.enterprisejavanews.com*
* JSFCentral Interviews Podcast:
http://www.jsfcentral.com/resources/jsfcentralpodcasts/
* Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17


Re: [ANNOUNCE] Arjan Tijms and Bauke Scholtz (BalusC) Talk About OmniFaces and Building zeef.com

2013-09-14 Thread Kito Mann
Thanks, Howard! Glad you enjoyed it.

___

Kito D. Mann | @kito99 | Author, JSF in Action
Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and consulting
http://www.JSFCentral.com | @jsfcentral
+1 203-998-0403

* Listen to the Enterprise Java Newscast:
*http://w<http://blogs.jsfcentral.com/JSFNewscast/>
ww.enterprisejavanews.com*
* JSFCentral Interviews Podcast:
http://www.jsfcentral.com/resources/jsfcentralpodcasts/
* Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17


On Sat, Sep 14, 2013 at 5:36 PM, Howard W. Smith, Jr. <
smithh032...@gmail.com> wrote:

> +1
>
> That was a really nice post/blog/article. Thank you very much, Kito, for
> highlighting/interviewing BalusC and Arjan!
>
>
> On Fri, Sep 13, 2013 at 11:05 PM, Kito Mann  wrote:
>
> > Hello,
> >
> > I'm pleased to announce a new interview on JSFCentral.com.  In this
> > interview, I chat with Arjan Tijms and Bauke Scholtz (also known as
> > "BalusC") about OmniFaces and building zeef.com.
> >
> > Read the entire interview here:
> > http://www.jsfcentral.com/articles/tijms-scholtz-09-13.html
> >
> >
> > ___
> >
> > Kito D. Mann | @kito99 | Author, JSF in Action
> > Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and
> consulting
> > http://www.JSFCentral.com | @jsfcentral
> > +1 203-998-0403
> >
> > * Listen to the Enterprise Java Newscast:
> > *http://w<http://blogs.jsfcentral.com/JSFNewscast/>
> > ww.enterprisejavanews.com*
> > * JSFCentral Interviews Podcast:
> > http://www.jsfcentral.com/resources/jsfcentralpodcasts/
> > * Sign up for the JSFCentral Newsletter:
> > http://oi.vresp.com/?fid=ac048d0e17
> >
>


[ANNOUNCE] Arjan Tijms and Bauke Scholtz (BalusC) Talk About OmniFaces and Building zeef.com

2013-09-13 Thread Kito Mann
Hello,

I'm pleased to announce a new interview on JSFCentral.com.  In this
interview, I chat with Arjan Tijms and Bauke Scholtz (also known as
"BalusC") about OmniFaces and building zeef.com.

Read the entire interview here:
http://www.jsfcentral.com/articles/tijms-scholtz-09-13.html


___

Kito D. Mann | @kito99 | Author, JSF in Action
Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and consulting
http://www.JSFCentral.com | @jsfcentral
+1 203-998-0403

* Listen to the Enterprise Java Newscast:
*http://w
ww.enterprisejavanews.com*
* JSFCentral Interviews Podcast:
http://www.jsfcentral.com/resources/jsfcentralpodcasts/
* Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17


[ANNOUNCE] Enterprise Java Newscast - Episode 16 - July 2013

2013-07-18 Thread Kito Mann
Hello,

I am pleased to announce a new episode of the Enterprise Java Newscast on
JSFCentral.com

The Enterprise Java Newscast, hosted by Kito D. Mann, Ian Hlavats, and
Daniel Hinojosa, is a monthly podcast that covers the latest headlines in
the world of Enterprise Java development.

In this episode, Kito, Ian, and Daniel cover new releases from
SpringSource, PrimeFaces, ICEsoft, JBoss, IBM, Oracle, and TypeSafe.  They
also try out recording the newscast using Google Hangouts instead of Skype.

Read the newscast here:

http://blogs.jsfcentral.com/JSFNewscast/entry/enterprise_java_newscast_episode_16



___

Kito D. Mann | @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 |
@jsfcentral
+1 203-998-0403

* Listen to the Enterprise Java Newscast:
*http://w
ww.enterprisejavanews.com*
* JSFCentral Interviews Podcast:
http://www.jsfcentral.com/resources/jsfcentralpodcasts/
* Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17


[ANNOUNCE] JSFCentral - Understanding JSF 2.0 Performance - Part 3

2013-07-16 Thread Kito Mann
Hello,

I am pleased to announce a new article on JSFCentral.com by Leonardo
Uribe: Understanding JSF 2.0 Performance – Part 3.

In this series of articles, Leonardo Uribe discusses JSF 2 and MyFaces Core
performance, and its implications for web applications.  Leonardo compares
different aspects - speed, memory usage, session size - to give a better
understanding of how JSF works under different conditions.  This third
article will wrap it up with an up to date (2013) web framework comparison
between JSF 2 and other alternatives like Apache Wicket, Apache Tapestry,
Spring MVC and Grails 2.

Read Part 3 of the series here:
http://www.jsfcentral.com/articles/understanding_jsf_performance_3.html

___

Kito D. Mann | @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 |
@jsfcentral
+1 203-998-0403

* Listen to the Enterprise Java Newscast:
*http://w
ww.enterprisejavanews.com*
* JSFCentral Interviews Podcast:
http://www.jsfcentral.com/resources/jsfcentralpodcasts/
* Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17


[ANNOUNCE] JSFCentral - Understanding JSF 2.0 Performance Part 2 by Leonardo Uribe

2013-06-20 Thread Kito Mann
Hello,

I am pleased to announce a new article on JSFCentral.com by Leonardo Uribe:
Understanding JSF 2.0 Performance – Part 2.

In this series of articles, Leonardo Uribe discusses JSF 2 and MyFaces Core
performance, and its implications for web applications.  Additionally, he
highlights last year's (2011-2012) performance enhancements in the Apache
MyFaces JSF Implementation through an in-depth comparison between JSF and
Apache Wicket.  Leonardo compares different aspects—speed, memory usage,
session size—to give a better understanding of how JSF works under
different conditions.  Finally, he does an up-to-date (2013) web framework
comparison between JSF 2 and other alternatives like Apache Wicket, Apache
Tapestry, Spring MVC and Grails 2.  In the end, choosing a web framework
requires that you balance performance with other considerations.

Read Part 2 of the series here:
http://www.jsfcentral.com/articles/understanding_jsf_performance_2.html

___

Kito D. Mann | @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 | @
jsfcentral
+1 203-998-0403

* Listen to the Enterprise Java Newscast:
*http://w
ww.enterprisejavanews.com*
* JSFCentral Interviews Podcast: http://www.jsfcentral.com/resources/
jsfcentralpodcasts/
* Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17


[ANNOUNCE] Enterprise Java Newscast - Episode 15 - May 2013

2013-05-31 Thread Kito Mann
Hello,

I am pleased to announce a new episode of the Enterprise Java Newscast on
JSFCentral.com.

The Enterprise Java Newscast, hosted by Kito D. Mann, Ian Hlavats, and
Daniel Hinojosa, is a monthly podcast that covers the latest headlines in
the world of JavaServer Faces and Enterprise Java development.

In this episode, Kito, Ian, and Daniel cover new releases from Apache,
PrimeFaces, SpringSource, ICEsoft, JBoss, IBM, Oracle, Google, and more.
 They also discuss the new Google Android IDE and SpringSource's new
Reactor asynchronous framework.

Read the newscast here:
http://blogs.jsfcentral.com/JSFNewscast/entry/enterprise_java_newscast_episode_15

___

Kito D. Mann | @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 |
@jsfcentral
+1 203-998-0403

* Listen to the Enterprise Java Newscast:
*http://w
ww.enterprisejavanews.com*
* JSFCentral Interviews Podcast:
http://www.jsfcentral.com/resources/jsfcentralpodcasts/
* Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17


Re: [ANNOUNCE] JSFCentral - Understanding JSF 2.0 Performance - Part 1

2013-05-30 Thread Kito Mann
Stay tuned :-).

___

Kito D. Mann | @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 |
@jsfcentral
+1 203-998-0403

* Listen to the Enterprise Java Newscast:
*http://w<http://blogs.jsfcentral.com/JSFNewscast/>
ww.enterprisejavanews.com*
* JSFCentral Interviews Podcast:
http://www.jsfcentral.com/resources/jsfcentralpodcasts/
* Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17


On Thu, May 30, 2013 at 11:30 PM, Howard W. Smith, Jr. <
smithh032...@gmail.com> wrote:

> Thanks for sharing. Looking forward to reading more than just Part 1.
>
>
> On Thu, May 30, 2013 at 4:35 PM, Kito Mann  wrote:
>
> > Hello,
> >
> > I am pleased to announce a new article on JSFCentral.com by Leonardo
> > Uribe: Understanding JSF 2.0 Performance – Part 1.
> >
> > In this series of articles, Leonardo Uribe discusses JSF 2 and MyFaces
> Core
> > performance, and its implications for web applications.  Additionally, he
> > highlights last year's (2011-2012) performance enhancements in the Apache
> > MyFaces JSF Implementation through an in-depth comparison between JSF and
> > Apache Wicket.  Leonardo compares different aspects—speed, memory usage,
> > session size—to give a better understanding of how JSF works under
> > different conditions.  Finally, he does an up-to-date (2013) web
> framework
> > comparison between JSF 2 and other alternatives like Apache Wicket,
> Apache
> > Tapestry, Spring MVC and Grails 2.  In the end, choosing a web framework
> > requires that you balance performance with other considerations.
> >
> > Read part 1 of the series here:
> > http://www.jsfcentral.com/articles/understanding_jsf_performance_1.html
> >
> > ---
> > Kito D. Mann | @kito99 | Author, JSF  in Action
> > Virtua, Inc. | *http://www.virtua.com*<
> > http://www.virtua.com/%20/t%20_blank> |
> > JSF/Java EE training and consulting
> > *http://www.JSFCentral.com* <http://www.jsfcentral.com/%20/t%20_blank> –
> > JavaServer Faces  FAQ, news, and info | @jsfcentral
> > * Listen to the Enterprise Java Newscast:
> > *http://w<http://blogs.jsfcentral.com/JSFNewscast/>
> > ww.enterprisejavanews.com*
> > * JSFCentral Interviews Podcast:
> > http://www.jsfcentral.com/resources/jsfcentralpodcasts/
> > * Sign up for the JSFCentral Newsletter:
> > http://oi.vresp.com/?fid=ac048d0e17
> >
> >
> > __
> >
>


[ANNOUNCE] JSFCentral - Understanding JSF 2.0 Performance - Part 1

2013-05-30 Thread Kito Mann
Hello,

I am pleased to announce a new article on JSFCentral.com by Leonardo
Uribe: Understanding JSF 2.0 Performance – Part 1.

In this series of articles, Leonardo Uribe discusses JSF 2 and MyFaces Core
performance, and its implications for web applications.  Additionally, he
highlights last year's (2011-2012) performance enhancements in the Apache
MyFaces JSF Implementation through an in-depth comparison between JSF and
Apache Wicket.  Leonardo compares different aspects—speed, memory usage,
session size—to give a better understanding of how JSF works under
different conditions.  Finally, he does an up-to-date (2013) web framework
comparison between JSF 2 and other alternatives like Apache Wicket, Apache
Tapestry, Spring MVC and Grails 2.  In the end, choosing a web framework
requires that you balance performance with other considerations.

Read part 1 of the series here:
http://www.jsfcentral.com/articles/understanding_jsf_performance_1.html

---
Kito D. Mann | @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 | @jsfcentral
* Listen to the Enterprise Java Newscast:
*http://w
ww.enterprisejavanews.com*
* JSFCentral Interviews Podcast:
http://www.jsfcentral.com/resources/jsfcentralpodcasts/
* Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17


__


Re: Unwrap CC ValueExpression?

2013-05-13 Thread Kito Mann
Hello Thomas,

I think this is doable. Can you send us your composite component code?

___

Kito D. Mann | @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 |
@jsfcentral
+1 203-998-0403

* JSF2 in Action Course - 6/17 - London:
http://skillsmatter.com/course/home/jsf-and-ajax/ng-6708
* Listen to the Enterprise Java Newscast: *
http://blogs.jsfcentral.com/JSFNewscast/
*
* JSFCentral Interviews Podcast:
http://www.jsfcentral.com/resources/jsfcentralpodcasts/
* Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17


On Mon, May 13, 2013 at 7:17 AM, Thomas Andraschko <
andraschko.tho...@gmail.com> wrote:

> Hi,
>
> is it possible unwrap a CC ValueExpresion?
> i found a bug with PrimeFaces p:media inside a composite component and i
> would like to fix it.
>
> If you pass the EL via a CC attr (e.g. #{myController.content}) and attach
> it to p:media (e.g. #{cc.attrs.content}),
> p:media gets the ValueExpression and saves them in the session, to later
> stream the content in a resource request.
> Later the ResourceHandler evaluates it and tries to get the value of
> #{cc.attrs.content}, which can't work ofc.
>
> So is it possible to extract the "real" EL before store it in the session?
> Is there a solution which also works in mojarra?
>
>
> Regards,
> Thomas
>


[ANNOUNCE] JSF and JAVA EE NEWSCAST - Episode 14 - April 2013

2013-04-09 Thread Kito Mann
Hello,

I am pleased to announce a new episode of the JSF and Java EE Newscast on
JSFCentral.com.

The Enterprise Java Newscast, hosted by Kito D. Mann, Ian Hlavats, and
Daniel Hinojosa, is a monthly podcast that covers the latest headlines in
the world of JavaServer Faces and Enterprise Java development.

In this episode, Kito, Ian and Daniel cover new releases from Oracle, IBM,
SpringSource, PrimeFaces, ICEfaces, Apache, JBoss, NetBeans, eXo Platform
and more.  They also discuss a cloud IDEs and RESTful web framework
benchmarks.

Read the newscast here:
http://blogs.jsfcentral.com/JSFNewscast/entry/enterprise_java_newscast_episode_14


___

Kito D. Mann | @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 |
@jsfcentral
+1 203-998-0403

* Listen to the Enterprise Java Newscast: *
http://blogs.jsfcentral.com/JSFNewscast/
*
* JSFCentral Interviews Podcast:
http://www.jsfcentral.com/resources/jsfcentralpodcasts/
* Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17


[ANNOUNCE] JSF and JAVA EE Newscast - Episode 13 - Feb 2013

2013-03-14 Thread Kito Mann
Hello,

I am pleased to announce a new episode of the JSF and Java EE Newscast on
JSFCentral.com.

The JSF and Java EE Newscast, hosted by Kito D. Mann, Ian Hlavats, and
Daniel Hinojosa, is a monthly podcast that covers the latest headlines in
the world of JavaServer Faces and Enterprise Java development.

In this episode, Kito, Ian and Daniel cover new releases from SpringSource,
PrimeFaces, ICEfaces, Apache, JBoss, Eclipse, and TypeSafe.  They also
discuss a report that claims using Spring lowers code quality, "stateless"
JSF views, and Java security FUD.

Read the newscast here:
http://blogs.jsfcentral.com/JSFNewscast/entry/entperprise_java_newscast_episode_13


___

Kito D. Mann | @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 |
@jsfcentral
+1 203-998-0403

* Listen to the Enterprise Java Newscast: *
http://blogs.jsfcentral.com/JSFNewscast/
*
* JSFCentral Interviews Podcast:
http://www.jsfcentral.com/resources/jsfcentralpodcasts/
* Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17


[ANNOUNCE] JSFCentral - Why the New Oracle ADF Essentials Is Important to JSF Developers

2013-03-12 Thread Kito Mann
Hello,

I am pleased to announce a new article on
JSFCentral.com.
 In this article, Shay Shmeltzer reviews the new Oracle ADF Essentials
offering from the perspective of JSF developers.

Read the full article here:
http://www.jsfcentral.com/articles/adf-essentials-for-jsf.html

___

Kito D. Mann | @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 |
@jsfcentral
+1 203-998-0403

* Listen to the Enterprise Java Newscast: *
http://blogs.jsfcentral.com/JSFNewscast/
*
* JSFCentral Interviews Podcast:
http://www.jsfcentral.com/resources/jsfcentralpodcasts/
* Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17


[ANNOUNCE] JSFCentral - Death to FacesContext.getCurrentInstance()

2013-01-11 Thread Kito Mann
Hello,

I'm pleased to announce a new article on JSFCentral.com.  In this
article, JSF 2.0 Expert Group member Roger Keays highlights the
pitfalls of using the static FacesContext.getCurrentInstance() locator
method, and describes one workaround using JSF’s native dependency
injection and another using EL 2.2 method parameters.

Read the full article here:
http://www.jsfcentral.com/articles/death_to_facescontext.html


___

Kito D. Mann | @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 | @jsfcentral
+1 203-404-4848 x246

* Listen to the latest headlines in the JSF and Java EE newscast:
http://blogs.jsfcentral.com/JSFNewscast/
* Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17


[ANNOUNCE] JSFCentral Episode 30 - Ted Goddard on ICEfaces, ICEfaces Mobile, JSF 2.2, and more

2012-12-23 Thread Kito Mann
In this podcast, JSF Central editor-in-chief Kito D. Mann talks with Ted
Goddard about ICEfaces, ICEfaces Mobile, JSF 2.2, and more.



Read the full article here:
http://www.jsfcentral.com/articles/goddard-12-2012.html







Kito D. Mann | @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 | @jsfcentral
+1 203-404-4848 ×246

- Listen to the latest headlines in the JSF and Java EE newscast:
http://blogs.jsfcentral.com/JSFNewscast/
- Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17


[ANNOUNCE] JSF and Java EE Newscast - Episode 12 - Dec 2012

2012-12-21 Thread Kito Mann
Hello,

I am pleased to announce a new episode of the JSF and Java EE Newscast on
JSFCentral.com.

The JSF and Java EE Newscast, hosted by Kito D. Mann, Ian Hlavats, and
Daniel Hinojosa, is a monthly podcast that covers the latest headlines in
the world of JavaServer Faces and Enterprise Java development.

In this episode, Kito, Ian, and Daniel cover new releases from
SpringSource, PrimeFaces, ICEfaces, Apache, JBoss, and Liferay. They also
discuss the pros and cons of the new Spring Migration Analyzer, as well as
Getting Things Done and Pomodoro Technique.

Read the newscast here:

http://blogs.jsfcentral.com/JSFNewscast/entry/jsf_and_java_ee_newscast12

___

Kito D. Mann | @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 |
@jsfcentral
+1 203-404-4848 x246

* Listen to the latest headlines in the JSF and Java EE newscast: *
http://blogs.jsfcentral.com/JSFNewscast/*
* Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17


Neil Griffin on Liferay Projects, Portlets, and JSF

2012-12-16 Thread Kito Mann
I'm pleased to announce another episode in the JSFCentral podcast series.
In this episode, I interview Neil Griffin about the Liferay Faces
project, portlets, and JSF.

Listen to the podcast or read the interview here:
http://www.jsfcentral.com/articles/griffin-12-2012.html


---
Kito D. Mann | @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 |
@jsfcentral
+1 203-404-4848 ×246
- Listen to the latest headlines in the JSF and Java EE newscast:
http://blogs.jsfcentral.com/
JSFNewscast/
- Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17


[ANNOUNCE] Knee Deep in IT: Project Experiences with JSF 2.0, Javascript

2012-11-28 Thread Kito Mann
Hello everyone,

I'm pleased to announce a new article on JSFCentral.com about how a
team at Sandia
National Laboratories became highly productive using JSF to implement a
complex UX design with minimal need for custom Javascript. This article
walks through release cycles that transitioned a team to JSF from straight
Javascript.

Read the full article here:
http://www.jsfcentral.com/articles/kneee_deep_in_it.html

___

Kito D. Mann | @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 |
@jsfcentral
+1 203-404-4848 x246

* Listen to the latest headlines in the JSF and Java EE newscast: *
http://blogs.jsfcentral.com/JSFNewscast/*
* Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17


[ANNOUNCE] JSF and Java EE Newscast - Episode 11 - Oct 2012

2012-11-06 Thread Kito Mann
The JSF and Java EE Newscast, hosted by Kito D. Mann, Ian Hlavats, and
Daniel Hinojosa, is a monthly podcast that covers the latest headlines
in the world of JavaServer Faces and Enterprise Java development.

In this episode, Kito, Ian, and Daniel discuss new releases from
JBoss, SpringSource, MyFaces, PrimeFaces, ICEfaces, JSFToolbox, and
Oracle, plus highlights from JavaOne and JSF performance improvements.

Read the newscast here:

http://blogs.jsfcentral.com/JSFNewscast/entry/jsf_and_java_ee_newscast11

___

Kito D. Mann | @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 |
@jsfcentral
+1 203-404-4848 x246

* Listen to the latest headlines in the JSF and Java EE newscast:
http://blogs.jsfcentral.com/JSFNewscast/
* Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17


[ANNOUNCE] JSFCentral Episode 28 - Cagatay Civici Talks About All Things PrimeFaces

2012-11-06 Thread Kito Mann
Hello,

I am pleased to announce the article in the series of JSFCentral
Podcast interviews I am doing with Cagatay Civici, talking about
PrimeFaces, including PrimeFaces Mobile and PrimeFaces Extensions.

Here is an excerpt:

Kito:  Hello and welcome to the JSFCentral
Podcast.  This is a series of interviews, and today I'm here with
Cagatay Civici, who is the project lead for the PrimeFaces Component
Library for JSF.  And you're also the cofounder of PrimeFaces
Technology, right?
Cagatay:   Yeah.  Prime Technology.
Kito:  Prime.  Right. I always-for some reason, I
always say it like PrimeFaces, Prime Tech-I'm sure you get that a lot.
Cagatay:   Yeah.  Not many people know about the company.
It's just-usually it's PrimeFaces.
Kito:  Right.  Well, before we get started I just
wanted to do a bit of a full disclosure.  My consulting company,
Virtua is a PrimeFaces partner.  However, we also work with other
component libraries, like ICEfaces and RichFaces, et cetera.  But I
just wanted people to be aware so no one complains later-"oh, you
interviewed Cagatay because you're a partner"-and that's not why.
We're having the interview because this is an important component
suite for JSF.  So, just so people know, you work with Prime
Technologies, right?
Cagatay:   Yeah.

Read the full article here:
http://content.jsfcentral.com/c/journal/view_article_content?cmd=view&groupId=35702&articleId=54804&version=1.4#.UJEFjm-jxK1

Kito D. Mann | @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 | @jsfcentral
+1 203-404-4848 ×246

- Listen to the latest headlines in the JSF and Java EE
newscast:http://blogs.jsfcentral.com/JSFNewscast/
- Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17


[ANNOUNCE] MyFaces Tomahawk in Action - Part 2

2012-10-07 Thread Kito Mann
Hello,



I am pleased to announce the second article in the MyFaces Tomahawk series
by Hazem Saleh. In the second article of this series, Hazem Saleh discusses
how to use MyFaces Tomahawk with JSF 2. This article explains how to
combine the power of MyFaces 2.0 core and Tomahawk 1.1.11 in order to
develop an interactive Mashup application.





 Here is an excerpt:



In the first 
article
of
the Tomahawk series, I introduced MyFaces Tomahawk, one of the MyFaces
component libraries that provide a set of stable components that can work
with all the versions of JSF implementation (1.1, 1.2, and 2).

In this article, I will focus on the latest release of MyFaces Tomahawk
(version 1.1.11) which is compatible with JSF 2. I will show you how to
combine the power of MyFaces 2.0 core and Tomahawk in order to develop an
interactive Mashup application which interacts with Google Maps.





Read the full article  here:

MyFaces Tomahawk in Action - Part 2 =>
http://content.jsfcentral.com/c/journal_articles/view_article_content?groupId=35702&articleId=50079&version=3.6
]

-- 
___

Kito D. Mann | @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 |
@jsfcentral
+1 203-404-4848 x246

* Listen to the latest headlines in the JSF and Java EE newscast: *
http://blogs.jsfcentral.com/JSFNewscast/*
* Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17


[ANNOUNCE] JSFCentral Episode 27 - Lincoln Baxter on JBoss Forge, PrettyFaces, PrettyTime, and more.

2012-10-05 Thread Kito Mann
I am pleased to announce a new podcast on JSF Central with Lincoln Baxter.
In this podcast, JSFCentral editor-in-chief Kito D. Mann talks with Lincoln
Baxter about JBoss Forge, PrettyFaces, PrettyTime, and more.Here is an
excerpt:

Kito: Hello.  This is Kito Mann; I am here at JaxConf 2012, and JSFSummit
in beautiful San Francisco, California.  And today, I'm here with Lincoln
Baxter.

Lincoln: Hello.

Kito: Senior software engineer at…

Lincoln: At Red Hat.

Kito: Yes.  Yes.  And so, what do you think of the conference this year,
Lincoln?

Lincoln: Well, I love the JAX Conferences.  I've been to a couple of them
before, and they always manage to pull in a great set of speakers.  I
always enjoy meeting everyone who attends, and they're very involved, very
engaged, and that makes it fun for me.  So, I'm having a great time.

Read the full article or download the podcast here:http://content.jsfcentral.com/c/journal/view_article_content?cmd=view&groupId=35702&articleId=50548&version=2.4
">JSFCentral Episode 27 - Lincoln Baxter on JBoss Forge, PrettyFaces,
PrettyTime, and more.


-- 
___

Kito D. Mann | @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 |
@jsfcentral
+1 203-404-4848 x246

* Listen to the latest headlines in the JSF and Java EE newscast: *
http://blogs.jsfcentral.com/JSFNewscast/*
* Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17


Re: [Extensions-Scripting] Java code changes not getting picked up

2012-09-11 Thread Kito Mann
tartup > Restart the server
>>   -
>>
>>  This can be enabled/disabled in Application Server >
>> Additional
>>  Properties > Class loader viewer service
>>  -
>>
>>   Common search order (#6 = EAR, #7 = WAR):
>>   -
>>
>>  1 - JDK Extension - sun.misc.Launcher$ExtClassLoader
>>  -
>>
>>  2 - JDK Application - sun.misc.Launcher$AppClassLoader
>>  -
>>
>>  3 - OSGI -
>>  org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader
>>  -
>>
>>  4 - Extension - com.ibm.ws.bootstrap.ExtClassLoader
>>  -
>>
>>  5 - WAS Protection Class Loader -
>>  com.ibm.ws.classloader.ProtectionClassLoader
>>  -
>>
>>  6 - Module - com.ibm.ws.classloader.CompoundClassLoader
>>  -
>>
>>  7 - Module – com.ibm.ws.classloader.CompoundClassLoader
>>
>>
>> -
>>
>>Background
>>-
>>
>>
>>
>> http://publib.boulder.ibm.com/infocenter/javasdk/v5r0/topic/com.ibm.java.doc.diagnostics.50/diag/understanding/class_loader.html
>>   -
>>
>>
>>
>> http://publib.boulder.ibm.com/infocenter/javasdk/v5r0/topic/com.ibm.java.doc.diagnosti<http://publib.boulder.ibm.com/infocenter/javasdk/v5r0/topic/com.ibm.java.doc.diagnostics.50/diag/tools/javadump_tags_classes.html>
>>
>> cs.50/diag/tools/javadump_tags_classes.html<http://publib.boulder.ibm.com/infocenter/javasdk/v5r0/topic/com.ibm.java.doc.diagnostics.50/diag/tools/javadump_tags_classes.html>
>>
>>
>> -
>>
>>http://www-128.ibm.com/developerworks/java/library/j-dclp1/
>>-
>>
>>http://www-128.ibm.com/developerworks/java/library/j-dclp2.html
>>-
>>
>>http://www-128.ibm.com/developerworks/java/library/j-dclp3/
>>-
>>
>>http://www-128.ibm.com/developerworks/java/library/j-dclp4/
>>-
>>
>>http://www.redbooks.ibm.com/redpapers/pdfs/redp4307.pdf
>>-
>>
>>
>>
>> http://www.ibm.com/developerworks/websphere/library/techarticles/0112_deboer/deboer.html
>>
>> -cheers,
>> Rohit
>>
>>
>> On Tue, Sep 4, 2012 at 2:38 PM, Kito Mann  wrote:
>>
>>> On Tue, Sep 4, 2012 at 2:36 PM, Rohit Kelapure 
>>> wrote:
>>>
>>>> WAS 8 is free for developers. No license needed.
>>>> See  http://www.ibm.com/developerworks/downloads/ws/wasdevelopers/
>>>>
>>>> What is the exact symptom of the problem ?
>>>>
>>>
>>> Basically, Ext-Scripting thinks it is re-loading classes, but it has no
>>> affect on the runtime. It's almost like it's using the wrong class loader
>>> or something.
>>>
>>>>
>>>> -cheers,
>>>> ROhit
>>>>
>>>>
>>>> On Tue, Sep 4, 2012 at 2:30 PM, Werner Punz 
>>>
>>> wrote:
>>>>
>>>>
>>>>> The config looks correct to me
>>>>> I guess that we will have an incompatibility with WAS then.
>>>>> I have tested the code only on servlet runners like tomcat and Jetty.
>>>>> I will try to get hold on a WAS 8.0 testlicense to debug that out.
>>>>> Won´t happen this week anymore though due to time constraints.
>>>>> Are you running in an EAR environment or simple WAR environment?
>>>>>
>>>>>
>>>>>
>>>>> Werner
>>>>>
>>>>> Am 04.09.12 17:02, schrieb Kito Mann:
>>>>>
>>>>>   Hello Werner,
>>>>>>
>>>>>>
>>>>>> Thanks for looking into this. Here is the web.xml. I just realized
>>>
>>> that
>>>>>>
>>>>>> it's set to Servlet 2.5 instead of 3.0; could that be the problem?
>>>>>>
>>>>>> 
>>>>>> http://www.w3.org/**2001/XMLSchema-instance<
>>>>
>>>> http://www.w3.org/2001/XMLSchema-instance>
>>>>>>
>>>>>> "
>>>>>>   xmlns="http://java.sun.com/**xml/ns/javaee<
>>>>
>>>> http://java.sun.com/xml/ns/javaee>"
>>>>>>
>>>>>> xmlns:web="
>>>>>> http:

Re: [Extensions-Scripting] Java code changes not getting picked up

2012-09-04 Thread Kito Mann
FYI, this is still with Ext-Scripting 1.0.2. Let me know if you really
think using the SNAPSHOT would make a difference.
___

Kito D. Mann | @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 |
@jsfcentral
+1 203-404-4848 x246

* Listen to the latest headlines in the JSF and Java EE newscast: *
http://blogs.jsfcentral.com/JSFNewscast/*
* Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17



On Tue, Sep 4, 2012 at 5:39 PM, Kito Mann  wrote:

> So I tried it out in the shared library, and the result is the same,
> unfortunately. It thinks its loading the classes, but it has no effect. I
> did notice a couple of things in the logs, though:
>
> * Even though I added the PKG_WHITELIST parameter and specified a single
> package, Ext-Scripting is says it is loading dozens of classes, many of
> which are not in the same package. Is this correct? The output is:
> "[EXT-SCRIPTING] Loading Java file:"
>
> * WAS "failed to open resource
> [org/apache/myfaces/extensions/scripting/servlet/ScriptingServletFilter.class]
> from module [ test.war ]". In this case the filter is actually in the
> shared library, so it really isn't in the WAR. How can I tell if the filter
> is actually running?
>
> ___
>
> Kito D. Mann | @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 |
> @jsfcentral
> +1 203-404-4848 x246
>
> * Listen to the latest headlines in the JSF and Java EE newscast: *
> http://blogs.jsfcentral.com/JSFNewscast/*
> * Sign up for the JSFCentral Newsletter:
> http://oi.vresp.com/?fid=ac048d0e17
>
>
>
> On Tue, Sep 4, 2012 at 2:15 PM, Werner Punz  wrote:
>
>> Ext-scripting registers short lived classloaders which register the newly
>> to be loaded classes and drops the classloaders afterwards.
>> (so called throw away classloaders)
>>
>> there is no long lived classloader pushed into the system on top of it to
>> avoid container problems.
>>
>> Either way thanks for all the links and debugging hints, I will have a
>> look at it.
>>
>> Werner
>>
>>
>> Am 04.09.12 21:09, schrieb Rohit Kelapure:
>>
>>  For further classloader debugging you can enable the WebSphere
>>> Classloader
>>> viewer service which will show you the exact set of classes loaded in
>>> your
>>> app. I also suggest enabling verbose classloading.
>>> In order to reload the class in WAS, the application classloader needs to
>>> be unloaded and reloaded back again. Not sure how Ext-Scripting achieves
>>> this.
>>> If you are interested in further deep dive debugging these are the steps
>>> ...
>>>
>>>
>>> -
>>>
>>>MustGather: http://www-01.ibm.com/support/**
>>> docview.wss?uid=swg21196187<http://www-01.ibm.com/support/docview.wss?uid=swg21196187>
>>>-
>>>
>>>   Diagnostic Trace > com.ibm.ws.classloader.*=all
>>>   -
>>>
>>>   JVM > Verbose class loading
>>>   -
>>>
>>>   JVM > Custom Properties -> ws.ext.debug=true
>>>
>>>
>>> -
>>>
>>>Verbose class loading:
>>>http://publib.boulder.ibm.com/**infocenter/wasinfo/v6r1/topic/**
>>> com.ibm.websphere.nd.multipl<http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/topic/com.ibm.websphere.nd.multipl>
>>> >> com.ibm.websphere.nd.**multiplatform.doc/info/ae/ae/**
>>> urun_rconfproc_jvm.html<http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/topic/com.ibm.websphere.nd.multiplatform.doc/info/ae/ae/urun_rconfproc_jvm.html>
>>> >
>>>atform.doc/info/ae/ae/urun_**rconfproc_jvm.html<http://**
>>> publib.boulder.ibm.com/**infocenter/wasinfo/v6r1/topic/**
>>> com.ibm.websphere.nd.**multiplatform.doc/info/ae/ae/**
>>> urun_rconfproc_jvm.html<http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/topic/com.ibm.websphere.nd.multiplatform.doc/info/ae/ae/urun_rconfproc_jvm.html>
>>> >
>>>-
>>>
>>>   Prints each class that was loaded and the absolute path of the
>>> JAR.
>>>
>>>
>>> -
>>>
>>>ws.ext.debug goes to native_stdout.log or SystemOut.log
>>>-
>>>
>>>   See also ws.ext.dirs in SystemOut.log which is the c

Re: [Extensions-Scripting] Java code changes not getting picked up

2012-09-04 Thread Kito Mann
 AppClassLoader, it may delegate up, for example to
>>  com.ibm.ws.bootstrap.**ExtClassLoader, and that's why
>> classloader trace, and
>>  for com.ibm.ws.bootstrap.**ExtClassLoader in particular,
>> ws.ext.debug are
>>  useful.
>>  -
>>
>>From the DMGR, use the Class Loader Viewer under Troubleshooting.
>>Drill down to a particular application in a server, and you can
>> export the
>>table as XML to send to others.
>>-
>>
>>   There are two tabs, Hierarchy and Search order. View both and
>>   export both.
>>   -
>>
>>   By default, the class loader viewer just shows which JARs get
>>   loaded into which classloader. You can also view which
>> classes get loaded
>>   into which classloader by clicking Table View > Enable the
>> class loader
>>   viewer service to view the list of classes loaded. Click here
>> to enable. >
>>   Enable service at server startup > Restart the server
>>   -
>>
>>  This can be enabled/disabled in Application Server >
>> Additional
>>  Properties > Class loader viewer service
>>  -
>>
>>   Common search order (#6 = EAR, #7 = WAR):
>>   -
>>
>>  1 - JDK Extension - sun.misc.Launcher$**ExtClassLoader
>>  -
>>
>>  2 - JDK Application - sun.misc.Launcher$**AppClassLoader
>>  -
>>
>>  3 - OSGI -
>>  org.eclipse.osgi.internal.**baseadaptor.DefaultClassLoader
>>  -
>>
>>  4 - Extension - com.ibm.ws.bootstrap.**ExtClassLoader
>>  -
>>
>>  5 - WAS Protection Class Loader -
>>  com.ibm.ws.classloader.**ProtectionClassLoader
>>  -
>>
>>  6 - Module - com.ibm.ws.classloader.**CompoundClassLoader
>>  -
>>
>>  7 - Module – com.ibm.ws.classloader.**CompoundClassLoader
>>
>>
>> -
>>
>>Background
>>-
>>
>>
>>   http://publib.boulder.ibm.com/**infocenter/javasdk/v5r0/topic/*
>> *com.ibm.java.doc.diagnostics.**50/diag/understanding/class_**loader.html<http://publib.boulder.ibm.com/infocenter/javasdk/v5r0/topic/com.ibm.java.doc.diagnostics.50/diag/understanding/class_loader.html>
>>   -
>>
>>
>>   http://publib.boulder.ibm.com/**infocenter/javasdk/v5r0/topic/*
>> *com.ibm.java.doc.diagnosti<http://publib.boulder.ibm.com/infocenter/javasdk/v5r0/topic/com.ibm.java.doc.diagnosti>
>> > com.ibm.java.doc.diagnostics.**50/diag/tools/javadump_tags_**classes.html<http://publib.boulder.ibm.com/infocenter/javasdk/v5r0/topic/com.ibm.java.doc.diagnostics.50/diag/tools/javadump_tags_classes.html>
>> >
>>   cs.50/diag/tools/javadump_**tags_classes.html<http://**
>> publib.boulder.ibm.com/**infocenter/javasdk/v5r0/topic/**
>> com.ibm.java.doc.diagnostics.**50/diag/tools/javadump_tags_**classes.html<http://publib.boulder.ibm.com/infocenter/javasdk/v5r0/topic/com.ibm.java.doc.diagnostics.50/diag/tools/javadump_tags_classes.html>
>> >
>>
>>
>> -
>>
>>
>> http://www-128.ibm.com/**developerworks/java/library/j-**dclp1/<http://www-128.ibm.com/developerworks/java/library/j-dclp1/>
>>-
>>
>>http://www-128.ibm.com/**developerworks/java/library/j-**
>> dclp2.html<http://www-128.ibm.com/developerworks/java/library/j-dclp2.html>
>>-
>>
>>
>> http://www-128.ibm.com/**developerworks/java/library/j-**dclp3/<http://www-128.ibm.com/developerworks/java/library/j-dclp3/>
>>-
>>
>>
>> http://www-128.ibm.com/**developerworks/java/library/j-**dclp4/<http://www-128.ibm.com/developerworks/java/library/j-dclp4/>
>>-
>>
>>
>> http://www.redbooks.ibm.com/**redpapers/pdfs/redp4307.pdf<http://www.redbooks.ibm.com/redpapers/pdfs/redp4307.pdf>
>>-
>>
>>
>>http://www.ibm.com/**developerworks/websphere/**
>> library/techarticles/0112_**deboer/deboer.html<http://www.ibm.com/developerworks/websphere/library/techarticles/0112_deboer/deboer.html>
>>
>> -cheers,
>> Rohit
>>
>>
>> On Tue, Sep 4, 2012 at 2:38 PM, Kito Mann  wrote:
>>
>>  On Tue, Sep 4, 2012 at 2:36 PM, Rohit Kelapur

[ANNOUNCE:] JSF and Java EE Newscast - Episode 10 - Aug 2012

2012-09-04 Thread Kito Mann
In this episode, Kito, Ian, and Daniel discuss PrimeFaces, ICEfaces, Spring
Tools Suite, JBoss Developer Studio, Spring Data, Hibernate, Arquillian,
Rod Johnson leaving SpringSource, Java developer shortages, and more.



Read the newscast here:



http://blogs.jsfcentral.com/JSFNewscast/entry/jsf_and_java_ee_newscast10

-- 
___

Kito D. Mann | @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 |
@jsfcentral
+1 203-404-4848 x246

* Listen to the latest headlines in the JSF and Java EE newscast: *
http://blogs.jsfcentral.com/JSFNewscast/*
* Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17


Re: [Extensions-Scripting] Java code changes not getting picked up

2012-09-04 Thread Kito Mann
On Tue, Sep 4, 2012 at 2:30 PM, Werner Punz  wrote:

> The config looks correct to me
>

Ok. Thanks for looking at it.


> I guess that we will have an incompatibility with WAS then.
> I have tested the code only on servlet runners like tomcat and Jetty.
> I will try to get hold on a WAS 8.0 testlicense to debug that out.
> Won´t happen this week anymore though due to time constraints.
> Are you running in an EAR environment or simple WAR environment?
>

It's running in an EAR environment. One other nuance: MyFaces Core is
loaded as part of a WAS "shared library",  and Ext-Scripting is bundled
with the WAR/EAR. That seems logical to me, but should Ext-Scripting be in
the shared library instead?

>
>
>
> Werner
>
> Am 04.09.12 17:02, schrieb Kito Mann:
>
>> Hello Werner,
>>
>> Thanks for looking into this. Here is the web.xml. I just realized that
>> it's set to Servlet 2.5 instead of 3.0; could that be the problem?
>>
>> 
>> > xmlns:xsi="http://www.w3.org/**2001/XMLSchema-instance<http://www.w3.org/2001/XMLSchema-instance>
>> "
>>  
>> xmlns="http://java.sun.com/**xml/ns/javaee<http://java.sun.com/xml/ns/javaee>"
>> xmlns:web="
>> http://java.sun.com/xml/ns/**javaee/web-app_2_5.xsd<http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd>
>> "
>>  
>> xsi:schemaLocation="http://**java.sun.com/xml/ns/javaee<http://java.sun.com/xml/ns/javaee>
>> http://java.sun.com/xml/ns/**javaee/web-app_2_5.xsd<http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd>
>> "
>>  id="WebApp_ID" version="2.5">
>>
>>  
>>  scriptingFilter
>>
>> org.apache.**myfaces.extensions.scripting.**servlet.**
>> ScriptingServletFilter
>>  
>>  
>>  scriptingFilter
>>  /faces/*
>>  REQUEST
>>  FORWARD
>>  INCLUDE
>>  ERROR
>>  
>>  
>>   Initializes the plugins for our scripting support
>> 
>>  org.apache.**myfaces.FACES_INIT_PLUGINS> param-name>
>>
>> org.apache.**myfaces.extensions.scripting.**servlet.**
>> StartupServletContextPluginCha**inLoader
>>  
>>
>>  
>>  Additional comma separated loader paths to allow
>> direct editing on the sources directory instead of the deployment dir
>> 
>>
>> org.apache.**myfaces.extensions.scripting.**
>> java.LOADER_PATHS
>>  C:/workspaces/**src
>>  
>>
>>  
>>  **log4jConfigLocation
>>  /WEB-INF/log4j.**properties
>>  
>>
>>  
>>  javax.faces.**PROJECT_STAGE
>>  Development
>>  
>>  
>>  javax.faces.**FACELETS_REFRESH_PERIOD
>>  1
>>  
>>  
>>  javax.faces.STATE_**SAVING_METHOD
>>  server
>>  
>>  
>>
>> javax.faces.**validator.DISABLE_DEFAULT_**
>> BEAN_VALIDATOR
>>  true
>>  
>>  
>>
>> org.apache.**myfaces.NUMBER_OF_VIEWS_IN_**
>> SESSION
>>  25
>>  
>>  
>>  javax.faces.**FACELETS_LIBRARIES
>>  /WEB-INF/custom.**taglib.xml
>>  
>>  
>>  javax.faces.**VALIDATE_EMPTY_FIELDS
>>  true
>>  
>>  
>>  javax.faces.**PARTIAL_STATE_SAVING
>>  true
>>  
>>
>>  
>>  primefaces.THEME
>>  none
>>  
>>
>>  
>>  primefaces.SUBMIT<**/param-name>
>>  partial
>>  
>>
>>  
>>
>> org.apache.**myfaces.SERIALIZE_STATE_IN_**
>> SESSION
>>  false
>>  
>>  
>>
>> org.apache.**myfaces.COMPRESS_STATE_IN_**SESSION
>>  false
>>  
>>  
>>
>> org.apache.**myfaces.NUMBER_OF_SEQUENTIAL_**
>> VIEWS_IN_SESSION
>>  7
>>  
>>  
>>
>> org.apache.**myfaces.USE_FLASH_SCOPE_PURGE_**
>> VIEWS_IN_SESSION
>>  true
>>  
>>  
>>  org.apache.**myfaces.ADD_RESOURCE_CLASS> param-name>
>>
>> org.apache.**myfaces.component.html.util.**
>> StreamingAddResource
>>  
>>  
>>  org.apache.**myfaces.USE_ENCRYPTION
>>  false
>>  
>>  
>>  LoginFilter
>>

Re: [Extensions-Scripting] Java code changes not getting picked up

2012-09-04 Thread Kito Mann
On Tue, Sep 4, 2012 at 2:36 PM, Rohit Kelapure  wrote:

> WAS 8 is free for developers. No license needed.
> See  http://www.ibm.com/developerworks/downloads/ws/wasdevelopers/
>
> What is the exact symptom of the problem ?
>

Basically, Ext-Scripting thinks it is re-loading classes, but it has no
affect on the runtime. It's almost like it's using the wrong class loader
or something.

>
> -cheers,
> ROhit
>
>
> On Tue, Sep 4, 2012 at 2:30 PM, Werner Punz  wrote:
>
> > The config looks correct to me
> > I guess that we will have an incompatibility with WAS then.
> > I have tested the code only on servlet runners like tomcat and Jetty.
> > I will try to get hold on a WAS 8.0 testlicense to debug that out.
> > Won´t happen this week anymore though due to time constraints.
> > Are you running in an EAR environment or simple WAR environment?
> >
> >
> >
> > Werner
> >
> > Am 04.09.12 17:02, schrieb Kito Mann:
> >
> >  Hello Werner,
> >>
> >> Thanks for looking into this. Here is the web.xml. I just realized that
> >> it's set to Servlet 2.5 instead of 3.0; could that be the problem?
> >>
> >> 
> >> http://www.w3.org/**2001/XMLSchema-instance<
> http://www.w3.org/2001/XMLSchema-instance>
> >> "
> >>  xmlns="http://java.sun.com/**xml/ns/javaee<
> http://java.sun.com/xml/ns/javaee>"
> >> xmlns:web="
> >> http://java.sun.com/xml/ns/**javaee/web-app_2_5.xsd<
> http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd>
> >> "
> >>  xsi:schemaLocation="http://**java.sun.com/xml/ns/javaee<
> http://java.sun.com/xml/ns/javaee>
> >> http://java.sun.com/xml/ns/**javaee/web-app_2_5.xsd<
> http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd>
> >> "
> >>  id="WebApp_ID" version="2.5">
> >>
> >>  
> >>  scriptingFilter
> >>
> >> org.apache.**myfaces.extensions.scripting.**servlet.**
> >> ScriptingServletFilter
> >>  
> >>  
> >>  scriptingFilter
> >>  /faces/*
> >>  REQUEST
> >>  FORWARD
> >>  INCLUDE
> >>  ERROR
> >>  
> >>  
> >>   Initializes the plugins for our scripting support
> >> 
> >>  org.apache.**myfaces.FACES_INIT_PLUGINS >> param-name>
> >>
> >> org.apache.**myfaces.extensions.scripting.**servlet.**
> >> StartupServletContextPluginCha**inLoader
> >>  
> >>
> >>  
> >>  Additional comma separated loader paths to allow
> >> direct editing on the sources directory instead of the deployment dir
> >> 
> >>
> >> org.apache.**myfaces.extensions.scripting.**
> >> java.LOADER_PATHS
> >>  C:/workspaces/**src
> >>  
> >>
> >>  
> >>  **log4jConfigLocation
> >>  /WEB-INF/log4j.**properties
> >>  
> >>
> >>  
> >>  javax.faces.**PROJECT_STAGE
> >>  Development
> >>  
> >>  
> >>
>  javax.faces.**FACELETS_REFRESH_PERIOD
> >>  1
> >>  
> >>  
> >>  javax.faces.STATE_**SAVING_METHOD
> >>  server
> >>  
> >>  
> >>
> >> javax.faces.**validator.DISABLE_DEFAULT_**
> >> BEAN_VALIDATOR
> >>  true
> >>  
> >>  
> >>
> >> org.apache.**myfaces.NUMBER_OF_VIEWS_IN_**
> >> SESSION
> >>  25
> >>  
> >>  
> >>  javax.faces.**FACELETS_LIBRARIES
> >>  /WEB-INF/custom.**taglib.xml
> >>  
> >>  
> >>  javax.faces.**VALIDATE_EMPTY_FIELDS
> >>  true
> >>  
> >>  
> >>  javax.faces.**PARTIAL_STATE_SAVING
> >>  true
> >>  
> >>
> >>  
> >>  primefaces.THEME
> >>  none
> >>  
> >>
> >>  
> >>  primefaces.SUBMIT<**/param-name>
> >>  partial
> >>  
> >>
> >>  
> >>
> >> org.apache.**myfaces.SERIALIZE_STATE_IN_**
> >> SESSION
> >>  false
> >>  
> >>  
> >>
> &g

Re: [Extensions-Scripting] Java code changes not getting picked up

2012-09-04 Thread Kito Mann
Hello Werner,

Thanks for looking into this. Here is the web.xml. I just realized that
it's set to Servlet 2.5 instead of 3.0; could that be the problem?


http://www.w3.org/2001/XMLSchema-instance";
xmlns="http://java.sun.com/xml/ns/javaee"; xmlns:web="
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd";
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd";
id="WebApp_ID" version="2.5">


scriptingFilter

org.apache.myfaces.extensions.scripting.servlet.ScriptingServletFilter


scriptingFilter
/faces/*
REQUEST
FORWARD
INCLUDE
ERROR


 Initializes the plugins for our scripting support

org.apache.myfaces.FACES_INIT_PLUGINS

org.apache.myfaces.extensions.scripting.servlet.StartupServletContextPluginChainLoader



Additional comma separated loader paths to allow
direct editing on the sources directory instead of the deployment dir


org.apache.myfaces.extensions.scripting.java.LOADER_PATHS
C:/workspaces/src



log4jConfigLocation
/WEB-INF/log4j.properties



javax.faces.PROJECT_STAGE
Development


javax.faces.FACELETS_REFRESH_PERIOD
1


javax.faces.STATE_SAVING_METHOD
server



javax.faces.validator.DISABLE_DEFAULT_BEAN_VALIDATOR
true



org.apache.myfaces.NUMBER_OF_VIEWS_IN_SESSION
25


javax.faces.FACELETS_LIBRARIES
/WEB-INF/custom.taglib.xml


javax.faces.VALIDATE_EMPTY_FIELDS
true


javax.faces.PARTIAL_STATE_SAVING
true



primefaces.THEME
none



primefaces.SUBMIT
partial




org.apache.myfaces.SERIALIZE_STATE_IN_SESSION
false



org.apache.myfaces.COMPRESS_STATE_IN_SESSION
false



org.apache.myfaces.NUMBER_OF_SEQUENTIAL_VIEWS_IN_SESSION
7



org.apache.myfaces.USE_FLASH_SCOPE_PURGE_VIEWS_IN_SESSION
true


org.apache.myfaces.ADD_RESOURCE_CLASS

org.apache.myfaces.component.html.util.StreamingAddResource


org.apache.myfaces.USE_ENCRYPTION
false


LoginFilter
LoginFilter


gov.nh.dhhs.newheights.presentation.framework.application.filter.LoginFilter



LoginFilter
Faces Servlet




org.apache.myfaces.webapp.StartupServletContextListener


Faces Servlet
javax.faces.webapp.FacesServlet
1


Faces Servlet
/faces/*


Faces
Servlet

*.jsf


Faces Servlet
*.faces


Faces Servlet
*.xhtml


png
image/png


FORM
developinjava

/login.xhtml
/error.jspx



java.lang.Exception
/faces/error.xhtml


500
/faces/error.xhtml


30


___

Kito D. Mann | @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 |
@jsfcentral
+1 203-404-4848 x246

* Listen to the latest headlines in the JSF and Java EE newscast: *
http://blogs.jsfcentral.com/JSFNewscast/*
* Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17



On Mon, Sep 3, 2012 at 7:59 AM, Werner Punz  wrote:

> Am 03.09.12 13:52, schrieb Werner Punz:
>
>> Am 31.08.12 21:44, schrieb Kito Mann:
>>
>>  I'm trying to get MyFaces Extensions-Scripting running on RAD 8.0 with
>>> WAS
>>> 8.0 on Win 7 (no this isn't my choice of tools...) The goal is to use the
>>> dynamic Java class loading to avoid the hideously long WAS publish times.
>>> For the most part, everything is working fine now, and Ext-Scripting
>>> notices when the class has changed and outputs the full list of classes
>>> that are being loaded to the console. Unfortunately, the changes aren't
>>> being picked up by the application. I've tried several different
>>> scenarios
>>> (using a specific LOADER_PATH, the default WEB-INF/java path, changing
>>> the
>>> publishing settings, turning Build Automatically on or off, etc.), but I
>>> haven't had any luck. Perhaps WAS is doing something different at the
>>> classloader level than Ext-Scripting expects? Any ideas?
>>> ___
>>>
>>> Kito D. Mann | @kito99 | Author, JSF in Action
>>> Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and
>>> consulting
&

Re: [Extensions-Scripting] Java code changes not getting picked up

2012-08-31 Thread Kito Mann
FYI, I'm using Ext-Scripting 1.02.
___

Kito D. Mann | @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 |
@jsfcentral
+1 203-404-4848 x246

* Listen to the latest headlines in the JSF and Java EE newscast: *
http://blogs.jsfcentral.com/JSFNewscast/*
* Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17



On Fri, Aug 31, 2012 at 3:44 PM, Kito Mann  wrote:

> I'm trying to get MyFaces Extensions-Scripting running on RAD 8.0 with WAS
> 8.0 on Win 7 (no this isn't my choice of tools...) The goal is to use the
> dynamic Java class loading to avoid the hideously long WAS publish times.
> For the most part, everything is working fine now, and Ext-Scripting
> notices when the class has changed and outputs the full list of classes
> that are being loaded to the console. Unfortunately, the changes aren't
> being picked up by the application. I've tried several different scenarios
> (using a specific LOADER_PATH, the default WEB-INF/java path, changing the
> publishing settings, turning Build Automatically on or off, etc.), but I
> haven't had any luck. Perhaps WAS is doing something different at the
> classloader level than Ext-Scripting expects? Any ideas?
> ___
>
> Kito D. Mann | @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 |
> @jsfcentral
> +1 203-404-4848 x246
>
> * Listen to the latest headlines in the JSF and Java EE newscast: *
> http://blogs.jsfcentral.com/JSFNewscast/*
> * Sign up for the JSFCentral Newsletter:
> http://oi.vresp.com/?fid=ac048d0e17
>
>


[Extensions-Scripting] Java code changes not getting picked up

2012-08-31 Thread Kito Mann
I'm trying to get MyFaces Extensions-Scripting running on RAD 8.0 with WAS
8.0 on Win 7 (no this isn't my choice of tools...) The goal is to use the
dynamic Java class loading to avoid the hideously long WAS publish times.
For the most part, everything is working fine now, and Ext-Scripting
notices when the class has changed and outputs the full list of classes
that are being loaded to the console. Unfortunately, the changes aren't
being picked up by the application. I've tried several different scenarios
(using a specific LOADER_PATH, the default WEB-INF/java path, changing the
publishing settings, turning Build Automatically on or off, etc.), but I
haven't had any luck. Perhaps WAS is doing something different at the
classloader level than Ext-Scripting expects? Any ideas?
___

Kito D. Mann | @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 |
@jsfcentral
+1 203-404-4848 x246

* Listen to the latest headlines in the JSF and Java EE newscast: *
http://blogs.jsfcentral.com/JSFNewscast/*
* Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17


Re: ViewExpiredException with valid session

2012-08-09 Thread Kito Mann
Hmm... which versions of PrimeFaces and MyFaces are you using?
___

Kito D. Mann | @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 |
@jsfcentral
+1 203-404-4848 x246

* Listen to the latest headlines in the JSF and Java EE newscast: *
http://blogs.jsfcentral.com/JSFNewscast/*
* Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17



On Thu, Aug 9, 2012 at 9:02 AM, Jarosław Szczepankiewicz <
jarr...@poczta.onet.pl> wrote:

> Hi, thanks for interest. The scenario looks as following (with ajax =
> false on button):
>
> 1. deploying the application
> 2. accessing page with form (GET) -> shows the form with filled values for
> Article with ID = 3, no exception
> 3. clicking the button
> exception
>
>
> situation the same if i
> 1. deploying the application
> 2. accessing page with form (GET) -> shows the form with filled values for
> Article with ID = 3, no exception
> 3. refresh the browser (to be sure that the session exists before page
> enters)
> 3. clicking the button
> exception
>
> (...)
>
>
>


Re: ViewExpiredException with valid session

2012-08-09 Thread Kito Mann
Helo Jaroslaw,

Does this happen the _very_ first time you click on the button, even when
ajax is set to false for the button?
___

Kito D. Mann | @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 |
@jsfcentral
+1 203-404-4848 x246

* Listen to the latest headlines in the JSF and Java EE newscast: *
http://blogs.jsfcentral.com/JSFNewscast/*
* Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17



On Thu, Aug 9, 2012 at 8:11 AM, Jarosław Szczepankiewicz <
jarr...@poczta.onet.pl> wrote:

> Hi,
>
> I have a big (for me) problem with primefaces / myfaces.
> Server: tomcat 7, myfaces: 2.1.2, jdk 7, primefaces 3.3.1
>
> I have simple managed bean with @ViewScope. I have an edit form. I access
> the form with GET parameter:
> /be/cms/article.faces?id=3
>
> which is used to load the Article from DB. Form shows ok and is in session
> (i observer session id and it does not change). Then I click submit button.
> I get:
> -
>[java] DEBUG [SessionTimeoutPhaseListener.java] beforePhase:
> RESTORE_VIEW(1)
>  [java] DEBUG [SessionTimeoutPhaseListener.java] NO session timeout
> detected...
>  [java] DEBUG [SessionTimeoutPhaseListener.java] afterPhase:
> RESTORE_VIEW(1)
> javax.faces.application.ViewExpiredException: /be/cms/article.facesNo
> saved view state could be found for the view identifier:
> /be/cms/article.faces
>  [java] at
> org.apache.myfaces.lifecycle.RestoreViewExecutor.execute(RestoreViewExecutor.java:128)
> ~[myfaces-impl-2.1.2.jar:2.1.2]
>  [java] at
> org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:171)
> [myfaces-impl-2.1.2.jar:2.1.2]
>  [java] at
> org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
> [myfaces-impl-2.1.2.jar:2.1.2]
>  [java] at
> javax.faces.webapp.FacesServlet.service(FacesServlet.java:189)
> [myfaces-api-2.1.2.jar:2.1.2]
>  [java] at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> [catalina.jar:7.0.26]
>  [java] at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> [catalina.jar:7.0.26]
>  [java] at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
> [catalina.jar:7.0.26]
>  [java] at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> [catalina.jar:7.0.26]
>  [java] at
> org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> [tomee-catalina-4.0.0-beta-2.jar:4.0.0-beta-2]
>  [java] at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
> [catalina.jar:7.0.26]
>  [java] at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> [catalina.jar:7.0.26]
>  [java] at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> [catalina.jar:7.0.26]
>  [java] at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> [catalina.jar:7.0.26]
>  [java] at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> [catalina.jar:7.0.26]
>  [java] at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> [catalina.jar:7.0.26]
>  [java] at
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
> [tomcat-coyote.jar:7.0.26]
>  [java] at
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
> [tomcat-coyote.jar:7.0.26]
>  [java] at
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> [tomcat-coyote.jar:7.0.26]
>  [java] at
> java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
> [na:1.7.0_03]
>  [java] at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> [na:1.7.0_03]
>  [java] at java.lang.Thread.run(Unknown Source) [na:1.7.0_03]
> ---
> SessionTimeoutPhaseListener is my class that implements PhaseListener,
> strange thing is that phase listener shows that the exception is probably
> after RESTORE_VIEW :(.
>
> The session is not timed out. I have org.apache.myfaces.VALIDATE = true.
>  ID of the session does not change. I have observed the PostConstruct
> entrance but no PreDestroy on my bean so probably my bean still lives and
> is ready to be bound to the view, but can not force the view to be restored.
>  I have used the following options:
>
> 1. facelets.BUILD_BEFORE_RESTORE = TRUE, does not matter
> 2. javax.faces.STATE_SAVING_METHOD = client or server, does not matter
> 3. changing AJAX to FALSE and using direct access does not matter
>
> The post does
> I have lost almost all my hairs. I will appreciate any help & ad

JSF and Java EE Newscast - Episode 9 - July 2012

2012-07-31 Thread Kito Mann
The JSF and Java EE Newscast, hosted by Kito D. Mann, Ian Hlavats, and
Daniel Hinojosa, is a monthly podcast that covers the latest headlines in
the world of JavaServer Faces and Enterprise Java development.

In this episode, Kito, Ian, and Daniel discuss JAXConf/JSF Summit 2012,
Java 8, WebSphere Liberty Profile, Arquillian, and new releases from
MyFaces, Spring, JBoss, ICEfaces, RichFaces, Tomcat, and more.


http://blogs.jsfcentral.com/JSFNewscast/category/Newscasts
-- 
___

Kito D. Mann | @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 |
@jsfcentral
+1 203-404-4848 x246

* Listen to the latest headlines in the JSF and Java EE newscast:
http://blogs.jsfcentral.com/roller/editorsdesk/category/JSF+and+Java+EE+Newscast
* Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17


Re: JSF Facescomponent change reference value

2012-07-27 Thread Kito Mann
Hello Jose,

The problem is that you're not updating the reference map with the new
value. Re-assigning the string value has no effect on the Map (this is how
references work in Java). This should work:

@FacesComponent(value="myComponent")
 public class MyComponent extends UINamingContainer  {
   public void changeStringValue(ActionEvent e){
 getAttributes().put("myString", "HERE IM SETTING A NEW VALUE");
   }
 }
___

Kito D. Mann | @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 |
@jsfcentral
+1 203-404-4848 x246

* Listen to the latest headlines in the JSF and Java EE newscast:
http://blogs.jsfcentral.com/roller/editorsdesk/category/JSF+and+Java+EE+Newscast
* Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17



On Wed, Jul 25, 2012 at 4:08 PM, José Luis Cetina wrote:

> I pass a string reference to my composite component with the value =
> ORIGINAL VALUE, then my composite component have a button, this button
> change the original value to = HERE IM SETTING A NEW VALUE, then when
> i press my button in my "normal page: page.xhtml for review it",the
> value still without any change (ORIGINAL VALUE), why this happend, if
> my string is pass as a reference because is an object, what im doing
> wrong?
>
> Resume:
>
> 1. I pass a String (as attribute to my composite component) with the
> value: ORIGINAL VALUE
> 2. Then in the composite component i get this attribute and change it
> to =HERE IM SETTING A NEW VALUE
> 3. When i review the value in page.xhtml i see again ORIGINAL VALUE
> (not expected)
> 4. If i review my value in my composite component i have:HERE IM
> SETTING A NEW VALUE
>
> I try to set my Bean to RequestScoped, ViewAccessScoped and
> SessionScoped and the problem is the same.
>
> Here is an example:
>
> My composite component: myComponent.xhtml
>
>  http://www.w3.org/1999/xhtml";
>   xmlns:p="http://primefaces.org/ui";
>   xmlns:cc="http://java.sun.com/jsf/composite";
>   xmlns:ui="http://java.sun.com/jsf/facelets";
>   xmlns:h="http://java.sun.com/jsf/html";>
>
> 
> 
> 
>
> 
>   actionListener="#{cc.changeStringValue}"/>
> 
>
> 
> My FacesComponent Class:
>
> @FacesComponent(value="myComponent")
>  public class MyComponent extends UINamingContainer  {
>public void changeStringValue(ActionEvent e){
>  String originalValue = (String) getAttributes().get("myString");
>  //Here i change the value
>  originalValue = "HERE IM SETTING A NEW VALUE";
>}
>  }
> My page.xhtml
>
> 
>  
>actionListener="#{myBean.showValue}"/>
> 
> 
> ManagedBean:
>
> @Named
> @ViewAccessScoped
> public void MyBean implements Serializable{
>public String myString = "ORIGINAL VALUE";
>
>public void showValue(ActionEvent e){
> //why here i see ORIGINAL VALUE if my component change the reference
> value??
>  System.out.println("Value: "+myString);
>}
>
>   //setters and getters...
> }
>
>
>
> What im doing wrong???
>


ANNOUNCE: Metadata based validation for JavaServer Faces - Part 4

2012-06-07 Thread Kito Mann
I am pleased to announce a new article fromGerhard Petracek -

Metadata based validation for JavaServer Faces - Part 4. In the fourth
installment of this series on MyFaces ExtVal, Gerhard Petracek explains
some concepts provided by the Core of ExtVal that allow you to integrate
custom concepts easily.



 Here is an excerpt:

An important part of validation in a UI is the result displayed in case of
a detected violation. ExtVal provides a pluggable mechanism that lets you
provide a MessageResolver class per constraint via convention or dependency
injection. It's also possible to use a default MessageResolver per
validation module and many other possibilities. A MessageResolver takes
a String as well as a Locale and transforms it to a localized message.
Basically ExtVal provides an easy to use infrastructure for message
resolving. Since there are a lot of different possibilities, and ExtVal
will support you with using or integrating your preferred concept of
message resolving, we won't take a close look at any particular approach
here. There are several
examples
that
illustrate some of the available approaches.



Read the Full Article here:

http://www.jsfcentral.com/articles/myfaces_extval_4.html

-- 
___

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 x246

* Listen to the latest headlines in the JSF and Java EE newscast:
http://blogs.jsfcentral.com/roller/editorsdesk/category/JSF+and+Java+EE+Newscast
* Sign up for the JSFCentral newsletter: http://oi.vresp.com/?fid=ac048d0e17


ANNOUNCE: Brian Leathem reveals RichFaces 4.2 and discusses SeamFaces

2012-06-01 Thread Kito Mann
I am pleased to announce a new Podcast withBrian Leathem -

JSFCentral Episode #26: Brian Leathem reveals RichFaces 4.2 and discusses
SeamFaces



In this podcast, JSFCentral editor-in-chief Kito D. Mann talks with Brian
Leathem about RichFaces and the Seam Faces Module.





 Here is an excerpt:



Kito

Yeah. Cool. Well, I wanted to talk about a couple things here today, which
relate to what you do. So, let's start out with updating people about
RichFaces, I know you guys are releasing RichFaces 4.2 right now. I think
CR1 came out on the 8th. And by the time you hear this, 4.2 will probably
be final.

And I think what I'd like to do is..RichFaces has a very long history,
started out as a product with Exadel and then has been with JBoss for quite
a few years now.

And I was just wondering if you could kind of give us an overview of what
happened with RichFaces 4.0 because that was the last sort of major
release. And I think a lot of people have worked with 3.x or have seen an
older version of RichFaces, and may not be kind of familiar with the
changes in 4.0. So, why don't we start with that, and then we can talk a
little bit more about the newer releases, especially 4.2.

Brian

Sure. Sounds good. So, RichFaces 4.0 was primarily focused on supporting
JSF 2.0. So with JSF 2.0, of course, we saw the standardization of the Ajax
approach in JSF, and a corresponding change in a number of the APIs that
component developers used to build components. So, with RichFaces 4.0 we
ported a number of the RichFaces 3.0 components to work with JSF 2.0 and
allow application developers to make a smooth transition from RichFaces 3.0
to RichFaces 4.0.

And along with that, we have a couple new features that we introduced with
RichFaces 4.0. We have the client side validation feature, which brings
bean validation into the browser with a JavaScript implementation. So, you
can get feedback-users can get feedback on validation errors right within
their browser. And similarly, we introduced the push feature with RichFaces
4.0 based on the Atmosphere Framework.







Read the full Podcast here:



http://www.jsfcentral.com/articles/leathem-05-12.html

JSFCentral Episode #26: Brian Leathem reveals RichFaces 4.2 and discusses
SeamFaces


-- 
___

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 x246

* Listen to the latest headlines in the JSF and Java EE newscast:
http://blogs.jsfcentral.com/roller/editorsdesk/category/JSF+and+Java+EE+Newscast
* Sign up for the JSFCentral newsletter: http://oi.vresp.com/?fid=ac048d0e17


Announce: ICEmobile - Enabling Enterprise Mobility with JSF

2012-05-17 Thread Kito Mann
I am pleased to announce a new article  from Stephen Maryka. Stephen is the
Chief Technical Officer at ICEsoft Technologies Inc. Stephen provides an
overview of ICEmobile, which enables Java Enterprise developers to build
web applications that provide the native look, feel, and capabilities of
the mobile devices from which they are accessed. ICEmobile delivers a user
experience that matches native mobile applications, and it does so in a way
that adapts seamlessly to the various device platforms.  Here is an
excerpt:



JSF is not new to the mobile landscape.  As early as 2007, the
ICEfaces
framework
was being used to deliver JSF-based applications to mobile devices.
Advanced browser capabilities on devices like the iPhone, coupled with
advanced Ajax-based frameworks like ICEfaces, enabled JSF developers to
adapt desktop-targeted Rich Internet Application (RIA's) to mobile devices
in an effective manner.  So what has changed in the last five years that
out-dates these early techniques, and what modern approaches can be applied
to deliver a true native user experience to today's wide spectrum of smart
phones and other mobile devices?  A brief review of the recent and
astounding  history of smartphones will shed some light on this question
and its answer.





Read the article here:



http://www.jsfcentral.com/articles/icemobile.html
-- 
___

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

* Listen to the latest headlines in the JSF and Java EE newscast:
http://blogs.jsfcentral.com/roller/editorsdesk/category/JSF+and+Java+EE+Newscast
* Sign up for the JSFCentral newsletter: http://oi.vresp.com/?fid=ac048d0e17


Announce: JSF and Java EE Newscast - Episode 8 - May 2012

2012-05-15 Thread Kito Mann
I am pleased to announce a new Newscast on JSFCentral.com.



The JSF and Java EE Newscast, hosted by Kito D. Mann, Ian Hlavats, and
Daniel Hinojosa, is a monthly podcast that covers the latest headlines in
the world of JavaServer Faces and Enterprise Java development.



In this episode, Kito, Ian, and Daniel discuss JDK 8, LiferayFaces, the new
Jenkins repository, and new releases of ICEfaces, MyFaces, Weld, Ceylon,
ModeShape, Arquillian, Akka, NetBeans, and several Spring products.



Listen to the newscast here:



http://blogs.jsfcentral.com/JSFNewscast/entry/jsf_and_java_ee_newscast8

-- 
___

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

* Listen to the latest headlines in the JSF and Java EE newscast:
http://blogs.jsfcentral.com/roller/editorsdesk/category/JSF+and+Java+EE+Newscast
* Sign up for the JSFCentral newsletter: http://oi.vresp.com/?fid=ac048d0e17


ANNOUNCE: Werner Punz on MyFaces Ajax and MyFaces Ext-Scripting

2012-04-06 Thread Kito Mann
I am pleased to announce a new Podcast with Werner Punz -

JSFCentral Episode #25: Werner Punz on MyFaces Ajax and MyFaces
Ext-Scripting



In this podcast, JSFCentral editor-in-chief Kito D. Mann discusses MyFaces
Ajax, MyFaces Extensions Scripting, and alternative JVM languages with
Werner Punz.

 Here is an excerpt:



Kito

Yeah. So, this is the new name for the JSFDays conference sponsored by
Irian Solutions, which does MyFaces' training consulting, and lots of other
JSF consulting work. Today, I'm here with Werner Punz. Werner is a big
MyFaces' committer, and also works for Irian. So, why don't you tell me a
little bit about yourself.

Werner

Well, I work mainly as a consultant for Irian. And I basically joined the
company over the MyFaces project. I think it was about five years ago, or
six years ago. My work in MyFaces itself is mainly the JavaScript part,
currently, and also the Extensions Scripting project.

Kito

Okay. Anything about your client work? What sort of clients do you guys
work with?

Werner

Well, I basically am assigned to tasks currently within the Credit Suisse,
which is a major client for the Irian Company.

Kito

Alright. So, you've been working with extension scripting, and I guess the
JavaScript portions of MyFaces. So you obviously have an interest in other
-- or non-Java languages.

Werner

Yes. I have a huge interest in non-Java languages. I don't know when it
started and how it started but as for the JavaScript part, over the years I
became entrenched deeper and deeper into the language itself. I think the
turning point was around 2005 or so. Before that, I thought, like many
people, that JavaScript itself is just a simple language, where you could
do just a little bit. And then, I think the turning point was when I first
saw the Prototype library.



Read the full Podcast here:

 http://www.jsfcentral.com/articles/punz-03-12.html
">JSFCentral Episode #25: Werner Punz on MyFaces Ajax and MyFaces
Ext-Scripting  







Kito D. Mann -- Author, JavaServer Faces in Action

http://twitter.com/kito99

http://www.virtua.com - JSF/Java EE consulting, training, and mentoring

http://www.JSFCentral.com - JavaServer Faces FAQ, news, and info

-- 
___

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

* Listen to the latest headlines in the JSF and Java EE newscast:
http://blogs.jsfcentral.com/roller/editorsdesk/category/JSF+and+Java+EE+Newscast
* Sign up for the JSFCentral newsletter: http://oi.vresp.com/?fid=ac048d0e17


ANNOUNCE: A RichFaces Roundup - What's New With 4.2 by Brian Leathem

2012-03-16 Thread Kito Mann
I am pleased to announce a new article from Brian Leathem -

A RichFaces Roundup - What's New With 4.2 . In this article,

Brian discusses the latest developments in the RichFaces project. New
components, mobile compatibility, resource loading optimizations, Ajax
push, and CDI integration are all areas that have seen improvement with the
recent 4.1 and 4.2 releases.  Here is an excerpt:



RichFaces is more than just a JSF component set for building your
applications. RichFaces (along with the Seam project) has always aimed to
provide developers with a complete JSF framework for developing
applications. With the recent RichFaces 4.1 release, the project continues
to build on the ideas of innovation, open standards, community and quality
that have made the project stand out over the years.

Read the full article here:



A RichFaces Roundup - What's New With 4.2

http://www.jsfcentral.com/articles/richfaces_4_2.html



-- 
___

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

* Listen to the latest headlines in the JSF and Java EE newscast:
http://blogs.jsfcentral.com/roller/editorsdesk/category/JSF+and+Java+EE+Newscast
* Sign up for the JSFCentral newsletter: http://oi.vresp.com/?fid=ac048d0e17


[ANNOUNCE] Trinidad in Action Part 3, and an Interview with Juergen Hoeller on Spring and JSF

2012-01-24 Thread Kito Mann
*Hello,

I’m pleased to announce some recent content at JSFCentral:

JSFCentral Podcast #24: Juergen Hoeller on Spring 3.1, JSF, and
more

In this podcast, JSFCentral editor-in-chief Kito D. Mann discusses Spring
Framework 3.0 and Spring's support for JSF with Spring Framework co-founder
Juergen Hoeller.

Trinidad in Action, Part 3: Exploring the Table and Tree
Components

In the third installment of the Trinidad series, Matthias Wessendorf takes
you on a tour of the Table and Tree components.

We’ve also got some great new content in the pipeline, including a new JSF
and Java EE Newscast, as well as an article about RichFaces 4.1.

Enjoy!

___

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

* Listen to the latest headlines in the JSF and Java EE newscast:
http://blogs.jsfcentral.com/JSFNewscast/
* Sign up for the JSFCentral newsletter: http://oi.vresp.com/?fid=ac048d0e17
*

-- 
___

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

* Listen to the latest headlines in the JSF and Java EE newscast:
http://blogs.jsfcentral.com/roller/editorsdesk/category/JSF+and+Java+EE+Newscast
* Sign up for the JSFCentral newsletter: http://oi.vresp.com/?fid=ac048d0e17


[ANNOUNCE] Trinidad in Action Part 3, and an Interview with Juergen Hoeller on Spring and JSF

2012-01-21 Thread Kito Mann
*Hello,

I’m pleased to announce some recent content at JSFCentral:

JSFCentral Podcast #24: Juergen Hoeller on Spring 3.1, JSF, and
more

In this podcast, JSFCentral editor-in-chief Kito D. Mann discusses Spring
Framework 3.0 and Spring's support for JSF with Spring Framework co-founder
Juergen Hoeller.

Trinidad in Action, Part 3: Exploring the Table and Tree
Components

In the third installment of the Trinidad series, Matthias Wessendorf takes
you on a tour of the Table and Tree components.

We’ve also got some great new content in the pipeline, including a new JSF
and Java EE Newscast, as well as an article about RichFaces 4.1.

Enjoy!*
-- 
___

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

* Listen to the latest headlines in the JSF and Java EE newscast:
http://blogs.jsfcentral.com/roller/editorsdesk/category/JSF+and+Java+EE+Newscast
* Sign up for the JSFCentral newsletter: http://oi.vresp.com/?fid=ac048d0e17


Re: JSF 2:

2011-11-08 Thread Kito Mann
Hello Rafael,

Check out the JSF 2 Flash scope. If you're using CODI there's another one
you can use (forgot the exact annotation).
---
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

* Listen to the latest headlines in the JSF and Java EE newscast:
http://blogs.jsfcentral.com/roller/editorsdesk/category/JSF+and+Java+EE+Newscast
* Keep up with the aftermath of the Oracle/Sun merger:
http://www.mergerspeak.com



On Mon, Nov 7, 2011 at 5:02 PM, Rafael Santini wrote:

> Hi,
>
> I'm starting a new project with JSF 2. Can I replace the  with
> some scope? I need keep an object through pages.
>
> Thanks,
>
> Rafael Santini
>


Re: Functionality that returns the Jsf-Version?

2011-10-27 Thread Kito Mann
Hello Georg,

There isn't a standard API for revealing the JSF version, but you can
reveal the location of the JSF API JAR:

System.out.println("JSF API Location: "
+ FacesContext.class.getProtectionDomain().getCodeSource());

This will print out the path to the JAR that contains the FacesContext.

I've found this useful in WAS 7 and 8 for determining the location of the
JSF classes are being loaded.
---
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

* Listen to the latest headlines in the JSF and Java EE newscast:
http://blogs.jsfcentral.com/roller/editorsdesk/category/JSF+and+Java+EE+Newscast
* Keep up with the aftermath of the Oracle/Sun merger:
http://www.mergerspeak.com



On Thu, Oct 27, 2011 at 6:43 AM, Georg Füchsle wrote:

> Hallo!
>
> My WebApp needs to use Jsf with the Version 1.2.15B02. In WAS7 I
> achieved this by using shared Libraries. Unfortunately often we forget
> to switch on these shared libs. In this case the App runs but on later
> sites there will be mistakes due to different cashing of Managed
> beans.
> Therefore I would like to output the Jsf-Version to a system information
> page.
> Can anybody show me a function that returns the Jsf-Version?
> Gerald once advised me to load special functions that only exist in
> the new version of Jsf and to surround this with try-catch-brackets.
> If the new function is not loaded, there will be used an older Jsf
> version.
>
> To do this I should find information which functions are new in which
> version.
> Especially I should recognize if an older version than Jsf1.2-15B02
> (mojarra) is used.
>
> Can anybody give me a link?
>
> Thanks Georg
>


Re: My Faces Tunning

2011-10-19 Thread Kito Mann
Hello David,

One easy way to get the page size is to use a browser plugin like Firebug or
HttpWatch. They'll show you all of the requests for a particular page and
how large they are. Chrome and Safari have decent tools built-in. Obviously
this won't work for every single page, but it'll give you an idea if you
look at some of your slowest pages.
---
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

* Listen to the latest headlines in the JSF and Java EE newscast:
http://blogs.jsfcentral.com/roller/editorsdesk/category/JSF+and+Java+EE+Newscast
* Keep up with the aftermath of the Oracle/Sun merger:
http://www.mergerspeak.com



On Wed, Oct 19, 2011 at 8:51 AM, Boyd, David (Corporate) <
david.b...@adesa.com> wrote:

> Each page is different of course, some have lots of parts where others
> are straight forward.
>
> We are using myFaces 1.1.7 and Tomahawk 1.1.5.
>
> Is there a way to capture how large each page is after it has been
> compiled and rendered?
>
>
>
> -Original Message-
> From: Kito Mann [mailto:kito.m...@virtua.com]
> Sent: Tuesday, October 18, 2011 11:31 AM
> To: MyFaces Discussion
> Subject: Re: My Faces Tunning
>
> Hello David,
>
> How large are your pages? Do you have several tabs each with nested tabs
> and
> lots of fields? Which component suite(s) are you using?
> ---
> 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
>
> * Listen to the latest headlines in the JSF and Java EE newscast:
> http://blogs.jsfcentral.com/roller/editorsdesk/category/JSF+and+Java+EE+
> Newscast
> * Keep up with the aftermath of the Oracle/Sun merger:
> http://www.mergerspeak.com
>
>
>
> On Mon, Oct 17, 2011 at 4:16 PM, Boyd, David (Corporate) <
> david.b...@adesa.com> wrote:
>
> > All,
> >
> >
> >
> > I am doing some investigation into how to shrink the amount of session
> > memory our JSF application is consuming on a per user basis.
> >
> >
> >
> > We are using MyFaces 1.1.7 and Tomahawk 1.1.5 running on IBM Websphere
> > 7.0 patch 19. (Not able to upgrade either of these items at this time)
> >
> >
> >
> > IBM's guideline is that the session size should be less then 5k -
> > average around 2.5k in order not to impact performance of the server
> and
> > session replication.  We are currently using Memory to Memory but
> > looking at moving to database as suggested by IBM.
> >
> >
> >
> > Our site was running at about 35M per user.  We changed the number of
> > view states from 100 to 10 and that dropped it down to around 4M.
> >
> >
> >
> > We have several backing beans which are currently session scope and
> are
> > looking at changing them to request scope.
> >
> >
> >
> > I also found the following:
> >
> http://www.econsulting.nl/images/pdf/Tuning%20JSF%20Applications-%20J-Sp
> > ring%202008.pdf which seems to have a lot of information concerning
> how
> > JSF handles certain content on the pages.  This is still under
> > investigation to make sure what is stated make sense.
> >
> >
> >
> > I have also read somewhere that regardless if the managed backing bean
> > is session or request scope is that the view state will still have the
> > bean and its content.  So the view state size will not change.
> Looking
> > for clarification on this one.
> >
> >
> >
> > The questions is are others facing the same issue in which JSF
> > applications tend to consume a lot of memory for a given users
> session?
> >
> >
> >
> >
> > What are some of the best practices to reduce this size if any or is
> > this just the way when using JSF?
> >
> >
> >
> > Issues with session replication on IBM WebSphere when running a JSF
> > application?
> >
> >
> >
> > What we see as a result of this is that in the event a user hops to
> > another server, the session data is not present due to how large the
> > data is and how long it takes to replicate.  User experience issues.
> >
> >
> >
> > We had seen an issue in which it appeared that changes to the object
> in
> > the session was not being updated correctly and have done some session
> > management tuning in which we customize the settings so that all
> session
> > attributes are written out.  Looking at the .jar file it does appear
> > that myFaces is making the call correctly when the contents of the
> > object in the session changes.  So WebSphere session listener should
> be
> > picking up that change.
> >
> >
>


Re: is i18n messages suppose to be html escaped?

2011-10-18 Thread Kito Mann
Ted,

The strings will only be escaped if the component you're using escapes the
text. If you're just embedding the expression in the page, it's not going to
be escaped, but you can use  -- this allows you to control
whether or not you want the text escaped.
---
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

* Listen to the latest headlines in the JSF and Java EE newscast:
http://blogs.jsfcentral.com/roller/editorsdesk/category/JSF+and+Java+EE+Newscast
* Keep up with the aftermath of the Oracle/Sun merger:
http://www.mergerspeak.com



On Tue, Oct 18, 2011 at 11:36 PM, Ted  wrote:

> I'm using string tables and to i18n some messages using jsf and I've got
> some unexpected behavior
>
> if I have a string table
>
> string1=asdf
> string2=my "cow" is brown
>
> if I then go on to a jsf page and do
>
> #{msg.string1}
> #{msg.string2}
>
> the result I get is
>
> asdf
> my "cow" is brown
>
> My expectation is that the quote should have been converted to "
> shouldn't it? (either that or at least the <'s should not have been
> escaped...)
>
> anyone know anything about this?
> --
> Ted.
>


Re: My Faces Tunning

2011-10-18 Thread Kito Mann
Hello David,

How large are your pages? Do you have several tabs each with nested tabs and
lots of fields? Which component suite(s) are you using?
---
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

* Listen to the latest headlines in the JSF and Java EE newscast:
http://blogs.jsfcentral.com/roller/editorsdesk/category/JSF+and+Java+EE+Newscast
* Keep up with the aftermath of the Oracle/Sun merger:
http://www.mergerspeak.com



On Mon, Oct 17, 2011 at 4:16 PM, Boyd, David (Corporate) <
david.b...@adesa.com> wrote:

> All,
>
>
>
> I am doing some investigation into how to shrink the amount of session
> memory our JSF application is consuming on a per user basis.
>
>
>
> We are using MyFaces 1.1.7 and Tomahawk 1.1.5 running on IBM Websphere
> 7.0 patch 19. (Not able to upgrade either of these items at this time)
>
>
>
> IBM's guideline is that the session size should be less then 5k -
> average around 2.5k in order not to impact performance of the server and
> session replication.  We are currently using Memory to Memory but
> looking at moving to database as suggested by IBM.
>
>
>
> Our site was running at about 35M per user.  We changed the number of
> view states from 100 to 10 and that dropped it down to around 4M.
>
>
>
> We have several backing beans which are currently session scope and are
> looking at changing them to request scope.
>
>
>
> I also found the following:
> http://www.econsulting.nl/images/pdf/Tuning%20JSF%20Applications-%20J-Sp
> ring%202008.pdf which seems to have a lot of information concerning how
> JSF handles certain content on the pages.  This is still under
> investigation to make sure what is stated make sense.
>
>
>
> I have also read somewhere that regardless if the managed backing bean
> is session or request scope is that the view state will still have the
> bean and its content.  So the view state size will not change.  Looking
> for clarification on this one.
>
>
>
> The questions is are others facing the same issue in which JSF
> applications tend to consume a lot of memory for a given users session?
>
>
>
>
> What are some of the best practices to reduce this size if any or is
> this just the way when using JSF?
>
>
>
> Issues with session replication on IBM WebSphere when running a JSF
> application?
>
>
>
> What we see as a result of this is that in the event a user hops to
> another server, the session data is not present due to how large the
> data is and how long it takes to replicate.  User experience issues.
>
>
>
> We had seen an issue in which it appeared that changes to the object in
> the session was not being updated correctly and have done some session
> management tuning in which we customize the settings so that all session
> attributes are written out.  Looking at the .jar file it does appear
> that myFaces is making the call correctly when the contents of the
> object in the session changes.  So WebSphere session listener should be
> picking up that change.
>
>


Re: myfaces and security

2011-09-02 Thread Kito Mann
Hampus,

As Leonardo pointed out, there are JSF-specific solutions in the works.
Also, Tomcat 7 has built-in support. You may want to look into that if
you're using Tomcat.

---
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

* Listen to the latest headlines in the JSF and Java EE newscast:
http://blogs.jsfcentral.com/roller/editorsdesk/category/JSF+and+Java+EE+Newscast
* Keep up with the aftermath of the Oracle/Sun merger:
http://www.mergerspeak.com



On Thu, Sep 1, 2011 at 1:52 PM, Hampus Wingren <
carl.hampus.wing...@bredband.net> wrote:

> Hi all,
>
>
>
> I´m just curious if you have any extensions regarding security related
> stuff
> such as CSRF protection?
>
> If not, do know of any such libraries?
>
>
>
>
>
> Regards,
>
> Hampus
>
>


Re: MyFaces on WAS 8

2011-09-01 Thread Kito Mann
Thanks, Curtis. You just saved me a bunch of time :-).
---
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

* Listen to the latest headlines in the JSF and Java EE newscast:
http://blogs.jsfcentral.com/roller/editorsdesk/category/JSF+and+Java+EE+Newscast
* Keep up with the aftermath of the Oracle/Sun merger:
http://www.mergerspeak.com



On Thu, Sep 1, 2011 at 2:31 PM, Curtiss Howard wrote:

> Hi Kito,
>
> WAS 8 ships with a snapshot of 2.0.5 (i.e., just before the 2.0.5 release).
>
> Thanks,
>
>
> Curtiss Howard
>
>
> On Thu, Sep 1, 2011 at 12:58 PM, Kito Mann  wrote:
> > Hey guys,
> >
> > Does anyone know what version of MyFaces will be shipped with WAS
> 8.0.0.1?
> > It looks like 8.0 ships with MyFaces 2.02, which is pretty old at this
> > point...
> > ---
> > 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
> >
> > * Listen to the latest headlines in the JSF and Java EE newscast:
> >
> http://blogs.jsfcentral.com/roller/editorsdesk/category/JSF+and+Java+EE+Newscast
> > * Keep up with the aftermath of the Oracle/Sun merger:
> > http://www.mergerspeak.com
> >
>


MyFaces on WAS 8

2011-09-01 Thread Kito Mann
Hey guys,

Does anyone know what version of MyFaces will be shipped with WAS 8.0.0.1?
It looks like 8.0 ships with MyFaces 2.02, which is pretty old at this
point...
---
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

* Listen to the latest headlines in the JSF and Java EE newscast:
http://blogs.jsfcentral.com/roller/editorsdesk/category/JSF+and+Java+EE+Newscast
* Keep up with the aftermath of the Oracle/Sun merger:
http://www.mergerspeak.com


Re: version info

2011-08-31 Thread Kito Mann
On Wed, Aug 31, 2011 at 4:28 PM, Bernd Bohmann wrote:

> For example:
>
> FacesContext.class.getPackage().getImplementationVersion()
>

Unfortunately, this returns null...

>
> or
>
> read the content of
>
> META-INF/maven/org.apache.myfaces.core/myfaces-api/pom.properties
> the property should be version
>

That would work, but since there may be more than one MyFaces JAR in the
classpath, this may not work (looks like the file is in one JAR, but not the
other).

>
> But I don't know from which version it works.
>
>
> Regards
>
> Bernd
>
>
>
>
> On Wed, Aug 31, 2011 at 6:51 PM, Kito Mann  wrote:
> > Is there a way to tell programmatically at runtime exactly which version
> of
> > MyFaces is running?
> > ---
> > 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
> >
> > * Listen to the latest headlines in the JSF and Java EE newscast:
> >
> http://blogs.jsfcentral.com/roller/editorsdesk/category/JSF+and+Java+EE+Newscast
> > * Keep up with the aftermath of the Oracle/Sun merger:
> > http://www.mergerspeak.com
> >
>


version info

2011-08-31 Thread Kito Mann
Is there a way to tell programmatically at runtime exactly which version of
MyFaces is running?
---
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

* Listen to the latest headlines in the JSF and Java EE newscast:
http://blogs.jsfcentral.com/roller/editorsdesk/category/JSF+and+Java+EE+Newscast
* Keep up with the aftermath of the Oracle/Sun merger:
http://www.mergerspeak.com


Re: Is it impossible to use tomahawk and richfaces in the same app?

2011-08-26 Thread Kito Mann
Hello Georg,

This shouldn't be a problem -- RichFaces + Tomahawk is a common combination.
(As a matter of fact, Tomahawk works with just about anything).

It looks like you're using an ancient version of RichFaces, though, because
ajax4jsf.jar is not required in newer versions (I think 3.2 or higher). You
should consider upgrading RichFaces and Tomahawk, even if you can't upgrade
to JSF 2 right now.
---
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

* Listen to the latest headlines in the JSF and Java EE newscast:
http://blogs.jsfcentral.com/roller/editorsdesk/category/JSF+and+Java+EE+Newscast
* Keep up with the aftermath of the Oracle/Sun merger:
http://www.mergerspeak.com



On Fri, Aug 26, 2011 at 9:18 AM, Georg Füchsle wrote:

> Hallo Users,
>
> is it impossible to use tomahawk and richfaces in the same app?
>
>
> My situation:
> I develop a webapp that uses jsf1.2, facelets, tomahawk and ajax4jsf
> that runs on WebSphere6 and JBoss6.
>
> Now I got a request to deploy to WebSphere7.
> I realised, that ajax4jsf-1.1.1.jar mustn't be deployed to a WAS7-app.
> (I tried to deploy my app without ajax4jsf.jar and without the
> ajax4jsf references in the web.xml - and it could be started well...)
>
>
> Because I had trouble to start WebSphere with the richfaces libraries,
> it tried it on JBoss.
>
> Using the richfaces jars instead of the ajax4jsf.jar, I could start my
> app on JBoss. But as soon as I navigated to a site using  it crashed.
> I googled and found two articles that make me assume that it is really
> impossible to use tomahawk t:saveState and richfaces in the same app:
>
>
> http://community.jboss.org/thread/9694?tstart=0
>
> https://issues.jboss.org/browse/RF-1519?page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel
>
>
> What is the latest news?
>
> 1. Can I use t:saveState and richfaces a4j: in the same app? And how to to
> it?
> if no:
> 2. I really cannot get rid of tomahawk in my app. How can I add some
> ajax functionality to my tomahawk app, in a way that keeps it
> deployable to new AppServers?
>
> Thanks in advance,
>
> gio
>


Re: snapshot download link

2011-08-17 Thread Kito Mann
On Wed, Aug 17, 2011 at 4:53 PM, Gerhard Petracek <
gerhard.petra...@gmail.com> wrote:

> hi,
>
> @kito:
> thx for the info. however, this location is deprecated since a quite long
> time.
>

Ah, okay. Can someone update the download page, then?
http://myfaces.apache.org/download.html

>
> @leo:
> actually there are build-jobs for nightly builds (including the deployment
> of snapshots).
> however, maybe some sub-projects don't have such build-jobs.
>
> regards,
> gerhard
>
> http://www.irian.at
>
> Your JSF powerhouse -
> JSF Consulting, Development and
> Courses in English and German
>
> Professional Support for Apache MyFaces
>
>
> 2011/8/17 Leonardo Uribe 
>
> > Hi Kito
> >
> > Yes, for snapshots the link as you already know is:
> >
> >
> >
> https://repository.apache.org/content/repositories/snapshots/org/apache/myfaces/
> >
> > but there is not any task to create nightly builds on hudson
> > (https://builds.apache.org/view/M-R/view/MyFaces/) right now. I'll
> > keep it in mind.
> >
> > regards,
> >
> > Leonardo Uribe
> >
> > 2011/8/17 Kito Mann :
> > > Hey guys,
> > >
> > > FYI, the nightly download link (
> > > http://people.apache.org/builds/myfaces/nightly/) doesn't have any
> > builds. I
> > > was able to get a snapshot from the Maven repository, but I thought you
> > > should know.
> > > ---
> > > 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
> > >
> > > * Listen to the latest headlines in the JSF and Java EE newscast:
> > >
> >
> http://blogs.jsfcentral.com/roller/editorsdesk/category/JSF+and+Java+EE+Newscast
> > > * Keep up with the aftermath of the Oracle/Sun merger:
> > > http://www.mergerspeak.com
> > >
> >
>


snapshot download link

2011-08-17 Thread Kito Mann
Hey guys,

FYI, the nightly download link (
http://people.apache.org/builds/myfaces/nightly/) doesn't have any builds. I
was able to get a snapshot from the Maven repository, but I thought you
should know.
---
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

* Listen to the latest headlines in the JSF and Java EE newscast:
http://blogs.jsfcentral.com/roller/editorsdesk/category/JSF+and+Java+EE+Newscast
* Keep up with the aftermath of the Oracle/Sun merger:
http://www.mergerspeak.com


MyFaces test downloads are down

2011-06-21 Thread Kito Mann
FYI, the 1.03 downloads links all yield 404 Not Found.
---
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

* Listen to the latest headlines in the JSF and Java EE newscast:
http://blogs.jsfcentral.com/roller/editorsdesk/category/JSF+and+Java+EE+Newscast
* See you at JAX and JSF Summit 2011 June 20-23rd in San Jose:
http://jaxconf.com/


Re: [FYI] testing CODI and Seam3 with glassfish

2011-05-28 Thread Kito Mann
Hello Arun,

Glad to see you here. Not only is it good for CDI, but it's good for me,
since I'm looking into using Glassfish.

While you're on it, please push for portlet support in Weld :-).
---
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

* Listen to the latest headlines in the JSF and Java EE newscast:
http://blogs.jsfcentral.com/roller/editorsdesk/category/JSF+and+Java+EE+Newscast
* See you at JAX and JSF Summit 2011 June 20-23rd in San Jose:
http://jaxconf.com/


On Sat, May 28, 2011 at 4:04 PM, arungupta  wrote:

>
> Hi Mark,
>
>
> struberg wrote:
> >
> > The result:
> >
> > Please skip glassfish-3.1 !
> >
> > It's really completely broken. It has lots of errors not only in Weld but
> > also in the Mojarra integration it ships (from minor glitches to not
> > finding the FacesContext because the lookup integration seems completely
> > messed up)!
> > Most of my tested projects even refused to start at all!
> >
>
> Can you share more details of your tests ? Did you file any bugs ? I know
> several folks using GlassFish in production with Mojarra + PrimeFaces +
> CDI.
>
>
> struberg wrote:
> >
> > The solution: use glassfish-3.2-SNAPSHOT (*)!
> > I was at least able to start a few samples successfully. There are still
> a
> > few fixes needed (moving around beans.xml info, extracting jars to
> > WEB-INF/classes, EAR scenario completely fucked up when using
> Extensions),
> > but for a WAR deployment it's sufficient...
> >
>
> GlassFish 3.2 has Weld 1.1 so that might have solved some of the issues you
> faced.
>
>
> struberg wrote:
> >
> > Oh yea, I did a 'bit' more than just a simple hello webworld - but not
> too
> > much. The projects were still pretty small.
> >
>
> Can you share your samples so that I can try it as well ?
>
> Thanks,
> -Arun
>
> --
> View this message in context:
> http://old.nabble.com/-FYI--testing-CODI-and-Seam3-with-glassfish-tp31676813p31724974.html
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>
>


Re: PMC chair of Apache MyFaces changed

2011-03-17 Thread Kito Mann
Thanks for all of your hard work, Matthias! We'll miss you.

Welcome, Gerhard!

Sent from my iPhone

http://www.jsfcentral.com
http://www.Virtua.com


On Mar 17, 2011, at 3:20 AM, Matthias Wessendorf  wrote:

> Hi,
>
> I am stepping back from being the Apache MyFaces PMC chair.
> The MyFaces PMC did vote (internally) that Gerhard Petracek would
> be a very good PMC chair.
>
> Yesterday, during the board meeting, this has been made official.
>
> Please join me in welcoming Gerhard as being the new PMC chair of
> Apache MyFaces!
>
> Congrats, Gerhard!
>
> -Matthias
>
> --
> Matthias Wessendorf
>
> blog: http://matthiaswessendorf.wordpress.com/
> sessions: http://www.slideshare.net/mwessendorf
> twitter: http://twitter.com/mwessendorf


Re: JSF2 and content from the classpath?

2011-03-04 Thread Kito Mann
On Fri, Mar 4, 2011 at 11:59 AM, Stephen Connolly <
stephen.alan.conno...@gmail.com> wrote:

> is there any example code you know of that you could share?


Just copy the CustomResourceResolver and web.xml section from
http://ocpsoft.com/opensource/create-common-facelets-jar/.

>
> And can I have a pony?
>

That'll cost you :-).

>
>

>
> On 4 March 2011 16:56, Kito Mann  wrote:
>
>>
>>
>> On Fri, Mar 4, 2011 at 11:55 AM, Stephen Connolly <
>> stephen.alan.conno...@gmail.com> wrote:
>>
>>> and if this/these .xhtml file(s) are actually facelets pages... will that
>>> work?
>>
>>
>> Yep.
>>
>>>
>>>
>>> On 4 March 2011 16:54, Kito Mann  wrote:
>>>
>>>> Hello Stephen,
>>>>
>>>> With JSF 2, you can use the resource handling mechanism to load
>>>> resources from META-INF/resources -- this works for composite components,
>>>> images, etc. If you want to serve .xhtml files from a JAR, you need to 
>>>> write
>>>> a custom ResourceResolver, which is a trivial exercise. See:
>>>> http://ocpsoft.com/opensource/create-common-facelets-jar/.
>>>> ---
>>>> 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
>>>>
>>>> * Listen to the latest headlines in the JSF and Java EE newscast:
>>>> http://blogs.jsfcentral.com/roller/editorsdesk/category/JSF+and+Java+EE+Newscast
>>>> * See you at JAX and JSF Summit 2010 June 20-23rd in San Jose:
>>>> http://jaxconf.com/
>>>>
>>>>
>>>>
>>>> On Fri, Mar 4, 2011 at 11:45 AM, Stephen Connolly <
>>>> stephen.alan.conno...@gmail.com> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> Just a quick question as I am doing some research.
>>>>>
>>>>> I cannot remember (and my google searches are just turning up far far
>>>>> too
>>>>> much noize) whether it is possible to server content directly from jars
>>>>> on
>>>>> the classpath rather than only from the wars.
>>>>>
>>>>> I'm thinking of a case where you might have a plugin mechanism, or a
>>>>> core
>>>>> functionality and you want to be able to merge that into your web
>>>>> application without expanding the jar file as a war overlay.
>>>>>
>>>>> I cannot recall if I only dreamt reading that you could do the
>>>>> following, or
>>>>> if you actually can.
>>>>>
>>>>> Jar would look something like:
>>>>>
>>>>> /
>>>>>  com
>>>>>somecompany
>>>>>  ...
>>>>>  META-INF
>>>>>faces-config.xml
>>>>>content
>>>>>  plugin.xhtml
>>>>>
>>>>> And then if the webapp had that jar on the classpath, a request for
>>>>> /contextRoot/plugin.xhtml would server the content from the jar file
>>>>> and not
>>>>> bomb out because the file does not exist in the war file itself.
>>>>>
>>>>> -Stephen
>>>>>
>>>>
>>>>
>>>
>>
>


Re: JSF2 and content from the classpath?

2011-03-04 Thread Kito Mann
On Fri, Mar 4, 2011 at 11:55 AM, Stephen Connolly <
stephen.alan.conno...@gmail.com> wrote:

> and if this/these .xhtml file(s) are actually facelets pages... will that
> work?


Yep.

>
>
> On 4 March 2011 16:54, Kito Mann  wrote:
>
>> Hello Stephen,
>>
>> With JSF 2, you can use the resource handling mechanism to load resources
>> from META-INF/resources -- this works for composite components, images, etc.
>> If you want to serve .xhtml files from a JAR, you need to write a custom
>> ResourceResolver, which is a trivial exercise. See:
>> http://ocpsoft.com/opensource/create-common-facelets-jar/.
>> ---
>> 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
>>
>> * Listen to the latest headlines in the JSF and Java EE newscast:
>> http://blogs.jsfcentral.com/roller/editorsdesk/category/JSF+and+Java+EE+Newscast
>> * See you at JAX and JSF Summit 2010 June 20-23rd in San Jose:
>> http://jaxconf.com/
>>
>>
>>
>> On Fri, Mar 4, 2011 at 11:45 AM, Stephen Connolly <
>> stephen.alan.conno...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> Just a quick question as I am doing some research.
>>>
>>> I cannot remember (and my google searches are just turning up far far too
>>> much noize) whether it is possible to server content directly from jars
>>> on
>>> the classpath rather than only from the wars.
>>>
>>> I'm thinking of a case where you might have a plugin mechanism, or a core
>>> functionality and you want to be able to merge that into your web
>>> application without expanding the jar file as a war overlay.
>>>
>>> I cannot recall if I only dreamt reading that you could do the following,
>>> or
>>> if you actually can.
>>>
>>> Jar would look something like:
>>>
>>> /
>>>  com
>>>somecompany
>>>  ...
>>>  META-INF
>>>faces-config.xml
>>>content
>>>  plugin.xhtml
>>>
>>> And then if the webapp had that jar on the classpath, a request for
>>> /contextRoot/plugin.xhtml would server the content from the jar file and
>>> not
>>> bomb out because the file does not exist in the war file itself.
>>>
>>> -Stephen
>>>
>>
>>
>


Re: JSF2 and content from the classpath?

2011-03-04 Thread Kito Mann
Hello Stephen,

With JSF 2, you can use the resource handling mechanism to load resources
from META-INF/resources -- this works for composite components, images, etc.
If you want to serve .xhtml files from a JAR, you need to write a custom
ResourceResolver, which is a trivial exercise. See:
http://ocpsoft.com/opensource/create-common-facelets-jar/.
---
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

* Listen to the latest headlines in the JSF and Java EE newscast:
http://blogs.jsfcentral.com/roller/editorsdesk/category/JSF+and+Java+EE+Newscast
* See you at JAX and JSF Summit 2010 June 20-23rd in San Jose:
http://jaxconf.com/



On Fri, Mar 4, 2011 at 11:45 AM, Stephen Connolly <
stephen.alan.conno...@gmail.com> wrote:

> Hi,
>
> Just a quick question as I am doing some research.
>
> I cannot remember (and my google searches are just turning up far far too
> much noize) whether it is possible to server content directly from jars on
> the classpath rather than only from the wars.
>
> I'm thinking of a case where you might have a plugin mechanism, or a core
> functionality and you want to be able to merge that into your web
> application without expanding the jar file as a war overlay.
>
> I cannot recall if I only dreamt reading that you could do the following,
> or
> if you actually can.
>
> Jar would look something like:
>
> /
>  com
>somecompany
>  ...
>  META-INF
>faces-config.xml
>content
>  plugin.xhtml
>
> And then if the webapp had that jar on the classpath, a request for
> /contextRoot/plugin.xhtml would server the content from the jar file and
> not
> bomb out because the file does not exist in the war file itself.
>
> -Stephen
>


Re: myfaces-test site

2011-03-01 Thread Kito Mann
On Tue, Mar 1, 2011 at 3:24 PM, Leonardo Uribe  wrote:

> Hi Kito
>
> > Question: does it parse faces-config.xml for managed beans yet?
>
> Not yet. I haven't investigated too much about it, but it is possible
> to do it, moving some myfaces core code into myfaces test.
>

That's probably my #1 feature request -- I'll add it to the issue tracker.

>
> regards,
>
> Leonardo
>


Re: myfaces-test site

2011-03-01 Thread Kito Mann
Hello Leonardo,

Thanks -- a download page will certainly helped. I mentioned myfaces-test in
my new JSF and Java EE Newscast (
http://blogs.jsfcentral.com/roller/editorsdesk/entry/episode_01_feb_20111),
so hopefully more people will notice this project. We use it on one project.

Question: does it parse faces-config.xml for managed beans yet?
---
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

See you at JAX and JSF Summit 2010 June 20-23rd in San Jose:
http://jaxconf.com/



On Mon, Feb 28, 2011 at 11:00 PM, Leonardo Uribe  wrote:

> Hi Kito
>
> The site page is http://myfaces.apache.org/test/, but there is no
> assembly artifacts for this project yet (because at start it was used
> internally for myfaces core, like myfaces-builder-plugin).
>
> You can download the artifacts from here:
>
> http://repo2.maven.org/maven2/org/apache/myfaces/test/
>
> If you have any issues or ideas for improvement you can fill an issue
> here (maybe the one related to feed managed beans from a faces-config
> file):
>
> https://issues.apache.org/jira/browse/MYFACESTEST
>
> I'll add a download section for this project.
>
> regards,
>
> Leonardo Uribe
>


myfaces-test site

2011-02-28 Thread Kito Mann
Hello everyone,

Is there a download link for MyFaces Test? The link on the site just goes to
the normal MyFaces download page, which doesn't include MyFaces Test.
---
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

See you at JAX and JSF Summit 2010 June 20-23rd in San Jose:
http://jaxconf.com/


[ANNOUNCE] Last Day for for JAX / JSF Summit 2011 submissions!

2011-02-04 Thread Kito Mann
Hello everyone,

I'd love to get a couple of MyFaces submissions for JAX / JSF Summit 2011
this June in San Francisco, CA, USA.

JAX covers a wide range of topics, including Java, architecture, and agile,
with a focus on practical content. This year, JSF Summit will include
several tracks within the overall JAX conference, covering JSF, Ajax, Java
EE, Seam, CDI, and related topics. Unlike previous years, this will be one
integrated show.

I'm especially interested in any presentations on MyFaces topics such as
ExtVal, MyFaces Core, Scripting, Trinidad, CODI, etc.

If you're interested, please submit a paper today here:
http://bit.ly/jsfsummitcfp.

Again, this is the last day!

---
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

See you at JAX and JSF Summit 2010 June 20-23rd in San Jose:
http://jaxconf.com/


  1   2   >