Ed Burns looks for feedback on how people extend JavaServer Faces Blog
Bring out your JSF Extensions
In order to solve issue [121-JarOrdering], EG member Alexander Smirnov from Exadel suggested we research the current practice of how JSF extension points are used. I took his idea and decided to create a wiki page to collect feedback from the community. Please help us fill out the table at <http://wiki.java.net/bin/view/Projects/JsfExtensionSurvey>. If you've ever written a JSF extension, or you use one, see if it's in the table, and if not, please add it.
The EG will look at the table some time after next Friday, 24 October 2008, and use it to validate our design to fix issue 121.
Technorati Tags: edburns
6 Comments
-
Let's say your userobject is stored in the session under the key "userobject". In that case, you can get the bean back from anywhere like this: Object userobject = FacesContext.getCurrentInstance().getExternalContext().getSessionMap().get("userobject"); does that help? //
-
Hi EdBurns, My name is Christer Dalevind and I am working with JSF 1.2 and the Dynamic Faces extensions for AJAX support. If I want to use the fireAjaxTransaction method for periodic polling of updates on the server how should I do that? //
-
Hello Christer, There is a demo that does just that, the source at https://jsf-extensions.dev.java.net/svn/jsf-extensions/branches/jsf-extensions-0_1_BRANCH/code/run-time/samples/stock-faces/ I've added you as an observer to the project, so when the basic auth dialog pops up, you can enter your java.net userid and password and access the source. Hope this helps! Ed //
-
Hello Ed Thanks a lot, that was exactly the way to use the fireAjaxTransaction that I was looking for :-) Cheers Chris //
-
Hi Ed I'm trying to get the following scenario to work: I have an outputText that is updated via the fireAjaxTransaction function. The value of the outputText is stored in a backing-bean. When the outputText has a certain value I want to perform navigation to another view. How can this be achieved? Thanks Chris //
392 Guest Oct 18, 2008 2:44 PM