[Seaside] Achor validation

Maarten Mostert maarten.mostert at wanadoo.fr
Tue Apr 30 16:24:51 UTC 2019


Hello,

Is there something inside that allows me to trigger a smalltalk action as a validation before anything else.

I do something like this:

(html anchor)
							attributeAt: 'href' put: ’Somefile' ;
							class: 'pure-button pure-button-primary';
							attributeAt: 'download' put:  ’some download file';
							callback: [self  getInventoryFile];
							with: 
									[(html tag: 'i')
										class: 'fas fa-download';
										style: 'font-size: 14px;'.
									html space.
									html space.
									html text: 'Download counter’]

The callback is not executed now as the anchor directly responds to the download attribute.

Thanks in advance.

Maarten
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/seaside/attachments/20190430/29c62337/attachment.html>


More information about the seaside mailing list