Forums Register Login

Need Help

+Pie Number of slices to send: Send
Hi EveryBody,

Iam new to JSF and need help which is as follows.

We are developing an application where we have use JSF at UI and Iam getting data from database and
I want to show this data in the form of list and want to pass this dynamic list to create a dynamic checkbox.

user will make selection from this list. I need help how to iterate this list in jsf , which jsf tag should i use so that i can pass this dynamic list
to checkbox and dynamically checkbox creation will take place and user will be able to make selection from these checkbox.

Please assist me on this. :
+Pie Number of slices to send: Send
Please try to read some tutorials before asking such a question.

You need to use h:selectOneMenu to get the data's and display it in UI.

Just look this post. it'll explain how to fetch the values for Combo Box dynamically, what you need to do is just put your DB code instead of simply adding values in ArrayList. Thats it.
+Pie Number of slices to send: Send
Thanks for responding . well what ever you have told I have already done that and after that I posted question.

Thanks once again
+Pie Number of slices to send: Send
hello,
can make use of <ui:repeat> to iterate data of a list.
+Pie Number of slices to send: Send
Thanks for respodning let me try teh tag which you told me and I will update you for the same.

If you want to look young and thin, hang around old, fat people. Or this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1412 times.
Similar Threads
JSF - dynamic tag choice
Selecting a single row in a table, then saving that index in the struts form
Need help for h:selectManyCheckbox
JSF Portal Application Integration with Ajax
selectOneMenu
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 05:20:12.