[ANNOUNCE] JSF Insights from Roger Kitain

I�m pleased to announce the first in JSFCentral�s new podcast series, JSF Insights from Roger Kitain, co-spec lead for JavaServer Faces. In this interview, Roger discusses the current state of JSF, JSF 1.2, and also what's in store for JSF 2.0. The podcast was recorded in December, 2006 at the Javapolis conference in Antwerp, Belgium.
Check out the podcast here: http://www.jsfcentral.com/listings/R2914.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kito D. Mann - Author, JavaServer Faces in Action
http://www.virtua.com - JSF/Java EE consulting, training, and mentoring
http://www.JSFCentral.com - JavaServer Faces FAQ, news, and info

He haven't rejected any yet. We're still prioritizing and some may be deferred to 2.0.
I've just closed out the issues we did manage to fix. The EL Alignment took the bulk
of the time.
The issues are
18 45 15 21 43 16 9 8 13 35
Ed (JSR-252 Spec co-lead)

Similar Messages

  • [ANNOUNCE] JSF-RI 1.2_05 FCS has been released!

    Official announcement: https://javaserverfaces.dev.java.net/servlets/NewsItemView?newsItemID=5408
    Blog entry: http://blogs.sun.com/rlubke/entry/jsf_ri_1_2_05

    I downloaded the JSF RI from the Sun site and included the jars in WEB-INF/lib.
              However, I see now why using the bea shared library would work because bea have added WeblogicInjectionProvider.class to the standard jsf-impl.jar.
              Do you think it would be better if bea provided the class in a separate jar? Would it work if I just copied the class to a separate jar in my WEB-INF/lib?
              Otherwise it seems developers have to use the version of JSF shipped by BEA which is 1.2_03. Almost a year old now.
              Regards
              Martin

  • How to create JSF application from xsd files?

    Hi,
    We have many xsd files describing xml's which we are supposed to send to web services. Application which we are creating should allow user to fill xml documents with data and then we should send those xml files to some web service. We want to automatize as much as possible the process of application creation to avoid possible errors and to minimize our efforts (there are plenty of quite complex xsd files).
    Our first approach was: we used Oracle JSXB to generate java classes basing on xsd files (using JDeveloper 10.1.3.2.0.4066). Then we tried to generate DataControls, but this action fails with following error:
    Window title: Error in init bean
    Message: Could not complete initbean because it would result in an invalid document
    Details: oracle.bali.xml.model.XmlInvalidOnCommitException: SEVERE: Wartość atrybutu Name nie jest typu ID (Value of Name attribute is not of ID type)
    Wartość musi być następującego typu: (Value must be of following type)
    Nazwa typu: ID (Type name)
    Typ pierwotny: string (Primitive type)
    Z następującymi więzami: (With following constraints)
    zgodne z wzorcem: [\i-[:]][\c-[:]]* (Compliant with template)
    [ node = Name ]
    <JavaBean version="10.1.3.40.66" id="XSLStylesheet" BeanClass="oracle.xml.xslt.XSLStylesheet" Package="oracle.xml.xslt" isJavaBased="true">
    <Attribute Name="classMethodParams" IsUpdateable="0" Type="java.util.Hashtable" />
    We tried Sun implementation fo JAXB - it generated different java classes (with annotation mechanism). Creation of DataControls using those classes was successful. Then we created simple JSF page and tried to put those DataControls on it in order to let the user fill it with data. The thing is that those controls are read only as there is no row created in those DC. We can't create any row in those DC as there are only 'commit' and 'rollback' operations. When we try to call 'CreateInsert' operation on child elements of those DC we get error in JDeveloper log window:
    2007-05-29 10:08:46 oracle.adf.controller.faces.lifecycle.FacesPageLifecycle addMessage
    WARNING: JBO-29000: DataControl:createRowData
    2007-05-29 10:08:46 oracle.adf.controller.faces.lifecycle.FacesPageLifecycle addMessage
    WARNING: DataControl:createRowData
    new row is not created and controls are still read-only.
    The question is:
    1. is there another, more efficient way to create JSF application from xsd files?
    2. if this is the best way to do it, what do we do wrong?
    Leszek

    To anyone who might find it useful: our solution to mentioned problem.
    Few tips how to solve described problem:
    1. Do not use JAXB (we checked Oracle and Sun)
    2. Use castor http://www.castor.org/
    a) for each xsd generate java files in separated package
    b) use java 1.5 to let castor generate lists
    c) use mapping of xml namespaces to java packages to have only 1 implementation of each xsd
    3. Create facades - java files for you root-level java objects
    4. Right click those facades and choose 'Create DataControl' in jdev
    5. Now you may drag and drop you DataControls and use them in your JSF (or UIX) application
    I hope it will help someone :)
    Leszek

  • JSF Pages from entity class

    I am new to NB5.5. However, when I create a 'web application' project then I get the option to create 'JSF Pages from entity class' in the persistence category but not while creating a 'visual web application' project. Is there a way of getting this option in visual web applications?
    Regards
    Rajeev

    Hi, may I know what you mean by Visual Web Application?
    Creating JSF Pages from Entity Classes is just a way to increase the speed of developing a web application (a database must already be existing, connected to netbeans for you to use this option).

  • Call a JSF application from a Standar Web application (JSP)

    Hi all,
    We have 2 aplication, one is JSF and the other one is standar web jsp.
    We want to invoke from the standard web application to the JSF application and pass param from the jsp to the *.jsf page.
    how can I do that?
    Thanks.

    You can open a jsf page from any other application.
    <form action="http://hostip:port/app/MyPage.jsf?key1=value1&key1=value1">
    as we do in any other jsp page.
    Now in JSF application, in MyPage.jsf write a scriptlet to get the parameters and from there you can use these params.
    You can get a managed Bean reference in your jsp page. Here is the code for that.(ResultsInExcelBean is my managed bean.)
    FacesContext fc = FacesContext.getCurrentInstance();
         ResultsInExcelBean resultsInExcelBean = (ResultsInExcelBean)fc.getApplication().createValueBinding("#{ResultsInExcelBean}").getValue(fc);     
    Hope this helps you.
    Sravan

  • Accessing a JSF element from a back bean method

    Hi,
    short question, can I access the JSF element from a back bean method?
    So, for example, if I have the following JSF code:
    <h:panelGroup id="test1" rendered="#{bean.someMethod}">...</h:panelGroup>
    <h:panelGroup id="test2" rendered="#{bean.someMethod}">...</h:panelGroup>
    <h:panelGroup id="test3" rendered="#{bean.someMethod}">...</h:panelGroup>
    Can I found out in some way, which element (esp. which ID) calls the someMethod-method?
    Kind regards
    Matthias

    There are more possibilities as well. If you depend it on for example the User's rights/groups, then you can also do for example:
    rendered="#{user.admin}" // getter = public boolean isAdmin()
    rendered="#{user.groupName == 'admin'}" // getter = public String getGroupName()
    rendered="#{user.groupId > 1}" // getter = public int getGroupId()
    rendered="#{fn:contains(user.groups, 'admin')}" // getter = public String[] getGroups() or public List<String> getGroups()
    etc..I think it's after all just a matter of learning about the capabilities of EL a bit more.

  • Reload a jsf application from javaBean

    hello
    I am confused about reloading a jsf application from javaBean.
    Could you explain it ?
    regards

    You can open a jsf page from any other application.
    <form action="http://hostip:port/app/MyPage.jsf?key1=value1&key1=value1">
    as we do in any other jsp page.
    Now in JSF application, in MyPage.jsf write a scriptlet to get the parameters and from there you can use these params.
    You can get a managed Bean reference in your jsp page. Here is the code for that.(ResultsInExcelBean is my managed bean.)
    FacesContext fc = FacesContext.getCurrentInstance();
         ResultsInExcelBean resultsInExcelBean = (ResultsInExcelBean)fc.getApplication().createValueBinding("#{ResultsInExcelBean}").getValue(fc);     
    Hope this helps you.
    Sravan

  • How to run and JSF page from Bea Weblogic 8.1

    Hi, I am new to JSF . Can anybody help me that how can i access a JSF page from Bea Weblogic 8.1. How can deploy. What libraries and files are needed and where to put these required .jar or library files. I just wrote a single page and now i am not able to run it . Any help would be highly appreciated.I am looking forward for your kind replies.Thank you.
    Regards,
    Waqar

    You need to package your application into the standard .war format. Make sure jsf-api.jar and jsf-impl.jar are placed in WEB-INF/lib, your faces-config.xml is in WEB-INF, and your tld files are defined appropriately. Once you have your .war file, deploy it to your servers applications directory or use the console for deployment.
    You should not have any problems if everything is packaged correctly. I am successfully using WebLogic Server 8.1 with my JSF-based web app.

  • Access of JSF Beans from Servlet Filter

    Is there any way how can I access session JSF beans from servlet filter?
    I need to check certain value of JSF bean stored in session scope in my filter.
    Thanks
    ferdo

    Frank,
    I am not sure about phase listener, this is the whole situation:
    as I am not using Container Managed Security with my JSF, after I do sucessfull login into application, I need to store some information into the session scope (user etc) and in the servlet filter I need to find out if the user is connected.
    I was trying to put such info into Servlet Session directly in my bean via External Context and reading the info in Filter.
    This is working fine when my application is running locally (jdev oc4j) but once deployed into Application server, when user login first time, user information is somehow removed from the session, and cannot figure out why.
    So I was thinking to try another approach, to find out from servlet filter if JSF bean value is set or not.
    Any other suggestions? Do not want to swicth to Container Manages Security now.
    ferdo
    null

  • ANNOUNCE: JSF Summit 2009: New Workshops and Sessions

    We're less than two months away from the 2nd annual JSF Summit conference, co-sponsored by JSFCentral and the No Fluff Just Stuff Symposiums. The conference will take place December 1st-4th in warm, sunny Orlando, FL.
    We already have an all-star lineup of speakers such as Ed Burns, Matthias Wessendorf, Dan Allen, Ted Goddard, Keith Donald, David Geary and several others, covering every aspect of JSF 2.0 plus JSF 1.x, Seam, MyFaces, ICEfaces, Trinidad, Spring/JSF integration, Comet, Portlets, JSR 299, testing, and more.
    But Jay Zimmerman and I wanted to make the show even better, so I'm happy to announce two full-day workshops on Seam and JSF 1.x, and several new sessions covering RichFaces, JSR 299, PrimeFaces, amd more.
    Read more here: http://weblogs.java.net/blog/kito75/archive/2009/10/13/jsf-summit-2009-new-workshops-and-sessions

    The Oracle related ones will probably available for download via the content builder etc shortly.
    Mine can be seen here http://www.slideshare.net/MGralike , but you will not be able to download them (although maybe you are allowed via the Oracle content builder part). The reasons regarding them (aka mine) to be on "seen only", are that there went a lot of work and stress into them, the topics are not always clear if you weren't their (mostly slides with only pictures) so I want it to be in the right context and/or my company paid for the time making them (so I am only the representative on this on behalve of them).
    If you have a valid reason that you me really need them then you could always drop me a line.

  • Cannot deploy ADF JSF project from JDeveloper 10.1.3.3.0 to AS 10.1.2.0.2

    Hi All,
    I've a small deployment issue which you guys might be able to help me with.
    I've developed an ADF BC JSF project using JHeadstart 10.1.3.2.50 and it was running fine on my self contained OC4J instance. But when I try to deploy it across to my Oracle 10G AS version 10.1.2.0.2., it had the following errors:
    ----- START OF LOG ------
    Initializing log
    Servlet interface for OC4J DCM commands
    Command timeout defined at 600 seconds
    Executing DCM command...
    Executing command redeploy D:\OraHome_3 D:\jdevstudio10133\jdev\mywork\PAM2070C\ViewController\deploy\webapp1.ear webapp1 UNDEFINED
    Command = REDEPLOY
    Reading application's ear file
    Ear file was successfully read
    Opening connection to Oc4jDcmServlet
    Setting userName to ias_admin
    Sending command to DCM servlet
    HTTP response code = 200, HTTP response msg = OK
    Command was successfully sent to Oc4jDcmServlet
    Receiving session id from servlet to check command status
    Session id = c0a8238746b50fc1d5b78e274fcfb38b81a490036726
    Please, wait for command to finish...
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=c0a8238746b50fc1d5b78e274fcfb38b81a490036726
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has finished
    Receiving command exit value
    Receiving command output
    **** No output was received from command
    Closing connection to Oc4jDcmServlet
    #### DCM command did not complete successfully (-8)
    #### HTTP return code was -8
    Exit status of DCM servlet client: -8
    Elapsed time for deployment: 18 seconds
    #### Deployment incomplete. #### 15/05/2008 17:00:33
    ---- END OF LOG ----
    Has anyone been able to deploy ADF JSF project with JHeadstart using JDeveloper 10.1.3.3.0 to Oracle 10G AS 10.1.2.0.2? I'm using window environment. Any feedback is much appreciated. Thank you for your assistance and have a nice day.
    Kind Regards,
    John

    Hi all,
    I had also tried out something else...
    I am now portalizing the ADF application using PortalFacesBridge and portlet.xml. Then I deploy it on the Local OC4J of my system and expose it as a WSRP Portlet using the url: 'http://hostname:portname/warFileName/info and generating a WSDL URL...
    I am then using this WSDL URL to regester this portalized application on the Oracle Portal10.1.4 which i am able to accomplish successfully...
    However after regestration, when I try to view this on the portal page, It is throwing the following error:-
    Error: Could not get markup. The cookie or session is invalid or there is a runtime exception.
    Also I would like to add that this method was working perfectly fine previously...
    What might be the clue for this sudden error...
    Any kind of help is greatly appriciated... Thanks...

  • Adding jsf page from a project to another?

    Hi,
    I use ADF 11g and i want to add a jsf page which is from another project to the second page.
    How can i import the first page to the second jsf page which is in another project?
    Thank you

    Hey BaiG,
    Ur right but......
    As a developer the universal saying is copy paste.. but have a thing in mind that, Be confident on the thing which u copy paste....... :)
    then not in even future, ever u wont face any difficulty in life...... am i right BaiG ??????? :)
    Hey BaiG : wht abt this forum u never replied
    Set ADF form in insert mode
    Regards,
    Suganth.G

  • Invoking JSF actions from a hyperlink

    I suspect I already know the answer to this question based on my experiments and what I've read on the web and in books, but I thought I'd ask here just in case.
    The basic problem is that I would like to invoke JSF from a hyperlink. For example: mystore.com/displayProduct.faces?id=1234
    But I can't. JSF just seems to be (intentionally) built not to allow access to the JSF lifecycle via GET requests. Which makes it fine for web sites that are composed simply of loads of forms, but seems quite unsuitable for web sites that need to display products and search results via links that are easy to bookmark and easy for search engines to crawl.
    Thanks for any words of wisdom anyone might have...

    Thanks for the reply and the link. I had a look at the linked thread and might be able to use that technique for getting parameters out of a GET request into my action, but I still need to get JSF to call my action method somehow and there is no way that I can see to tell it which method to call.
    Also, it seems like manually reading values from the request is sidestepping a lot of JSF and losing out on the value that it adds, i.e. validating and converting the parameters for me. I could manually populate components in the bean and then call the validators and converters myself, but still.

  • Set text in Visual JSF textfield from javascript

    HI,
    I want to pass a variable from a javascript to put into a visual jsf textfield that is connected to a Bean variable like this:
    <webuijsf:textField id="myLat" style="left: 96px; top: 336px; position: absolute" text="#{CreateNewPage.latitude}"/>
    I use this library: xmlns:webuijsf="http://www.sun.com/webui/webuijsf"
    I found a guide for this using regular jsf-tags, but that doesn't work for the visual jsf tags. Link: http://balusc.blogspot.com/2009/05/javajspjsf-and-javascript.html
    I managed though to change the field to some sort of text by using:
    var lat = 'text';
    document.getElementById("form1:myLat").textContent = lat;
    in my javascript. But this just replaces the textfield to some stand alone text, and the variable in my Bean isn't changed at all. I tried using .value and .text instead of .textContent but it doesn't work. What am I doing wrong here? I'm new to JSF by the way. Thankful for any help.

    I've now read the article and understand everything better. Also funny that I got a reply from the author of it here :)
    Sadly I have to use javascript I believe since I'm using a google maps api that uses it.
    Anyway, I still can't get it to work properly.
    now my jsp look like:
    <webuijsf:form id="myForm">
    <webuijsf:textField id="my2" style="left: 528px; top: 0px; position: absolute" text="#{EditPage.latFromMap}"/>
    </webuijsf:form>
    and in my JS:
    document.getElementById("myForm:my2").text = 'text';
    document.getElementById("myForm").submit();
    I now get to the setLatFromMap() setter Method for my variable in my EditPage bean, but when I do a print out of it it's null. Also the textfield on my page becomes blank after the refreshing of the page. of Am I still missing some of the concepts? thx

  • Can't get JSF sources from CVS

    I'm trying to download the correct version of JSF to debug a problem I'm having with JSF in Glassfish. I'm using GF v2 b41c, which states that it uses JSF cvs tag: JSF_1_2_GFINT_B17. (See http://wiki.java.net/bin/view/Projects/GlassFishSourcesBundle.)
    When I try to use CVS to get JSF, I get the following error msg:
    "User rickhoro doesn't have <VersionControl - Read> access to project javaserverfaces-sources"
    I'm using the following setup for CVS in NetBeans 5.5.1, but I get the same response with a CVS client.
    Access Method: pserver
    User: <my username>
    Host: cvs.dev.java.net
    Repository Path: /cvs
    Module: javaserverfaces-sources
    Branch: JSF_1_2_GFINT_B17
    Do I need to request access from somebody? I find this strange -- JSF is open source now, correct? Why isn't it available?
    Please help.

    Thanks for detailed info, but still no solution here.
    I downloaded the 1.2_04-p01-b10 source and added the src folders to the Sources tab of the Glassfish v2b41c server in NetBeans 5.5.1.
    I'm using Seam, so I put a breakpoint in SeamPhaseListener.beforePhase(). When I click on the LifecycleImpl.execute() or LifecycleImpl.phase() in the Call Stack tab (of NB) the program counter (ie. cursor) appears on the wrong line -- about 8 lines off from where it should be: (see the following)
                    while (listenersIterator.hasNext())  {
                        PhaseListener listener = listenersIterator.next();
                        if (phaseId.equals(listener.getPhaseId()) ||
                            PhaseId.ANY_PHASE.equals(listener.getPhaseId())) {
                            listener.beforePhase(event);   [SHOULD BE HERE]      
            catch (Exception e) {
                if (LOGGER.isLoggable(Level.WARNING)) {
                    LOGGER.warning("phase("
                                   + phaseId.toString()  [SHOWS UP HERE INSTEAD]
                                   + ','
                                   + context
                                   +
                                   ") threw exception: "
                                   + e
                                   + ' '
                                   + e.getMessage()
                                   +
                                   "\n"
                                   + Util.getStackTraceString(e));
                }I assume that these JSF sources do not match the binaries used by this Glassfish implementation. Is there any other reason I would be seeing this mismatch? Makes it pretty near impossible to debug the problem. Please, I would really appreciate further help here.
    Thanks very much,
    Rick

Maybe you are looking for

  • XI is running on iSeries server would like to use OS command

    Hi All,, I would like to use to "secure" the file/data transfer between XI and any third-party system Run OS Command before processing and OS command After processing. right now my XI server installed on iSeries OS. with ISeries we can't call the Uni

  • Click to play video - like Youtube

    Creating the FLV file and placing a flash video on a webpage with the video controls, is easy enough but I need to have an intro screen. Something like a 'click to play' frame like Youtube does. I'm not sure if it is a Jpeg, that you click and it loa

  • Ods is not consistent

    when i checked an ods i had created ,it showed a message:ods XXX is not consistent,i want to know what is it mean of this not consistent ?does it compare with something?if yes,what  does it compare with and how can i correct this mistake?

  • RAM upgrade for Thinkpad X60

    Hello I plan to upgrade my RAM from 1GB to 4GB in my X60. I have found two different RAM models of Kingston. One is specially made for Lenovo X60 [1] and one is the HyperX model [2] with the same specs. Should I chose one over the other? If yes, whic

  • Screen brightness& colour change.

    Hi. I have 2 imacs - a 24" inch (purchased Nov 2007 (Aluminium version)) and a 21" inch iMac (Purchased Summer 2009). Since I've owned it, the smaller 21" imac has an extremely annoying and noticable colour and brightness difference when the screen i