JSF portlet design issue. - Websphere

This is a discussion on JSF portlet design issue. - Websphere ; Hi all, I am new to JSF framework, and having a hard time with it. Can anyone provide any help in the folling: 1. What are managed beans in JSF and why cant we use just javabeans? 2. What is ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: JSF portlet design issue.

  1. JSF portlet design issue.

    Hi all,
    I am new to JSF framework, and having a hard time with it.
    Can anyone provide any help in the folling:

    1. What are managed beans in JSF and why cant we use just javabeans?
    2. What is component reuse ? Why do we need it?
    3. Can i use a jsp in several conditions by hiding some components at a time and showing only some of them?

    Appreciate yr response on this.


  2. Re: JSF portlet design issue.

    > Hi all,
    > I am new to JSF framework, and having a hard time
    > with it.
    > Can anyone provide any help in the folling:
    >
    > 1. What are managed beans in JSF and why cant we use
    > just javabeans?

    Managed beans are just javabeans that are defined in the faces configuration that are kept (managed) by the scope that you define.

    > 2. What is component reuse ? Why do we need it?

    You may have written a special HTML textbox that sings, dances, and cooks cupcakes (or that supports a special set of behaviors that is important to your application.) You can now use that special textbox anywhere in your application once you've defined it.

    > 3. Can i use a jsp in several conditions by hiding
    > some components at a time and showing only some of
    > them?

    Each component has a "rendered" attribute that can be set during the render response phase. You can set this attribute to be false before you call the JSP in order to "hide" it.

    http://java.sun.com/j2ee/1.4/docs/tutorial/doc/
    http://java.sun.com/javaee/javaserve...ocs/index.html
    http://forum.java.sun.com/forum.jspa?forumID=427

    > Appreciate yr response on this.

    Please don't use "SMS" text speak.
    http://www.catb.org/~esr/faqs/smart-...html#writewell

    Good luck,
    Jaye



+ Reply to Thread