Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / November 2006

Tip: Looking for answers? Try searching our database.

Help with drop down select list in JSF

Thread view: 
John Smith - 02 Nov 2006 18:25 GMT
So I have built some EJBs along with a Facade to access those.

But how do you access the facade from the JSF side of things? Do you create
a new managed bean? I am trying to create a drop down list from a bean that
access the database.

Are there any examples of this using core JSF componets?

Thanks in Adv
Danno - 02 Nov 2006 19:47 GMT
> So I have built some EJBs along with a Facade to access those.
>
[quoted text clipped - 5 lines]
>
> Thanks in Adv

What do you have?
John Smith - 02 Nov 2006 21:04 GMT
>> So I have built some EJBs along with a Facade to access those.
>>
[quoted text clipped - 9 lines]
>
> What do you have?

I have this
<af:selectOneChoice label="Label 1"
                             binding="#{backing_login.selectOneChoice1}"
                             id="selectOneChoice1">
           <af:selectItem label="801" value="801"
                          binding="#{backing_login.selectItem1}"
                          id="selectItem1"/>
         </af:selectOneChoice>

basicly am I suppose to call the context lookup in backing_login.selectItem1
and then create some kind of Object that <af:selectItem expects?

Not sure exactly how to bind the data I pull from EJBs that are working
good, into my JSF pages. What is the standard way of doing this. Thanks


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.