[Seaside] textArea rows

Ernst ernst at hisplace.net
Sat Nov 3 11:52:52 UTC 2007


Hi,
 Where do I ask beginner's questions like this?
 Tank you,
 Ernst

I can adjust the width of the text area with CSS.
But how can I adjust the number of rows?

renderCommentOn: html 
	html textAreaOn: #comment of: model.
	^self

style
	" The relevant page source is (I have to represent double quote with a
          star!):
      <div id=*dialog-row-comment* class=*dialog-row*>
  	  <span class=*dialog-form-label*>
		Comment
	  </span>
	  <span class=*dialog-form-field*>
		<textarea cols=*25* name=*30* rows=*3* id=*comment*>
			Some Comment
		</textarea>
	  </span>
      </div>"

	^'#comment {
		width: 700px;
        }' , super style


More information about the seaside mailing list