[Seaside] Q: WATagBrush>>before

Lukas Renggli renggli at gmail.com
Fri Mar 23 20:44:55 UTC 2007

> I'm trying to figure out how to extend WASubmitButtonTag to render some
> <script> *before* proceeding with the <input> and my first hunch was to
> override #before, but it's not quite what I'd hoped for. I ended up

#before and #after are used to create tags within the tag. input is a
tag that is immediately closed and therefor has no contents.

> overriding #openTag instead as follows, but wanted to hear if there's a
> better way of doing it and if there's any problem with my hack as is?
> Initial testing seems to indicate that it works as expected,

I would have done exactly the same as what you propose in your code.
Should work fine, as far as I see.


Lukas Renggli

More information about the seaside mailing list