Multi Line Text Box Not displaying Horizontal Scroll Bar

R

RFleming

I am using the Netbeans 6.0.1 and the Visual Web JavaServer to create
a simple web page. One component is a multi line text box. For
whatever reason the horizontal scroll bar does not appear. I did some
searching and I tried to use a <DIV> in the XML code around the
textbox, and also added overide: auto, and again tried overide: scroll
in the style, but I still can not get a horizontal scrollbar to appear
when the textbox gets populated with text too wide for the textarea.
The textarea is called txtRiderInfo and is located close to the bottom
of the code below. Below is the auto generated JSP file:

<?xml version="1.0" encoding="UTF-8"?>
<!--
Document : Page1
Created on : Mar 27, 2008, 9:55:59 AM
Author : hitrf
-->
<jsp:root version="2.1" xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/
JSP/Page" xmlns:webuijsf="http://www.sun.com/webui/webuijsf">
<jsp:directive.page contentType="text/html;charset=UTF-8"
pageEncoding="UTF-8"/>
<f:view>
<webuijsf:page binding="#{RaceReport.page1}" id="page1">
<webuijsf:html binding="#{RaceReport.html1}" id="html1">
<webuijsf:head binding="#{RaceReport.head1}"
id="head1">
<webuijsf:link binding="#{RaceReport.link1}"
id="link1" url="/resources/stylesheet.css"/>
</webuijsf:head>
<webuijsf:body binding="#{RaceReport.body1}"
id="body1" style="-rave-layout: grid">
<br/>
<webuijsf:form binding="#{RaceReport.form1}"
id="form1">
<webuijsf:label
binding="#{RaceReport.lblTitle}" id="lblTitle"
style="font-size: xx-large; height: 46px;
left: 0px; top: 24px; position: absolute; text-align: center; vertical-
align: middle; width: 958px" text="Reports"/>
<webuijsf:calendar
binding="#{RaceReport.dpDateTime}" id="dpDateTime"

onChange="webui.suntheme.common.timeoutSubmitForm(this.form,
'layoutPanel1:dpDateTime');"
style="left: 24px; top: 96px; position:
absolute"
valueChangeListenerExpression="#{RaceReport.dpDateTime_processValueChange}"/ <webuijsf:panelLayout
binding="#{RaceReport.comboLayout}" id="comboLayout"
panelLayout="flow" style="height: 22px; left: 216px; top: 96px;
position: absolute; width: 718px">
<webuijsf:dropDown
binding="#{RaceReport.cmbRaceEvents}" id="cmbRaceEvents"

items="#{RaceReport.cmbRaceEventsDefaultOptions.options}"

onChange="webui.suntheme.common.timeoutSubmitForm(this.form,
'cmbRaceEvents');" style="height: 24px; width: 144px"
valueChangeListenerExpression="#{RaceReport.cmbRaceEvents_processValueChange}"/ <webuijsf:dropDown
binding="#{RaceReport.cmbRaceClass}" id="cmbRaceClass"
items="#{RaceReport.cmbRaceClassDefaultOptions.options}"

onChange="webui.suntheme.common.timeoutSubmitForm(this.form,
'cmbRaceClass');"
style="height: 24px; margin-left: 5mm;
position: relative"
valueChangeListenerExpression="#{RaceReport.cmbRaceClass_processValueChange}"/ <webuijsf:dropDown
binding="#{RaceReport.cmbRaceReport}" id="cmbRaceReport"

onChange="webui.suntheme.common.timeoutSubmitForm(this.form,
'cmbRaceReport');"
style="margin-left: 5mm; position:
relative; width: 200px"
valueChangeListenerExpression="#{RaceReport.cmbRaceReport_processValueChange}"/ </webuijsf:panelLayout>
<h:inputTextarea
binding="#{RaceReport.txtRiderInfo}" id="txtRiderInfo" readonly="true"
style="border: 3px solid rgb(204, 255, 204); font-family: 'Courier
New',Courier,monospace; font-size: 12px; height: 408px; left: 24px;
top: 144px; position: absolute; width: 912px;"/>
<br/>
</webuijsf:form>
</webuijsf:body>
</webuijsf:html>
</webuijsf:page>
</f:view>
</jsp:root>


Thank You For Your Time

Ryan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,754
Messages
2,569,527
Members
44,999
Latest member
MakersCBDGummiesReview

Latest Threads

Top