Skip to content

Generating <form> without extra fields #86

@GoogleCodeExporter

Description

@GoogleCodeExporter
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: ''

Seaside.WABasicFormTag>>after
 "This method is intentionally empty"

Seaside.WARenderCanvas>>basicForm
 ^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.

Thanks!

-Boris

Original issue reported on code.google.com by renggli on 4 Jul 2008 at 8:09

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions