[Seaside] Generating <form> without extra fields

Boris Popov boris at deepcovelabs.com
Fri Jul 4 18:18:43 UTC 2008

I had run across a case where I needed to generate a form that didn't
have built-in helpers for _s and _k, so I ended up with the following,

Smalltalk.Seaside defineClass: #WABasicFormTag
	superclass: #{Seaside.WAFormTag}
	indexedType: #none
	private: false
	instanceVariableNames: ''
	classInstanceVariableNames: ''
	imports: ''
	category: ''

 "This method is intentionally empty"

  ^self brush: WABasicFormTag new.

Obviously, this could be better suited to become a feature of standard
WAFormTag, but this is a simpler extension maintenance-wise for me. Was
hoping some form of this could be considered for inclusion in base.



DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5

boris at deepcovelabs.com


This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any

Thank you.

More information about the seaside mailing list