I have checked the generated HTML and it has correct values for the number of
columns:

<textarea cols="64" rows="8"
name="propertyNameLabelValuePanelListView:0:valuePanel:propertyFeedback:propertyValue">Handling
many-to-many relationships is still complicated.</textarea>

However, the page displays the text area that has the same length vertically
and horizontally. I have tried with 96 instead of 64 (96 appears in the
generated HTML), but the page still looks the same.


Eelco Hillenius wrote:
> 
> Did you check the actual HTML that is generated?
> 
> Eelco
> 
> 
> On 10/31/06, dzenanr <[EMAIL PROTECTED]> wrote:
>>
>> Hi all,
>>
>> I determine the number of rows and columns for a text area using
>> AttributeModifier. Usually there are more columns than rows and they are
>> derived properly in my code. However, the text area is always displayed
>> as a
>> square, as the number of rows determines, by error?, also the number of
>> columns. The following is my code:
>>
>> ...
>> private TextArea textArea;
>> ...
>>                         int propertySize =
>> propertyConfig.getDisplayLengthInt();
>>                         int areaRowSize =
>> (propertySize/App.AREA_COLUMN_SIZE) + 1;
>>                         String noOfRows =
>> Transformer.string(areaRowSize);
>>                         String noOfColumns =
>> Transformer.string(App.AREA_COLUMN_SIZE);
>>                         setAttribute("rows", noOfRows);
>>                         setAttribute("cols", noOfColumns);
>> ...
>>
>> public void setAttribute(String attributeName, String attributeValue) {
>>                 AttributeModifier attributeModifier = new
>> AttributeModifier(
>>                                 attributeName, true, new
>> Model(attributeValue));
>>                 textArea.add(attributeModifier);
>> }
>>
>> Thanks for your help.
>>
>> Dzenan
>> --
>> View this message in context:
>> http://www.nabble.com/AttributeModifier-for-TextArea-tf2546806.html#a7097341
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> -------------------------------------------------------------------------
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job
>> easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>> Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> Wicket-user mailing list
>> Wicket-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> 
> 

-- 
View this message in context: 
http://www.nabble.com/AttributeModifier-for-TextArea-tf2546806.html#a7120087
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to