[Seaside] Problems with anchorWithAction: image:
Philippe Marschall
philippe.marschall at gmail.com
Thu Dec 1 23:29:49 CET 2005
2005/12/1, Marcus Pedersén <marcus.pedersen at comhem.se>:
>
> Hi!
> I have got the following in my renderContentOn:
> ...... (content, image are variables)
> html textAreaWithValue: ( content) callback: [:v| content := v].
> html break.
> html imageWithForm: image.
> html space: 40.
> html submitButtonWithAction: [ self saveButtonAction ] text: 'Save'.
>
> ....and in my method saveButtonAction I write the content of the textarea to
> a file and is read in from file in initialize.
>
> This works just exelent but instead I wanted an image to press on instead of
> the "Save"-button so I changed my last row of code to:
> html anchorWithAction: [ self saveButtonAction ] image: buttonImage.
> But this does not work.
You probably want:
#submitButtonWithAction:image:
More information about the Seaside
mailing list