This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
Dear all, I using h:selectOneMenu and f:selectItems to present data in include page, but the data always present at top of page, have anybody know how to solve that....
Thanks for any suggestion.
ilin Huang
the code is below:
================== some of code of main page =================== ... <f:subview id="requestPage"> <jsp:include flush="false" page="includePage.jsp"/> </f:subview> ...
More than likely it's because you are mixing pure html with JSF tags. JSF 1.1 and HTML don't play real nice together and when the component tree is built you can't guarantee that the JSF components will render in the appropriate place.
One common solution is to wrap non html code in f:verbatim tags though I don't much care for that. This is a nice taglib that you can use for all your non-jsf HTML components. I use this and it has worked quite well. Just a bit more typing. ;)
Hank
ilin Huang
Greenhorn
Joined: Jun 05, 2006
Posts: 2
posted
0
Dear Hank, Thanks for your reply so quickly~~ I soloved the problem, and htmlib is very easy to use~~~
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.