|
-
September 21st, 2011, 04:40 AM
#8
Re: Insert data into mysql using jsf ?
Hi...
Thanks a lot... This code was helped me ...
There is another problem ... in jsf dropdwon box...
<td><h:selectOneMenu id="birthday_day" value="#{applicationFormBean.birthday_day }">
<f:selectItem itemLabel="Day" itemValue="Day" />
<f:selectItem itemLabel="1" itemValue="1" />
<f:selectItem itemLabel="2" itemValue="2" />
<f:selectItem itemLabel="3" itemValue="3" />
<f:selectItem itemLabel="4" itemValue="4" />
<f:selectItem itemLabel="5" itemValue="5" />
<f:selectItem itemLabel="6" itemValue="6" />
<f:selectItem itemLabel="7" itemValue="7" />
<f:selectItem itemLabel="8" itemValue="8" />
<f:selectItem itemLabel="9" itemValue="9" />
<f:selectItem itemLabel="10" itemValue="10" />
</h:selectOneMenu>
I wrote this code... Drop down box is populating.. all values 1 .. to 10 ..
My question is i want to give limitation for display in dropdown.. As i can say i want to see only five values...
How to give the limitation in dropdown ? when the our jsf page is runing.
Plz any one help me...
thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|