[Seaside] (newbee) Resizing items + a bit more.

Philippe Marschall philippe.marschall at gmail.com
Mon Oct 31 21:30:06 UTC 2005

> Hi!
> I am new to Seaside and has quite resently started of with a web-app.
> I have made a page with a textArea but I want the textArea to be larger.
> I have looked trough some code parts and found out that in WAHtmlRenderer
> the message (textAreaWithValue: callback:) specifies the size of the item.
> If I change that message, my textArea do change, but I just asume that then
> ALL textAreas changes in size. Right?
> So how do I just change my textArea in size?
They only get in #textAreaWithValue: callback: if they are not set before.
You can set them the same way you can set any attribute of an html element.

	html attributes
		at: 'rows' put: [ 5 ];
		at: 'cols' put: [ 40 ].
	html textArea....

> Second question: When I made my class ready the way I want it to show and
> interact, I have to log in at seaside/config and add my entry point to be
> able to see my page (a have also figured out about canBeRoot).
> How can I make this by code?
MyClass registerAsApplication: 'myclass'

> Third question: Is is possible to maka a class and make instances that
> becomes different pages? I am supposed to read in from a file what the
> header is supposed to be called aso.

There is no such thing as a page, just components. I don't see what
you want to do, but you probably are looking for #call:, perhaps in
conjunction with a WATask.

More information about the Seaside mailing list