[Seaside] anchorWithAction:text:
Brian Brown
rbb at techgame.net
Sun Apr 6 01:32:46 CEST 2003
I would like to build an anchor with an image like:
<a href="generated seaside component link"><imageWithForm: image></a>
so I tried to do the following:
html anchorWithAction: [itemTarget mainContent: action.] text: (html
imageWithForm: (ImageImports at: rollOver)).
which produces the <img src=.... tag outside of the anchor tag with the
correct image, and the text of anchor is 'a WAHtmlRenderer'. I can see
this is from WAHtmlBuilder>>text with renders the object asString, and
the object is a WAHtmlRenderer. How can I get it render the img src
tag? Or is there a better way to go about this?
Brian
More information about the Seaside
mailing list