any one of those can define something like this:
textarea { width:300px; height:300px; }
and that will override rows and cols attributes in html
-igor
On 11/1/06, dzenanr <[EMAIL PROTECTED]> wrote:
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd ">
<html>
<head>
<title>dmRad Update Page</title>
<meta name="author" content="Dzenan Ridjanovic" />
<link href="" 1.2/css/app.css" type="text/css" rel="stylesheet"
media="screen"/>
<style type="text/css" media="screen">
@import "css/box.css";
@import "css/cite.css";
@import "css/code.css";
@import "css/def.css";
@import "css/form.css";
@import "css/layout.css";
@import "css/layout2c.css";
@import "css/layout3c.css";
@import "css/link.css";
@import "css/list.css";
@import "css/marker.css";
@import "css/menu.css";
@import "css/msg.css";
@import "css/page.css";
@import "css/section.css";
@import "css/slide.css";
@import "css/table.css";
</style>
<script type="text/_javascript_" ><!--/*--><![CDATA[/*><!--*/
if (window.name=='') {
window.location="/dmLite- 1.2/app?wicket:interface=:27::INewBrowserWindowListener";
}
/*-->]]>*/</script>
</head>
<body>
<div>
 
/dmLite-1.2/app?wicket:interface=:27:dmRadMenuPanel:home::ILinkListener
Home
 
/dmLite-1.2/app?wicket:interface=:27:dmRadMenuPanel:context::ILinkListener
Context
<div class="box-title">
<span>Domain </span>
</div>
</div>
<div>
</div>
<div>
<form
action="" 1.2/app?wicket:interface=:27:entityEditFormPanel:entityUpdateForm::IFormSubmitListener"
method="post" id="entityEditFormPanel_entityUpdateForm"><div
style="display:none"><input type="hidden"
name="entityEditFormPanel_entityUpdateForm:hf:0"
id="entityEditFormPanel_entityUpdateForm:hf:0" /></div>
<table>
<caption>
<span>Comment</span>
</caption>
<tr>
<th>Text</th>
<td>
<span>
<textarea cols="64" rows="8"
name="propertyNameLabelValuePanelListView:0:valuePanel:propertyFeedback:propertyValue">Handling
many-to-many relationships is still complicated.</textarea>
</span>
</td>
</tr><tr>
<th>Source</th>
<td>
<span>
<input value="" type="text" size="128"
name="propertyNameLabelValuePanelListView:1:valuePanel:propertyFeedback:propertyValue"/>
</span>
</td>
</tr><tr>
<th>Creation Date</th>
<td>
<span>
<input readonly="readonly" value="2006.05.05" type="text" size="16"
name="propertyNameLabelValuePanelListView:2:valuePanel:propertyFeedback:propertyValue"/>
</span>
</td>
</tr>
<tr>
<td>
</td>
<td>
Save
<input type = "submit" value = "+"/>
   
Cancel
<input value="Φ" type="submit" name="cancel"/>
</td>
</tr>
</table>
</form>
</div>
</body>
</html>
/* table.css */
/* ===[ begin ]=== */
/*
Title: Table Design Style
Author: Dzenan Ridjanovic
Influenced By: http://www.simplebits.com/
Created: 2006-09-03
Updated: 2006-09-03
*/
table {
border-top: 1px solid #999;
border-left: 1px solid #999;
border-collapse: collapse;
margin-left: auto;
margin-right: auto;
}
caption {
font-family: arial, sans-serif;
font-size: 14px;
font-weight: bold;
color: #666699;
padding: 6px;
margin-left: auto;
margin-right: auto;
}
th, td {
padding: 4px;
border-right: 1px solid #999;
border-bottom: 1px solid #999;
}
th {
font-family: Verdana, sans-serif;
font-weight: bold;
color: #ffffff;
background: #9999dd;
}
td {
background: #ffe4b5;
}
/* ===[ end ]=== */
Eelco Hillenius wrote:
>
> What is the resulting markup of your whole page, and any css files you
> use?
>
> Eelco
>
>
> On 11/1/06, dzenanr < [EMAIL PROTECTED]> wrote:
>>
>> The same problem with Microsoft Explorer and Firefox.
>>
>> I have cleaned all in Firefox. Still the same.
>>
>>
>> Eelco Hillenius wrote:
>> >
>> > Very weird indeed. Did you try different browsers and cleaning up the
>> > browser's cache?
>> >
>> > Eelco
>> >
>> >
>> > On 11/1/06, dzenanr <[EMAIL PROTECTED]> wrote:
>> >>
>> >> CSS is simple:
>> >>
>> >> <span wicket:id = "propertyFeedback">
>> >> <textarea wicket:id = "propertyValue" rows = "8" cols
>> =
>> >> "80" >
>> >> </textarea>
>> >> </span>
>> >>
>> >> I modify the number of rows and columns using AttributeModifier -
>> those
>> >> new
>> >> numbers are in the generated HTML, but the page does not display
>> properly
>> >> the text area. I just do not know where to look for the problem, since
>> >> the
>> >> page does not display the proper size of the text area, despite the
>> new
>> >> numbers in the generated page.
>> >>
>> >>
>> >> igor.vaynberg wrote:
>> >> >
>> >> > thats hardly a wicket issue
>> >> >
>> >> > check your css
>> >> >
>> >> > -igor
>> >> >
>> >> >
>> >> > On 11/1/06, dzenanr <[EMAIL PROTECTED]> wrote:
>> >> >>
>> >> >>
>> >> >> 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
>> >> >>
>> >> >
>> >> >
>> >>
>> -------------------------------------------------------------------------
>> >> > 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#a7120506
>> >> 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#a7120742
>> 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#a7120933
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