| Author |
Formatting problem.
|
Darrin Smith
Ranch Hand
Joined: Aug 04, 2003
Posts: 276
|
|
I have a page where I want to display an image at the top, a scrollable panel in the middle, and a button at the bottom. I get all of these components, but they are all inside of the scroll panel and I don't understand why. Here is the code: How should this look in order to get the image above the scroll panel and the button below it? Note that I tried surrounding the DiagnosisPanel (the only one I want to scroll) with the div tag, but that didn't do what I expected. In short, how do I get the DiagnosisPanel to be the only thing that scrolls? Thanks. [ October 07, 2005: Message edited by: Darrin Smith ]
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56204
|
|
|
Where are the f and h custom actions from?
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Darrin Smith
Ranch Hand
Joined: Aug 04, 2003
Posts: 276
|
|
Originally posted by Bear Bibeault: Where are the f and h custom actions from?
Oh, sorry...that is JSF stuff (using Java Studio Creator), but I figured this really wasn't a JSF question, but rather a simple JSP one since you all deal with this sort of thing.
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56204
|
|
|
Moved to the JSF forum.
|
 |
Darrin Smith
Ranch Hand
Joined: Aug 04, 2003
Posts: 276
|
|
I changed it around a little, and now I get the image to stay at the top, but the button is still inside of the scroll pane. Why this is I have no ideas when the image is correct. Anyway, here is what it looks like now. Any ideas on how to get the bottom out of the scroll pane?
|
 |
Denise L Smith
Greenhorn
Joined: Mar 04, 2006
Posts: 7
|
|
Did you try using the Facet tags... footer and header? <h ataTable id="books" columnClasses="list-column-center, list-column-right, list-column-center, list-column-right" headerClass="list-header" rowClasses="list-row" styleClass="list- background" value="#{BookStore.items}" var="store"> <h:column> <f:facet name="header"> <h utputText value="#{msg.storeNameLabel}"/> </f:facet> <h utputText value="#{store.name}"/> </h:column> <h:column> <f:facet name="header"> <Subject </f:facet> <h utputText value="#{store.subject}"/> </h:column> <h:column> <f:facet name="header"> <h utputText value="#{msg.storePriceLabel}"/> </f:facet> <h utputText value="#{store.price}"/> </h:column> </h ataTable> resource http://www.exadel.com/tutorial/jsf/jsftags-guide.html
|
The courage to learn anything...that's what I look for.
|
 |
 |
|
|
subject: Formatting problem.
|
|
|