Results 1 to 2 of 2
  1. #1
    MayaKannan is offline Member
    Join Date
    Sep 2010
    Posts
    1
    Rep Power
    0

    Default any way to communicate one bean to another bean not using session in jsf

    Hi all
    from Last five days i m trying to get solution for how to communicate one bean property to another bean in jsf .. mostly i was getting code with the help of session.. is there is any possiblity to acheive this ..
    plz share with me
    regards and thanks

    john abraham

  2. #2
    AmrKhaled is offline Member
    Join Date
    Jan 2011
    Posts
    3
    Rep Power
    0

    Default

    FacesContext facesContext = FacesContext.getCurrentInstance();
    ValueBinding vb = facesContext.getApplication().createValueBinding(" #{YourBean}");
    YourBean beanObj = (YourBean) vb.getValue(facesContext);

Similar Threads

  1. stateless session bean error
    By mihael in forum Enterprise JavaBeans (EJB)
    Replies: 1
    Last Post: 01-20-2009, 09:22 AM
  2. UREGENT-accessing session bean ok but entity bean
    By parimal in forum Enterprise JavaBeans (EJB)
    Replies: 1
    Last Post: 08-28-2008, 02:34 PM
  3. Stateful Session Bean
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 11-29-2007, 01:39 PM
  4. Stateless Session Bean
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 11-29-2007, 01:32 PM
  5. Calling A Session Bean Using A Web Module
    By JavaForums in forum NetBeans
    Replies: 0
    Last Post: 07-31-2007, 12:13 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •