users@woodstock.java.net

Setting the width of a textfield component...

From: Huber, Stephan <Stephan.Huber_at_gigatronik.com>
Date: Mon, 23 Mar 2009 09:32:10 +0100

Hi,
 
I'm trying to set the width of a <webuijsf:textfield> to have the same
width as other components (dropdowns etc.) in table datas (<td>), see
the following example:
 
<td>

<webuijsf:textField id="lotNoTextField" immediate="true" columns="25"

disabled="#{!YieldAnalysisBean.periodLotNoSelectedOption}"

text="#{YieldAnalysisBean.lotNoTextField}"/>

</td>

I'm not able to set the width using the style attribute (e.g.
style="width: 100%;") to have the textfield as long as the other
components - using the columns attribute doesn't help either.
 
Can anyone tell me how to set the width of a webuijsf textfield
component?
 
Thanks and best regards,
 
- Stephan