[Seaside] textArea rows
Rajeev Lochan
lochan94 at gmail.com
Sat Nov 3 12:03:52 UTC 2007
AnyComponent>>renderCommentOn: html
html div id: 'comment'; with: [
html textAreaOn: #comment of: model].
AnyComponent>>style
^'
#comment textarea{
height: 100px;
width: 220px;}
'
Though style method is not preferable in Seaside 2.8, but it still works.
You may go through the new Seaside Tutorial to learn faster and better.
http://www.swa.hpi.uni-potsdam.de/seaside/tutorial
Hope That Helps,
Rajeev
On 11/3/07, Ernst <ernst at hisplace.net> wrote:
>
> 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
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
--
Rajeev Lochan
Co-founder, AR-CAD.com
http://www.ar-cad.com
+91 9243468076 (Bangalore)
080 65355873
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20071103/b083390f/attachment.htm
More information about the seaside
mailing list